Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bug?Be hackered? Or I am foolish? Help me please

Status
Not open for further replies.

781120

MIS
Dec 8, 2001
10
CN
There is a very strange question with my RedHat 7.2 linux--NO disk space with /usr
[root@server01 etc]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 3.9G 114M 3.6G 3% /
/dev/sda6 1011M 633M 327M 66% /data01
/dev/sda7 1011M 508M 452M 53% /home
none 251M 0 250M 0% /dev/shm
/dev/sda3 3.0G 3.0G 0 100% /usr
/dev/sda5 2.4G 356M 1.9G 16% /var
/dev/sda2 4.9G 253M 4.4G 6% /data02
[root@server01 etc]# cp hosts.allow /usr
cp: writing `/usr/hosts.allow': No space left on device
[root@server01 etc]#
But when I run the following command:
[root@server01 etc]# du -sh /usr
1.2G /usr
[root@server01 etc]#

Why? And how can I resolve it?
Tks a lot!!!
 
Pardon me, but this doesn't sound very strange. It looks as though you've just run out of space in /usr. What's the problem? Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
Hi,
He wants to know why DF says he has used all 3.0 GIG wheras DU says he has only used 1.2 GIG. Where is the other 1.8 GIG?

Hidden files? Files you don't have permission to see?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top