Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 2009 11:54:51 -0700 (PDT)
From:      jaymax <jaymax36@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Inconsistency in root partition size
Message-ID:  <25334820.post@talk.nabble.com>
In-Reply-To: <20090907091442.f011d137.freebsd@edvax.de>
References:  <25314145.post@talk.nabble.com> <200909060958.11114.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <25316313.post@talk.nabble.com> <200909061238.32832.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <25324178.post@talk.nabble.com> <6201873e0909062008y4624d3d4y5eca6e21c82f4624@mail.gmail.com> <25325443.post@talk.nabble.com> <20090907091442.f011d137.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help



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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25334820.post>