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