Rsync --update copy one file multiples times
kamleshverma
kamleshverma at srishtisoft.com
Wed Nov 21 05:40:43 MST 2012
Hi Francis,
Thanks for reply..
Yes, Drive showing full. actually I created LVM for backup..
Please find below output of df -h which I run on backup server.
[root at backup ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 49G 2.8G 43G 7% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
/dev/sda1 2.0G 119M 1.8G 7% /boot
/dev/sda2 49G 217M 46G 1% /home
/dev/mapper/apps-agastya_home
493G 304G 165G 65% /agastya_home
/dev/mapper/apps-svn_home
99G 66G 28G 71% /svn_home
/dev/mapper/database-charka_db
788G 586G 163G 79% /charak_db
/dev/mapper/mail-superseva_mail
493G 431G 37G 93% /superseva_mail
/dev/mapper/mail-sristhi_mail
424G 424G 0 100% /srishti_mail
[root at backup ~]#
And for Mail server:
root at webmail:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/webmail-webmail_root
37G 1.1G 34G 4% /
none 7.9G 256K 7.9G 1% /dev
none 7.9G 0 7.9G 0% /dev/shm
none 7.9G 80K 7.9G 1% /var/run
none 7.9G 0 7.9G 0% /var/lock
/dev/mapper/webmail-webmail_tmp
9.2G 150M 8.6G 2% /tmp
/dev/mapper/webmail-webmail_var
37G 5.4G 30G 16% /var
/dev/mapper/webmail-webmail_home
459G 346G 91G 80% /home
root at webmail:~#
root at webmail:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/webmail-webmail_root
37G 1.1G 34G 4% /
none 7.9G 256K 7.9G 1% /dev
none 7.9G 0 7.9G 0% /dev/shm
none 7.9G 80K 7.9G 1% /var/run
none 7.9G 0 7.9G 0% /var/lock
/dev/mapper/webmail-webmail_tmp
9.2G 150M 8.6G 2% /tmp
/dev/mapper/webmail-webmail_var
37G 5.4G 30G 16% /var
/dev/mapper/webmail-webmail_home
459G 346G 91G 80% /home
root at webmail:~#
I also checked home folder of mail server but there is not big size
file/folder.
--
From
Kamlesh Verma
System Administrator | Srishti Software Application Pvt Ltd
L-174,6th Sector HSR Layout,Bangalore-560102
Cell:- +91-9686450284
Skype ID: kamlesh_verma0205
On 21/11/12 5:23 PM, Francis.Montagnac at inria.fr wrote:
> Hi.
>
> On Wed, 21 Nov 2012 11:41:48 +0100 kamleshverma wrote:
>
>> In mail server /mail_home folder having all user's mailbox and size of
>> mail_home is 345 GB and in backup server I have assign 450 GB for
>> mail_backup drive.
> That lets 105 GB of free space for the temporary copy done by default
> for each file.
>
>> ... but when crontab run second time in backup server the
>> Mail_backup drive showing full.
> I suspect there exist a file (a mail folder in your case) of size
> greater than 105 GB. That seems huge however for a mail folder.
>
> Try to add the --inplace option to your rsync command. This option is
> appropriate for backing up mail folders (as far as I know).
>
>> after that I run script on backup server and mail server which show
>> all folder size and compare with both results. in both server each
>> folders size is same.
> This is weird: if the filesystem became full during the second rsync,
> rsync should have failed.
>
> Are you sure the filesystem became full?
>
> Francis
>
--
From
Kamlesh Verma
System Administrator | Srishti Software Application Pvt Ltd
L-174,6th Sector HSR Layout,Bangalore-560102
Cell:- +91-9686450284
More information about the rsync
mailing list