Hi, Thanks for all the response. Here is couple of outputs from ls, du and df. I used mv to move the files out of the directory. Original Situation---(Previous thread) I was having 1.4 GB free space in /opt. This is the ouput of df -h /dev/cciss/c0d0p3 9.8G 7.9G 1.4G 85% /opt I moved around 7.5 GB of data from /opt I used mv command for that. But the df -h output is not giving the correct available space. it gives /dev/cciss/c0d0p3 9.8G 5.7G 3.7G 61% /opt Present Situation.--- Since this is a backup directory cron job copied 2 GB file to /opt. The df -h /opt output shows Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p3 9.8G 7.7G 1.7G 82% /opt This output is wrong but ls and du gives the correct space usage. These are the files under /opt. #ls -lah /opt total 1.1G ---------- drwxr-xr-x 2 root root 4.0k Aug 5 00:10 . drwxr-xr-x 4 root root 4.0k Feb 10 22:05 .. drwxr-xr-x 2 root root 4.0k Aug 5 00:10 cvs-repository-backup -rw-r--r-- 1 root root 1.0G Feb 10 22:13 gb.tgz drwx------ 2 root root 16k Sep 21 2003 lost+found #ls -lh /opt/cvs-repository-backup/ total 2.1G ---------- drwxr-xr-x 2 root root 4.0k Aug 5 00:10 . drwxr-xr-x 4 root root 4.0k Feb 10 22:05 .. -rw-r--r-- 1 root root 2.0G Aug 5 00:32 repository_050805.tgz -rw-r--r-- 1 root root 1.3M Mar 1 01:30 Serversmb_Conf_Backup_010305.tgz -rw-r--r-- 1 root root 1.3M Apr 1 01:30 Serversmb_Conf_Backup_010405.tgz -rw-r--r-- 1 root root 1.3M May 1 01:30 Serversmb_Conf_Backup_010505.tgz -rw-r--r-- 1 root root 1.3M Jun 1 01:30 Serversmb_Conf_Backup_010605.tgz -rw-r--r-- 1 root root 1.3M Jul 1 01:30 Serversmb_Conf_Backup_010705.tgz -rw-r--r-- 1 root root 2.5M Aug 1 01:30 Serversmb_Conf_Backup_010805.tgz -rw-r--r-- 1 root root 1.3M Mar 15 01:30 Serversmb_Conf_Backup_150305.tgz -rw-r--r-- 1 root root 1.3M Apr 15 01:30 Serversmb_Conf_Backup_150405.tgz -rw-r--r-- 1 root root 1.3M May 15 01:30 Serversmb_Conf_Backup_150505.tgz -rw-r--r-- 1 root root 1.3M Jun 15 01:30 Serversmb_Conf_Backup_150605.tgz -rw-r--r-- 1 root root 2.5M Jul 15 01:30 Serversmb_Conf_Backup_150705.tgz -rw-r--r-- 1 root root 1.3M Jun 24 20:58 Serversmb_Conf_Backup_240605.tgz So ls shows 3.2 GB which is correct. Now du -sh /opt output 3.1G /opt This is also correct. Since du output shows used space as 3.1 GB i tried to copy again a file of size 2GB to /opt.. but failed with no space left on device. How can i solve this problem. Regards Anish --- "Smith, Albert" <Albert.Smith@xxxxxxxxxxxxxxxxx> wrote: > > > > -----Original Message----- > > From: redhat-list-bounces@xxxxxxxxxx > > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf > Of Shaw, Marco > > Sent: Thursday, August 04, 2005 12:30 PM > > To: General Red Hat Linux discussion list > > Subject: RE: df showing invalid output > > > > > /dev/cciss/c0d0p3 9.8G 5.7G 3.7G 61% /opt > > > > > > The used space should be around 1.4.. why is > this descrepancy... > > > > You may have files that are deleted, but still > have open file > > Handles (or something like that). > > > > Look at 'lsof' to help you find the appropriate > files. I > > can't remember any of the arguments to use right > now... > > > > Marco > > > > -- > > redhat-list mailing list > > unsubscribe > mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > > > https://www.redhat.com/mailman/listinfo/redhat-list > > > > > > If a move was issued then an error would have > occurred if the file was > attached to a process that was running and it would > not have moved the > file. > > > > -- > redhat-list mailing list > unsubscribe > mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list