Re: Clone logical volume using dd

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

 



I agree with the suggestions to use a tool appropriate for this task,
and that dd isn't likely what you want. I like dd/ddrescue for the
specific case of data recovery. But for data replication, it's better
to use something that's intended for that purpose.

Btrfs, it's either the seed/sprout feature. Or you can get finer
granularity with send/receive. Seed/sprout replication results in the
volume UUID's being unique, and duplicates at the Btrfs block group
level (a group of extents). It's quite fast, and skips over
unused/unallocated areas. send/receive is a bit different, there is a
stream format that isn't an exact copy of the on-disk representation
but it will copy all files and their metadata including permissions,
owner, date/time stamps and xattr. Both work on mounted file systems.

xfs has xfs_copy

ext4 I think it has some kind of dump facility but the man page for
dumpe2fs doesn't look like it does that. So I'm not sure.

And of course file copy tools are OK as well, though they sometimes
come with the burden/risk of many extra options.


---
Chris Murphy
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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