Hardware :: Redhat 5 Not Freeing Space After Deleting Files?
Oct 25, 2010
I have connected an another hard disk to my computer and mounted its drives. when I delete the files from second hard disk it is not increasing the free space. only 1.3 GB is left on that drive of second hard disk.
View 5 Replies
ADVERTISEMENT
Dec 30, 2010
I have red hat linux server and it has mysql installed whenever i write on terminal command mysql -u root it shows error "ERROR 2002 (HY000): can't connect to local MYSQL server through '/var/lib/mysql/mysql.sock (111) "
And another problem is that it is showing 0 byte free space istaed of freeing the space. it may seems that both problems are dependent on each other.
View 6 Replies
View Related
Sep 29, 2009
Had this problem in a few different instances where a process was creating a set of files in directory and using those files.
Some one just happened to go to the dir and deleted those files without stopping the process. The result being that as the process is still telling the machine that the disk usage is still what it initially was (df -h shows the old disk usage) , where as a du -h or a ls -lh on that same dir show that the files are not there.
Once this happened with mysql where the user delete the database dir in /var/database_name in the mysql home dir. The result being that the dusk usage was still showing as the old one even if the files were missing. This was resolved by restarting the mysql server.
Similar thing happened with some other processes where on restarting the problem was resolved..
My question being is there a method to solve this problem by whithout restarting the concerned process.. Some magical command like free disk or recheck dis usage :-) .. may be too much to ask but can some one help me out here.
View 1 Replies
View Related
Sep 15, 2010
I used ecryptfs on a Private directory. It has about 5GB of data, but no matter what I do I can't free space in there. I have tried to delete some GBs to no avail. System monitor still shows me 5GB.
View 3 Replies
View Related
Dec 22, 2009
After running photorec I went from having ~30 gb of free space to having 0 bytes of free space. I have deleted all the results of photorec and various other large files and removed them from trash but it still has not freed up any space. Also, my firefox no longer has back/forward functionality which I'm sure would be fixed by a reinstall but seeing as I have 0 space, I can't really do that. Any thoughts?
View 7 Replies
View Related
Feb 21, 2010
Something strange is happening with RedHat Linux 5. I created one directory system_verilog twice and both the times somehow it's get deleted after next booting of machine (after modification of some of the file in this directory).
View 3 Replies
View Related
Feb 12, 2010
the method for freeing up space by deleting old kernels is made to sound very simple: go into Synaptic, select the outdated kernels, mark for complete removal, and Apply. Easy. But . . . when I mark a particular kernel for removal, Synaptic also wants to remove a lot of other things, some of which do not bear version numbers and seem generic. I am, to put it mildly, very leery of just telling it to go ahead, lest I end up losing things I should have kept and having a dead or at least crippled box.
Say, for example, that I mark for Complete Removal the line linux-image-2.6.22-15-generic; when I go to Apply that one deletion, I get a laundry list of to-die files that includes:
linux-generic
linux-image-generic
linux-restricted-modules-generic
linux-restricted-modules-2.6.24-27-generic
linux-ubuntu-modules-2.6.24-27-generic
linux-restricted-modules-2.6.22-15-generic
linux-ubuntu-modules-2.6.22-15-generic,........
View 9 Replies
View Related
Feb 10, 2011
I am using Ubuntu 10.10 and 10.04 on two different computers.I have the same problem with both .... when I delete a file on my hard drive or a removable drive I dont get the space back even after I empty the trash.The file is gone and deleted but its as if its only hidden from me seeing it and still sitting on my drive.For example when I have files on a thumb drive and I delete them and try and put new files on there it will tell me I dont have enough disk space even though all files have been deleted, the only way for me to get the disk space back is to format the drive.I have now realized I have the same problem with my hard drives, I delete files but I dont get any space back, eventually I will have a full hard drive but no files on there
View 9 Replies
View Related
May 29, 2011
There is one directory in /oracle partition in test server which i use to delete that dir after copying in the same location with diff file/dir name. Like this i did so many times.evrytime i m deleting but the /oracle partition space is reducing by 1.5 or 2gb after deleting dirs of 80gb.Directory size is 80GB and partition size 400GB.plz let me knw with steps, is it requires to do De-fragmentation?
View 1 Replies
View Related
Jul 21, 2011
Wish a script which would delete cache content and remove additional files which have been downloaded via the internet and saved voluntarily by the user and files any thing other than those used by the OS in linux.Need a command which could make the execution of the above script possible before the shut down command is passed.
View 1 Replies
View Related
Nov 27, 2010
Does deleting files using the Ubuntu One web interface delete the files stored on my computer?
View 1 Replies
View Related
Oct 14, 2009
I have a list of files in a directory which starts with - or have space.
I need to copy them back without the space or -?
linux1[sim]% ls linux1[sim]% cp ./-* ./*
View 8 Replies
View Related
Mar 28, 2011
I have once tried transferring files from Redhat 9 web files to Centos 5.5 /var/www/html/ directory. Ok... LAMP is installed and working fine. httpd / apache is running and mysqld is installed without root password. Now I wan't to transfer it again to secure the database from Centos 5 to fedora 13. But when I tried browsing the web to check the web files I can only see these:
[Code]...
View 10 Replies
View Related
Mar 26, 2010
I have a large collection of CDs that I ripped to mp3 a few years back. I would like to go sell them to a store and get some money for them (I haven't used the physical CDs in years). The deal is that when I started ripping the CDs, the program I was using would insert a 2 second delay between songs. I would like to know if there is a program/command that I can use to remove this delay between songs. Some of them have 0 delay, so songs that fade into each other sound correct. Other albums have songs that are supposed to seamlessly fade into each other, but they don't because of this delay. Is there any way to remove that delay between songs or do I have to re-rip the CD? Figuring out which albums have that problem and re-ripping the CD is going to take a very, very long time.
View 3 Replies
View Related
Apr 25, 2009
my website was recently infected with this stupid malware lotultimatebet .cn...there is a hidden iframe on almost all the 6000 pages of my site.can you please advise, if it is possible for me to remove this line from all pages by executing some command?
View 1 Replies
View Related
Nov 25, 2010
I'm writing a Perl script which performs linux commands.I have a directory with a load of files.
Code:exec_cmd('rm $(ls * | grep -v file1)');
This command will delete all except for file1. How can I modify this to delete all files except for file1 & file2?
View 2 Replies
View Related
Nov 5, 2009
I had a program run riot and it has created hundreds of spurious files in one directory. Fortunately they are all dated 4th November so are easily identified. What bash command can I use from the console to delete them all?
View 2 Replies
View Related
Aug 3, 2010
I want to get rid of all my useless files. It seems like my hard drive space keeps on shrinking also..& sometimes my PC freezes also..it hard to work on it.. so need a tool that can delete junks out ..
View 14 Replies
View Related
Dec 4, 2010
I got an external enclosure to use an old hard drive as a usb external hard drive for backing up files to.mI tried deleting all the files but there are quite a lot that cannot be deleted Nautilus saying "permission denied".
The harddrive had/has ubuntu 10.4 on it.
Do i need to delete all the files & folders from terminal? I'm running OpenSuse 11.3 in gnome. So i've got Gnome Terminal.
View 8 Replies
View Related
Feb 2, 2010
I've got a directory of geographic data with ~2,000 archives. Each archive (e.g. foo.zip) has two files, the second of which I'd like to remove:
Now, I can remove the _num.tif file with the command:
How do I do this with ALL the files in the directory? If I try the -r (recursive) option, that fails with -d.
View 4 Replies
View Related
Feb 27, 2010
It turns out I caught the Linux bug. I'm now completely obsessed with it. Most of the time if I can't get something to work I do a quick web search, and I find the solution to my problem in the first link or three. This is the exception. I wanted to install XP or 2000 using Virtualbox OSE just in case I needed to look up something on Windows or print something off (can't find any drivers for my Lexmark printer). I tried XP first and it gave me an error. Then I tried 2000. At this point I went to delete the program and try again. The first thing I tried was sudo apt-get remove virtualbox. Then when I re-installed it, I still had my settings and partitions on there. I then went to the add/remove programs. Same thing after the third install. I then went to the Synaptic Package Manager and clicked completely delete files (or however it was worded). After the install it still did the same thing as the previous times. When I try and load Virtualbox it says "FATAL: No bootable medium found! System halted.". Also sometimes my pointer will get locked inside Windows. How do I get out of that? The only thing I was able to find was hit CTRL + ALT + Back and it exits both Windows and Linux.
View 8 Replies
View Related
Mar 17, 2010
I am connecting to a Windows 2003 server share from my Ubuntu 9.10 machine. This is not a problem & deleting normal files is fine. What I am actually trying to do is remove a virus from this server. If I have AV software running on the server it is constantly picking up the virus & eventually this kills the server. The AV software is unable to remove the virus on the server, but is able to on desktop machines.Anyway, I thought use Linux to do the job & get the AV software back on the server. No go. I get a permission denied error when trying to remove the files with rm -f "filename"Is there anyway around this? I am reluctant to start the server with the Ubuntu live CD as it is in use as a file server. If I could remove the files manually this would be good.
View 9 Replies
View Related
Jul 8, 2010
When I delete files from my usb flash drive on my Karmic laptop (press del key), the properties of the drive remain unchanged (available space/used space). It looks like the files/folders have been deleted, but when I go to my windows machines, the files and folders are now in a folder marked "Trash".Am I missing a step when attempting to delete the information when connected to my ubuntu laptop?
View 3 Replies
View Related
Apr 18, 2011
I'm using Ubuntu 10.04. I have set up a pc to act as remote storage. I connect my desktop pc to it. I have done the following:
sudo apt-get install sshfs
sudo adduser fuse
sudo mkdir /mnt/remotedir
sudo chown username /mnt/remotedir
sshfs username@remote_computer_ip:/path_on_remote_comp /mnt/remotedir
(obviously replacing the username and paths with my information)
I can connect to the remote computer however I cannot delete remote files to the recycle bin. What do I need to do in order to delete files to the recycle bin?
View 7 Replies
View Related
Sep 8, 2010
I'm using the command below to sync two directories. Problem is insted of deleting the files on the target directory it simply appends a ~ character at the end of the file name. Not sure why this is happening?I'd like to have all deletes on the source replicated on target.
View 2 Replies
View Related
Sep 8, 2009
on my site now I'm using cache and need me cron script that will delete files older than 1 hour I have feature in my kloxo control panel just need me the command .
View 2 Replies
View Related
Sep 17, 2009
Is there anyway to delete certain paragraphs within a text file and then insert the paragraph into another text file.I just cannot figure out how to remove the specific lines from the file and then insert them into another file at a certain line within that new file. Thanks again
View 10 Replies
View Related
Feb 9, 2010
I know that rm -i will prompt wether you want to delete each file.But rm -i -r will prompt for each file in each subdirectory recursively. How to make it prompt just for the directory itself, and then delete its contents without asking?How to delete all the files in a directory without deleting . and ..?How to recursively delete all tilde files in a directory?How to GUI file managers delete files to Trash? Where is this "Trash" located? Can you delete to trash in the command line?
View 14 Replies
View Related
Aug 13, 2010
I have a strange issue, when I run my build on my modules. GNU make keeps deleting the source *.c files from all of my modules. It says that they are intermediate files, and deletes them. I have the source files declared as such in the Makefile.
C_FILES = file.c
Anyway I can prevent this deletion?
View 9 Replies
View Related
Jun 11, 2011
I have 2 folders that are synced using rsync. Right now if I delete a file in the source folder, the destination folder still retains that file. Is there a way to get rsync to delete files if they were deleting at the source?I could not find anything in the man page.not sure if I'm missing something or if that feature just doesn't exist.
View 4 Replies
View Related