Re: Cloning a BTRFS filesystem

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

 



On Fri, 2024-07-26 at 19:07 -0700, Gregorio Gervasio Jr. wrote:
> > > > > > Patrick O'Callaghan writes:
> 
> > My mistake. btrfs-replace is for replacing a whole disk as part 
> > of a
> > BTRFS filesystem. In my case I have a vfat EFI partition, an 
> > ext4 /boot
> > partition, and a BTRFS root+/home partition, so btrfs-replace 
> > isn't
> > going to do it.
> 
> 
> It's not?  I had the same thing and just ran "btrfs replace" on 
> each
> BTRFS partition.
> 
The man page refers explicitly to "device" and the examples I've seen
all use devices rather than partitions, but of course that may not mean
anything.

> For the other partitions, I used "dd" (the source partitions were
> remounted as read-only first).  Making the new disk bootable was a
> separate problem, as you say.

I used "rsync -av", which seemed to be fine. The problem with dd is
that it will copy the UUIDs as well, which will then confuse the kernel
until you fix it.

poc
-- 
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[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