On Du, 11 mai 14, 15:33:38, Ron Leach wrote:
> List,
>
> We seem to have filled the available space on the '/' partition of our NFS
> server. Because most of the server's variable data is on separate
> partitions, I'm not sure what I could remove from '/' partition. df shows
> the problem, and the space available on the other partitions:
>
> server4:/# df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/md1 2919360 2919324 36 100% /
If Im reading this figures correctly ('df -h' is much nicer) your / has
somewhere near 2,8 GiB and is full. Considering you have separate /usr
(which has only some 1,2 GiB) and /var this sounds fishy.
> tmpfs 512856 0 512856 0% /lib/init/rw
> udev 10240 808 9432 8% /dev
> tmpfs 512856 0 512856 0% /dev/shm
> /dev/md6 1892786624 1467249964 425536660 78% /nfs
> /dev/sda1 320310 15665 287556 6% /boot
> /dev/sdb1 320310 15665 287556 6% /boot2
> /dev/md5 39043328 2431240 36612088 7% /home
> /dev/md4 971648 4324 967324 1% /tmp
> /dev/md2 9755264 1241512 8513752 13% /usr
> /dev/md3 4872448 790660 4081788 17% /var
> server4:/#
>
> This is a live server, relied on by several desktop systems and, to a lesser
> extent, some other servers. The partition exported to the rest of the
> network is regularly backed up.
Good.
> Am I correct in thinking that I cannot, while running, shrink or grow any of
> the partitions? Presumably I could do that if the server was offline,
> perhaps by running a partition editor from a CD or USB stick, maybe?
2,9 GiB for / with separate /usr and /var should be plenty. I'd suggest
looking into what is using all that space.
> There is a GUI on this system but, aside from that, few if any
> 'applications'; we do run samba, but not apache, we run exim, and I notice
> that open office is installed (which will be long out of date, by now,
> anyway, and I'll remove).
These "should" reside in /usr, so in theory wouldn't help much with your
immediate problem.
> Are there any large-ish services that are
> believed to not always be necessary on a server, and whose removal might
> release a reasonable amount of space on '/'?
See if unused Linux images are installed
dpkg -l linux-*
Removing one could already provide some breathing space, but I would
keep at least two around (the one in use, obviously, and next older
one).
You might want to check the output of
du / -hx --max-depth=1
To see where the 2,9 GiB are, but my bets are on /opt ;)
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt
Attachment:
signature.asc
Description: Digital signature