Re: rootfs
Am Freitag, 19. April 2013 schrieb Karl E. Jorgensen:
> Hi
>
> 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
With newer sort also the following works:
merkaba:~> du -x -h / | sort -rh | head -25
14G /
11G /usr
5,7G /usr/share
3,8G /usr/lib
2,8G /var
1,6G /usr/share/games
1,1G /var/log
946M /var/tmp
864M /var/log/journal/1354039e4d4bb8de4f97ac8400000004
864M /var/log/journal
797M /usr/lib/x86_64-linux-gnu
792M /usr/share/icons
687M /usr/bin
684M /usr/share/doc
508M /var/lib
505M /var/tmp/kdecache-martin
499M /usr/lib/debug
468M /usr/share/locale
456M /usr/lib/debug/.build-id
455M /usr/share/games/rocksndiamonds
390M /usr/share/games/rocksndiamonds/levels
385M /lib
367M /usr/share/kde4
352M /usr/share/kde4/apps
340M /lib/modules
Ah, and seems I will take a look at whats systemd doing in /var/log/journal
and about whats going on in /var/tmp.
:)
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
Reply to:
- References:
- rootfs
- From: Raffaele Morelli <raffaele.morelli@gmail.com>
- Re: rootfs
- From: "Karl E. Jorgensen" <karl.jorgensen@nice.com>