Hello Spyros,
As "best practice" you never have the OS and the data/logs/user homes on the same partition or set of disks.
If this is the case then your life is pretty easy: -simply create the new set of partitions -mount the new ones in a temporary location -rsync (or copy everything from old partitions) -Stop dovecot / all other daemons that might be using the data -mount the new ones in the place of old ones, mount the old ones in the place of new ones
- rsync again (should be quick as not many things changed)
- start all your deamons again :P
If you do not have separate partitions maybe this is the perfect time to look into that...
I would also look into btrfs... might be a good pick for your new partitions.
best regards, Andrei
Hello all,
I have a DL360 G4 1U server that does a wonderfull job with dovecot horde, Xmail and OpenLDAP for a company and serving about 40 acouunts.
The machine is wonderful. I am very happy with it. However, I am running out of disk space. It has two times 76Gb Drives in RAID1 (disk mirroring) and the capacity has reached 82%.
I am starting of getting nervous.
Does anyone know of a painless way to migrate the entire contents directly to another pair of 146Gb SCSI RAID1 disks ?
I thought of downtime and using clonezilla, but my last experience with it was questionable. I remember having problems declaring disk re-sizing from the smaller capacity drives to the larger ones.
CentOS 5.5 Manual install of :
Mysql XMail (pop3/smtp) ASSP (anti spam) Apache / LAMP and last but by no means list : Dovecot
Dovecot -n :
# 1.2.16: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-194.17.4.el5 i686 CentOS release 5.5 (Final) ext3 base_dir: /var/run/dovecot/ log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/dovecot-info.log ssl_parameters_regenerate: 48 verbose_ssl: yes login_dir: /var/run/dovecot//login login_executable: /usr/local/dovecot/libexec/dovecot/imap-login login_greeting: * Dovecot ready * login_max_processes_count: 96 mail_location: maildir:/var/MailRoot/domains/%d/%n/Maildir mail_plugins: zlib auth default: verbose: yes debug: yes debug_passwords: yes passdb: driver: passwd-file args: /etc/dovecot/passwd passdb: driver: pam userdb: driver: static args: uid=vmail gid=vmail home=/home/vmail/%u userdb: driver: passwd
Any help would be appreciated or any ideas you might have.
Regards,
spyros
"I merely function as a channel that filters music through the chaos of noise"
- Vangelis
!DSPAM:50609d2c301831828332458!