Re: Monitor file system free space
Osamu Aoki put forth on 12/22/2009 8:28 AM:
> $ df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda3 56G 7.4G 45G 15% /
> tmpfs 1.5G 12K 1.5G 1% /lib/init/rw
> udev 10M 940K 9.1M 10% /dev
> tmpfs 1.5G 0 1.5G 0% /dev/shm
> /dev/sda9 56G 35G 18G 66% /home/osamu/Desktop/data
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 33G 2.6G 30G 9% /
tmpfs 189M 0 189M 0% /lib/init/rw
udev 10M 564K 9.5M 6% /dev
tmpfs 189M 0 189M 0% /dev/shm
/dev/sda1 92M 7.0M 80M 9% /boot
/dev/sda6 92G 19G 72G 21% /home
That's on a production Postfix firewall/gateway. The mail spool is located on /
and as you can see /home is mounted on a separate 100GB partition. I don't
suspect I'll ever be close to filling up / on this machine, given the 30GB of
free space, 72GB free in /home, and 350GB of unpartitioned space on the 500GB disk.
As Osamu said, always keep user file areas on a partition separate from your
mail spool and log partitions, which are normally located in /
--
Stan
Reply to: