[KLUG Members] Need more space for /var

Adam Tauno Williams members@kalamazoolinux.org
17 May 2003 16:38:08 -0400


> Mail goes to /var/spool/mail/username. /var is in a very small partition;
> rotated log files accumulated. Last week while getting pipeline slammed with
> junk mail, I got an insufficient system storage message. Since that time I
> have been getting intermittent complaints from users saying mail is not
> coming or going as usual (Duh). I moved all my rotated log files into
> another partition to buy enough time to figure out what I am doing.

Down the box.
Add disk.
Up the box. (?)
fdisk the new disk
mkfs the new partition
stop SMTP service
mount the new fs on /mnt
move the data from /var/spool/mail to /mnt
umount from /mnt
mount partition to /var/spool/mail (remember to edit fstab)
start SMTP serve