I seem to be having a false "directory full" situation.
# df -ah
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 496M 155M 301M 34% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad0s1e 496M 62K 456M 0% /tmp
/dev/ad0s1f 67G 67G -5.4G 109% /usr
/dev/ad0s1d 1.9G 85M 1.7G 5% /var
which show /usr over full. Yet:
# du -sh /usr
1.2G /usr
# du -sh /
1.5G /
What do I need to do here? Is there a way to rebuild the /usr directory index perhaps?
# df -ah
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 496M 155M 301M 34% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad0s1e 496M 62K 456M 0% /tmp
/dev/ad0s1f 67G 67G -5.4G 109% /usr
/dev/ad0s1d 1.9G 85M 1.7G 5% /var
which show /usr over full. Yet:
# du -sh /usr
1.2G /usr
# du -sh /
1.5G /
What do I need to do here? Is there a way to rebuild the /usr directory index perhaps?
-
Re: confused directories
Thu, March 23, 2006 - 11:40 AMreboot fixed it. Will fsck only work on reboot or in single user mode? Running it from root before reboot didn't seem to work. -
-
Re: confused directories
Thu, March 23, 2006 - 12:59 PMfsck will only work on an unmounted partition. on reboot you're system is smart enought to make a ramdisk and use that while your boot partition is being checked/repaired. -
-
Re: confused directories
Thu, March 23, 2006 - 1:30 PMah, that makes sense. Thanks.
-
-