Inconsistency in root partition size

jaymax jaymax36 at gmail.com
Mon Sep 7 18:54:52 UTC 2009




Polytropon wrote:
> 
> 
> You can of course read "man hier" to obtain information about
> the file system hierarchy. In settings where partitions are
> used to separate functional parts of the hierarchy, there's
> often not much stuff that goes into /, because / is primarily
> reserved for the basic system and the mountpoints; things
> like /tmp, /var, /usr and /home go to different partitions.
> 
> Check the content of /boot. Maybe you have more than one
> kernel image and module files in there. You can as well use
> 
> 	# du -sch /
> 
> with only / mounted to get a first impression which subtrees
> do occupy how much disk space.
> 



> mach_1# df -k
> Filesystem  1K-blocks      Used    Avail Capacity  Mounted on
> /dev/ad0s1a    507630    407384    59636    87%    /
> devfs               1         1        0   100%    /dev
> /dev/ad0s1e    505646     14212   450984     3%    /tmp
> /dev/ad0s1f  36205990  25759138  7550374    77%    /usr
> /dev/ad1s1e  74696394   9836586 58884098    14%    /disk02
> /dev/ad4s1d 376405390 252115006 94177954    73%    /disk03
> devfs               1         1        0   100%    /usr/var/named/dev
> mach_1# cd /
> mach_1# du -xhc
> 2.0K    ./.snap
> 2.0K    ./disk02
> 2.0K    ./disk03
> 2.0K    ./tmp
> 2.0K    ./usr
> 512B    ./dev
> 2.0K    ./cdrom1
> 2.1M    ./stand
> 3.1M    ./etc
> 2.0K    ./cdrom
> 902K    ./bin
>  21M    ./boot
> 3.2M    ./lib
> 270K    ./libexec
> 2.0K    ./mnt
> 2.0K    ./proc
> 2.0K    ./dist
> 7.8M    ./root
> 3.3M    ./sbin
> 2.0K    ./.mozilla
> 2.0K    ./net
> 2.0K    ./WARD2V1
> 2.0K    ./ORIN
> 2.0K    ./WARA
> 2.0K    ./ORNUSR
> 2.0K    ./WARD3V1
> 2.0K    ./ORND02
> 2.0K    ./WARUSR
> 1.2M    ./package
> 2.0K    ./service
> 4.0K    ./lost+found
>  43M    .
>  43M    total
> 

Do these look normal or average, compare total with df - k output of
/dev/ad0s1a
I don't quite know what next to do


-- 
View this message in context: http://www.nabble.com/Inconsistency-in-root-partition-size-tp25314145p25334820.html
Sent from the freebsd-questions mailing list archive at Nabble.com.



More information about the freebsd-questions mailing list