Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2010 07:50:43 -0500
From:      Thomas Burgess <wonslung@gmail.com>
To:        =?UTF-8?Q?=C5=A0imun_Mikecin?= <numisemis@yahoo.com>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   Re: A simple (?) question about fs...
Message-ID:  <deb820501001130450j58f944e8p26894da432b0e78e@mail.gmail.com>
In-Reply-To: <2688.81411.qm@web112406.mail.gq1.yahoo.com>
References:  <2688.81411.qm@web112406.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
did you build a custom kernel?
if so it's likely /boot/kernel.old

2010/1/13 =C5=A0imun Mikecin <numisemis@yahoo.com>

> 13. sij. 2010., u 11:18, Giuseppe Maniscalco <peppe.maniscalco@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@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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>



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