Difference between revisions of "Increasing mail server /home partition size"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>Email_server_configuration|Email server configuration</yambe:breadcrumb> =Increasing mail server /home partition size= To increase mail server /home partiti...") |
m |
||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Email server configuration]] > [[Increasing mail server /home partition size]] | |||
To increase mail server /home partition size use following steps: | To increase mail server /home partition size use following steps: | ||
Line 21: | Line 20: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Email server configuration]] > [[Increasing mail server /home partition size]] |
Latest revision as of 14:20, 13 March 2022
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