Server :: RHEL Auto Delete Files With Full Hard Drive
Jul 13, 2010
I experienced a full hard drive yesterday due to a massive error_log. We took care of the errors, but later found out we were missing files, including a MySQL database table. Having a shopping cart and ecommerce stuff on the site, we found that some of those files were missing, too.Does RHEL 5 have some sort of feature for automatically deleting files when the partition is full? If it does, I want to turn it off.
Found what takes space but not sure what to delete here is the output of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.2G 157M 8.6G 2% / /dev/sda5 9.4G 9.4G 20K 100% /usr /dev/sda6 213G 213G 20K 100% /var none 1.0G 12K 1.0G 1% /tmp tmpfs 2.0G 0 2.0G 0% /usr/local/psa/handlers/before-local How to identify what to delete to clear up space?
i have harddrive on which raid 5 is configure and no file system is configured.so i want to access the data on auto raid component harddisk.could any one telme how to access auto raid component hard drive.when im connectingto my laptop its not opening.when i check in disk analyzer its showing auto raid component harddrive.please helpme to access data inside the raid drive.
I'm connected remotely with Putty to a linux server and I need to get the files from a directory on the server onto my hard drive on my laptop. I don't know what the secure shell command is to download it or what exactly I need to do so I can get these .root files from the server copied onto my local hard drive.
I have read in some book that syslogd keeps lots of logs that with the time consume a considerably part of your hard drive. I know this is very nice feature and all that, but sometimes privacy in this competitive world is a matter fact. Here goes the questions: Is it possible to 'auto delete' the syslogd files automatically? May the destruction of the logs make some hangs on my system? May some program need the daemon to function properly?
Mounted second hard disk still report 0 bytes even when files are already deleted in rhel5 . I already checked the lost+found and trash . It only happen that disk space on deleted files cannot be recovered after the disk reach full capacity , but if it does not reach yet its full capacity , deleting files will recover the disk space . The format of the disk I have mounted is ext3 also have tried ntfs using fuse but the same problem , once allowed to reach 0 bytes I can no longer recover space with deleting files and had to reformat and restore the backup
If this has been covered before I couldn't find it.
What I'm "Not" Asking... I'm not asking about installing the CD image to a USB hard drive to boot a live install version. I've done that to see is my computer will boot from the USB and it does.
What I want to do is this:
An actual hard disk install of full featured Linux to a portable USB Hard Drive. I want to be able to plug in the USB HHD and go Linux. (Why you might ask? Fair enough. The laptop is my wife's computer and she says absolutely no to Linux.
I have added no data to my hard drive in the last few days. I saw a notification saying I had only 1.8Gb left on my drive. Shortly after I dismissed it and ran: Code: sudo apt-get clean like the notification suggested. Then, another poped up. Now it said I have 0 bytes left.
So, I opened the disk usage analizer and the data seemed normal, and not my full drive size. It still was saying I have no space so I checked the properties widow for / . It said / contained 128TB of data and the file counter showed no signs of stopping after a few minutes. Obviously my drive is not 128TB in fact it's only 500GB. Also the disk manager program (system volume information?) Said it has 28 bad sectors.
create a partition seperate from my home directory out of it. i have a 500 gig hard drive and i wish to create a 70 gig partition on it on install i used entire disk is there any way to make a partition after this for i do not want to reinstall.
if there was a way, to add a folder to a hard disk which was full of symlinks to a CD drive. This would primarily be a way to store offline media and a way to access it. I would still be able to browse the folder structure and see the files (but possibly not the sizes). I imagine something like this:
Therefore I can see what files I have available, and I know which media to insert (in this case cd1) and I would then be able to view the files? Or if anyone has a better idea I'm open to it. Just to mention I don't have a GUI on this server, it is completely headless so any solution needs to be console based
My friend and I were discussing partitioning and we disagreed on repartitioning when the drive was full. How full is too full before partitioning will mess up your file system? I've partitioned before but it was only after the OS was installed, so only about %5 of the drive is being used. I read that 90% or more is too much. My friend claims it doesn't matter, and you can repartition even if the drive is 95%+ full.
Someone explain this to me. I often thought in the back of my head, how do I check if my drive is bad in Linux? I always excused it thinking well I guess besides gaming that's another reason to keep a windows partition around. I boot up yesterday and Gnome was acting weird. Then, it happened. "We have detected bad sectors in your hard drive." I thought, no, you're stupid, this hard drive is less than a year old (however it was a replacement for another one that died). So I reboot.
Boot back up - Different error message. But instead of getting it a few minutes after log in, I got it right away. "We have detected potential hard drive failure." Okay, Linux. Want to play this game? Booted to Vista, downloaded Seatools to test my Seagate drive. It failed... Swapped SATA cables... it failed... So I ask - how does Linux have this auto detect capability like that? As much as I love Ubuntu, I was like there's no way it could just magically tell like that without running the Seagate program. But alas, Ubuntu was dead on target.
I have a pc with windows on it, about 90% of the hard drive is full. I want to install dual boot ubuntu with ubuntu using about 70% of the hard drive, do I need to manually create space, or can I just set during the install will ubuntu just over-write that much. I don't care about the files I have under windows.
Subject: grub no auto update new hard drive.doc Date: 07/26/2010 03:48:45 PM grub no auto update new hard drive.When installed 11.2 on Western Digital VelociRaptor 150 GB hard drive and now installed 300 GB VelociRaptor drive. Your grub does not update correctly to identity the op systems after the new drive is imaged; youre kidding right? I request that you provide the instruction for correcting this; you must have and auto update for grub.
Just installed Slackware 13 this morning. It's been a long time since I last tried Linux, but Slack works (a lot easier than Slack 8 did back when I last used it!) quite well. I'm using the XFCE desktop and it's smooth as silk except for one odd problem-I cannot get any of my USB drives to mount. I just plugged in my Lexar 4GB USB flash drive and received an error message. Here's from /var/log/messages from when I initally plugged in the drive (I have a 500GB WD MyBook USB external drive that is always plugged in):
Any ideas or suggestions of what to look at? I'm not familiar with HAL in Linux although I've seen plenty of discussion about it and have an idea of what it's supposed to (or break! ).
I have a file on a separate hard drive and it wont allow me to delete it.how I navigate to it in the terminal so I can remove directory there? I plug my usb lead in and go /hoome/boo/Iomega_HDD (name of the hard drive)but I cant get there,it doesnt show up as a directory.
I didn't know how to Make a cd image out of the Ubuntu iso so I made a seperate partition in my drive.Now I'm wondering how to delete the windows partition without formatting the whole hard drive.how to create a bootable cd image
Is there a way to auto run a script when a usb hard drive is plugged in without creating a udev rule or something similar. The idea is that no matter which computer I plug the drive into it runs the script automatically (I want to EXPORT some directories when the drive is plugged in)?
Dropbox will not start properly because my Lucid installation is on a SS HD (/dev/sdc) but my data, including my Dropbox folder is on an internal NTFS-formatted HD (/dev/sda), and I also have another internal HD for backups (/dev/sdb).
For some reason I can get the backups HD to auto-mount on startup, but not the data HD. My fstab file looks like this:
Whenever I'm dealing with large numbers of computers that need to have identical windows installations put on them, I love using Symantec/Norton Ghost to image the NTFS partition (just making the .gho file the size of the disk I've used, instead of the 160/320GB full volume size), and then uploading it automatically to a windows share.I'd love to be able replicate this exact process with Ubuntu. I have one computer that's ready to go, and a few dozen more that I'd like to quickly get that same image on.
I've heard that there's a command called dd that can make disk images, but I'd really like some sort of boot disk that can allow me to make an image, save it, then run the boot disk on another computer to allow me to reconnect to the server and dump that image on that computer. Ghost 4 Linux doesn't have a network/server component, I think.even if such solutions cost money, I'd love to know if they exist or not.
I opened this thread in Ubuntu forums with no luck at all. Hope someone can give me a clue of what happens.URl...Recently, gnome has been warning me about low disk space, always less than 1.5GiGs. The problem is, baobab (disk usage analyzer) tells me that there are something like 50GiG free. I am sure that I have the free space ( I can write big files ) but the system keeps reporting low disk space.
I had been copying "vmkd" files all of which are very large (11gig) each and later deleted them and it appears some I had deleted using "root" I reached a point when it couldn't do it and it said it couldn't because trash bin was full. Sure enough I found my root partition (20gigs) was full. I went root and emptied its trash bin which freed up about (4gigs) of space. I just set up a new system (11.2) on another drive and have setup it up with exactly the same programs as the system I'm having a problem with and the new systems root partition only has (6gigs) in the root partition. Question; how do I clean out my problem root partition?
I am using FC11 and have an external USB drive attached which was originally formatted and used with OS X. I'm pretty sure it's an HFS+ filesystem, but fdisk-l simply reports "unknown". I moved a ton of files to it from an older OS X drive, including a bunch of backups that were done with Time Machine in OS X.
Now I've moved them all back to where I want them (onto an EXT2 formatted drive) and I'm trying to clear those Time Machine files off the HFS+. The drive will ultimately be used with a Mac, so I don't want to wipe the whole disk (aside from the fact I have a ton of other stuff on there that I don't want to move).
The problem is that I cannot get FC11 to delete the Time Machine files. When I try to delete the top level folder ('rm -rf topfolder'), the command looks like it's running (and goes load crazy on the CPU), but I left it running all night, then cancelled it this morning, no files were deleted. It just sits there. When I try to delete folders a little lower in the tree using 'rm -rf myfolder' I get an error telling me the folder is not empty. When I go down to the lowest level folder, I can only find DS_Store and .localized files in it. The properties are rather odd... output of ls -als is this:
When I try to delete files form my flash drive, the file picture goes away, but the actual data does not. Lets say I put a 900mb file on my 4gb flash drive, then I delete it. It will still ll me that only 3100MB are left in free space. If I try to add more than that it tells me the drive is full. I keep reformatting and reformatting into all different types on file systems but nothing works.
I have a Dell Netbook which came with Ubuntu Linux 8.3 (I think) in 2008. The drive is a SSD 3gb unit and the drive was nearly full when I received it. There was only 758mb free on the drive and I wondered why they would sell a computer with so little free space on it. When the updates was installed the drive was full. Is there a way to retrieve some space on the drive without deleting programs which came with the computer? I have tried ordering a new drive online without getting one, including Dell itself. In Windows you can delete old files which will free up some space and is wondering if the same thing is possible under Linux?
I have been trying to install centos on my hp servers and when i get to partitions my hard drives the OS does not detect any harddrives. I have 4 scsi drives and i believe a intergrated smart array controller.