[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rootfs


On Fri, Apr 19, 2013 at 12:32:45PM +0100, Raffaele Morelli wrote:
> Hi,
> I have a debian wheezy server up, I would like to free some space on rootfs but
> can't guess how...
> Here follows the filesystem, any hints?
> regrds
> /r
> debian:~# df -h
> File system             Dim. Usati Dispon. Uso% Montato su
> rootfs                  322M  213M     93M  70% /
> udev                     10M     0     10M   0% /dev
> tmpfs                   800M  228K    800M   1% /run
> /dev/mapper/debian-root  322M  213M     93M  70% /
> tmpfs                   5,0M     0    5,0M   0% /run/lock
> tmpfs                   368M   11M    339M   3% /tmp
> tmpfs                   1,6G     0    1,6G   0% /run/shm
> /dev/mapper/debian-home  519G   16G    477G   4% /home
> /dev/mapper/debian-tmp   368M   11M    339M   3% /tmp
> /dev/mapper/debian-usr   4,6G  1,2G    3,2G  28% /usr
> /dev/mapper/debian-var   2,8G  1,6G    1,1G  61% /var

A usage of 213M on / is not bad at all.. and you already have /var and /tmp as separate file systems.

Note: something odd here: / and /tmp is listed twice!?

To see where space is being used, try this:

   du -x -m / | sort -nr | head -25

This should list the biggest directories first and give you an idea of
where space is being used.  But since you do not have a separate
/home, I guess that this may account for some things...

Karl E. Jorgensen

Reply to: