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:
<yambe:breadcrumb>Email_server_configuration|Email server configuration</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Email server configuration]] > [[Increasing mail server /home partition size]]
=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:




<yambe:breadcrumb>Email_server_configuration|Email server configuration</yambe:breadcrumb>
[[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:

  1. Create and attach a new larger drive
  2. mount <new-device> /home2
  3. rsync -aH --delete /home/ /home2/
  4. service postfix stop
  5. service dovecot stop
  6. rsync -aH --delete /home/ /home2/
  7. umount /home
  8. umount /home2
  9. Edit /etc/fstab by running blkid and copying UUID for /home entry
  10. umount /home
  11. Test using mount -a
  12. df -h #and verify
  13. service dovecot start
  14. service postfix start
  15. 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