Increasing mail server /home partition size
From Notes_Wiki
Home > CentOS > CentOS 6.x > Email server configuration > Increasing mail server /home partition size
To increase mail server /home partition size use following steps:
- Create and attach a new larger drive
- mount <new-device> /home2
- rsync -aH --delete /home/ /home2/
- service postfix stop
- service dovecot stop
- rsync -aH --delete /home/ /home2/
- umount /home
- umount /home2
- Edit /etc/fstab by running blkid and copying UUID for /home entry
- umount /home
- Test using mount -a
- df -h #and verify
- service dovecot start
- service postfix start
- Optionally disconnect and delete old /home partition. Format drive if it is going to untrusted sources as private emails are present.
Home > CentOS > CentOS 6.x > Email server configuration > Increasing mail server /home partition size