OC freeBSD 6.2Дано:
# df -h /var/
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1d 1.2G 798M 323M 71% /var
# du -hs /var/
65M /var/
Физически на винчестере занято 798 метров. А du говорит что занято всего 65. Как найти пропавшие мегабайты?
#fsck
** /dev/ad0s1d (NO WRITE)
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=47330 OWNER=root MODE=100600
SIZE=2048 MTIME=Feb 6 11:55 2008
CLEAR? no
UNREF FILE I=47337 OWNER=mysql MODE=100600
SIZE=0 MTIME=Feb 6 12:08 2008
CLEAR? no
UNREF FILE I=47338 OWNER=mysql MODE=100600
SIZE=0 MTIME=Feb 6 12:08 2008
CLEAR? no
UNREF FILE I=47340 OWNER=mysql MODE=100600
SIZE=0 MTIME=Feb 6 12:08 2008
CLEAR? no
UNREF FILE I=47343 OWNER=mysql MODE=100600
SIZE=0 MTIME=Feb 6 12:08 2008
CLEAR? no
UNREF FILE I=47347 OWNER=mysql MODE=100600
SIZE=0 MTIME=Feb 6 12:08 2008
CLEAR? no
UNREF FILE I=94245 OWNER=root MODE=100644
SIZE=768081069 MTIME=Feb 8 10:50 2008
CLEAR? no
** Phase 5 - Check Cyl groups
SUMMARY BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no
1641 files, 408689 used, 215160 free (1600 frags, 26695 blocks, 0.3% fragmentation)