[Dovecot] 76Gb to 146Gb

Robert Schetterer robert at schetterer.org
Mon Sep 24 21:06:18 EEST 2012


Am 24.09.2012 19:42, schrieb Spyros Tsiolis:
> 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
> 


rsync
should do the job

depending on your whole machine setup it might only be only
umount old /home and mount new(bigger) /home after sync
,perhaps with tmp store elsewhere
( for sure you have to have a plan before doing..)

but your dovecot is very outdated, i would recommend
get up to new hard and software/os install, and then migrate
to new machine

> 
> 
> 
> 
> 
> ----
> "I merely function as a channel that filters 
> music through the chaos of noise"
> - Vangelis 
> 


-- 
Best Regards
MfG Robert Schetterer



More information about the dovecot mailing list