Re: How to compare filesystem contents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



not sure why

that command won't work to me

  rsync -vn -aH /olddisk/ /newdisk/

it can't sync to newdisk

--- On Fri, 5/7/10, Cameron Simpson <cs@xxxxxxxxxx> wrote:

> From: Cameron Simpson <cs@xxxxxxxxxx>
> Subject: Re: How to compare filesystem contents
> To: "Andrew Junev" <a-j@xxxxxx>, "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Received: Friday, May 7, 2010, 6:12 AM
> On 07May2010 13:05, Andrew Junev
> <a-j@xxxxxx> wrote:
> |  I was moving my filesystem to a new disk with 'cp
> -ax' command (as
> |  root). It completed with no error messages, but I
> can see some
> |  difference between the old and the new filesystems
> when using df:
> | 
> | # df
> | Filesystem       
>    1K-blocks      Used
> Available Use% Mounted on
> | /dev/mapper/vg_mythbackend-wd20eads
> |               
>       1922859824 1791862788 
> 33321364  99% /newdisk
> | /dev/mapper/VolTerabytes00-Data00
> |               
>       1922868016 1793705984 
> 51021168  98% /olddisk
> | 
> | 
> | My new filesystem uses ext4, while old one was using ext3
> - can that
> | be somehow related?. I fact, I don't see how it can
> affect the used
> | space reported, since block size is 4K for both...
> 
> Fragmentation? Sparse files being filled out?
> 
> | Is there an easy way to check which files are there on
> the old
> | filesystem, that do not exist on the new one?
> 
> I'd use rsync:
> 
>   rsync -vn -aH /olddisk/ /newdisk/
> 
> Cheers,
> -- 
> Cameron Simpson <cs@xxxxxxxxxx>
> DoD#743
> http://www.cskk.ezoshosting.com/cs/
> 
> Windows is really user friendly - it doesn't crash on its
> own, it first
> opens a dialog box, saying it will crash and you have to
> click OK :-)
>         - Zoltan Kocsi
> -- 
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> 


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux