A simple (?) question about fs...

Thomas Burgess wonslung at gmail.com
Wed Jan 13 12:50:51 UTC 2010


did you build a custom kernel?
if so it's likely /boot/kernel.old

2010/1/13 Šimun Mikecin <numisemis at yahoo.com>

> 13. sij. 2010., u 11:18, Giuseppe Maniscalco <peppe.maniscalco at gmail.com>
> napisao:
>
> Ciao,
> I've a question that leave me a little bit confused...
> On a FreeBSD 6.1 server, I can't find a way to free up space on the /
> file system...
>
> root at mysql:/# df -h
> Filesystem            Size    Used   Avail Capacity  Mounted on
> /dev/mirror/gm0s1a    496M    400M     57M    88%    /
> devfs                 1.0K    1.0K      0B   100%    /dev
> /dev/mirror/gm0s1e    989M    218K    910M     0%    /tmp
> /dev/mirror/gm0s1f     60G     30G     25G    54%    /usr
> /dev/mirror/gm0s1d    9.7G    181M    8.7G     2%    /var
> devfs                 1.0K    1.0K      0B   100%    /usr/jail/sol/dev
> /usr/ports             60G     30G     25G    54%
>  /usr/jail/sol/usr/ports
>
> Well, where are this 400M on /???
>
> root at mysql:/# du -hd 1
> 2.0K    ./.snap
> 2.0K    ./dev
> 218K    ./tmp
> 31G    ./usr
> 174M    ./var
> 1.6M    ./etc
> 2.0K    ./cdrom
> 2.0K    ./dist
> 922K    ./bin
> 33M    ./boot
> 3.2M    ./lib
> 274K    ./libexec
> 2.0K    ./mnt
> 2.0K    ./proc
> 6.2M    ./rescue
> 54K    ./root
> 3.9M    ./sbin
> 31G    .
>
> Maybe temporary file? or system cache? how to clean it?
> Excuse me if this is a real newbie question, but I'm really confused.. :)
>
>
> Go to single user mode, unmount all fillesystems except / and try 'du'
> again. There is a chance that some directory in / filesystem has data but
> you don't see it because it is used as a mounpoint for some other
> filesystem.
> If that is not the case, try fsck-ing it.
>
>
>
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>


More information about the freebsd-fs mailing list