Sven
2008-Nov-03 03:57 UTC
[CentOS] [rsync -avz] total size/disk usage difference between source and destination
Hi folks We migrated storage from local disk to SAN with: # rsync -avz /mnt/lvol00045/* /lvol00045 Why there is a difference in size? How to explain this? Do we have inconsistency? What we did wrong? [...] /dev/mapper/vg01-lvol00045_old 10321208 3930336 6286016 39% /mnt/lvol00045 [...] /dev/mapper/vg01-lvol00045 10321208 3163852 6633068 33% /lvol00045 [...] kind regards Sven
John R Pierce
2008-Nov-03 04:35 UTC
[CentOS] [rsync -avz] total size/disk usage difference between source and destination
Sven wrote:> Hi folks > > We migrated storage from local disk to SAN with: > > # rsync -avz /mnt/lvol00045/* /lvol00045 > > Why there is a difference in size? How to explain this? Do we have > inconsistency? What we did wrong? > > [...] > /dev/mapper/vg01-lvol00045_old > 10321208 3930336 6286016 39% /mnt/lvol00045 > [...] > /dev/mapper/vg01-lvol00045 > 10321208 3163852 6633068 33% /lvol00045 >did rsync copy .* hidden files ? do the two file systems have the same block size?
Plant, Dean
2008-Nov-03 09:45 UTC
[CentOS] [rsync -avz] total size/disk usage difference betweensource and destination
Sven wrote:> Hi folks > > We migrated storage from local disk to SAN with: > > # rsync -avz /mnt/lvol00045/* /lvol00045 > > Why there is a difference in size? How to explain this? Do we have > inconsistency? What we did wrong? > > [...] > /dev/mapper/vg01-lvol00045_old > 10321208 3930336 6286016 39% /mnt/lvol00045 > [...] > /dev/mapper/vg01-lvol00045 > 10321208 3163852 6633068 33% /lvol00045What does the output of df -i show? It should show the same amount of inodes used regardless of block size. Dean
Ricardo Carrillo
2008-Nov-04 01:02 UTC
[CentOS] [rsync -avz] total size/disk usage difference between source and destination
mmmm, with this options only you are indicating to rsync don't create a directory name as name of your file, , maybe yoy can try these options : rsync -arvcu --partial --progress -e "/usr/bin/ssh" orign destiny I've use these options to trasfer a big data vollume and alwas is OK. Cheers 2008/11/2 Sven <aluoor at gmail.com>:> Hi folks > > We migrated storage from local disk to SAN with: > > # rsync -avz /mnt/lvol00045/* /lvol00045 > > Why there is a difference in size? How to explain this? Do we have > inconsistency? What we did wrong? > > [...] > /dev/mapper/vg01-lvol00045_old > 10321208 3930336 6286016 39% /mnt/lvol00045 > [...] > /dev/mapper/vg01-lvol00045 > 10321208 3163852 6633068 33% /lvol00045 > [...] > > kind regards > Sven > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: L.I. Ricardo D. Carrillo S?nchez :: Security Specialist :: Universidad Nacional Autonoma de Mexico :: :: Ciudad Universitaria , D.F. Mex :: e-mail prim.: davxoc at gmai dot com :: e-mail secu.: davxoc at hotmail dot com :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::