Moving the Cyrus Mailstore
Wickham, Larry
Larry.Wickham at enmu.edu
Fri Oct 20 13:30:45 EDT 2006
Hi,
Our server is suffering from impending doom, while servicing 11,500 users.
Our mail store is in the default location under /var/spool/imap. The
partition that / (/var is under here in our setup) is mounted on is 25 GB
and I would like to move it to the partition where /home is mounted which
has 1+ TB available. We have considered several solutions. The chosen
solution would have minimal downtime and minimal chance of failure.
1) Repartitioning:
Down the server and boot from a rescue platform. Backup and Resize /home.
Create a new partition in the free space formerly occupied by /home. Copy
/var to the new partition. Rename the existing /var. Edit fstab and boot.
2) Swaping mount points:
Down the server and boot from a rescue platform. Move the contents of /home
to a folder on the smaller drive. Copy /var to the larger drive. Modify
fstab.
3) Migrating between mail stores
Create a new mail store under /home and migrate the mail boxes? Not sure how
or if we can do this.
Please let me know your opinion on these solutions and any new suggestions
are welcome and appreciated.
Larry Wickham
larry.wickham at enmu.edu
Systems Operations Specialist
Eastern New Mexico University
1500 S. Ave K
Portales, NM 88130
More information about the Info-cyrus
mailing list