Re: Cloning a BTRFS filesystem

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

 



On Wed, 2024-07-24 at 11:14 +0100, Patrick O'Callaghan wrote:
> On Tue, 2024-07-23 at 20:44 -0700, Gregorio Gervasio Jr. wrote:
> > 
> > I just did this recently.  I used "btrfs replace", which is part 
> > of
> > btrfs-progs.  See "man btrfs-replace" for details.
> > 
> > It initially refused for one of my partitions (forgot the exact 
> > error
> > message) but it worked after I ran "btrfs balance".
> > 
> > -- 
> > 
> 
> Thanks. I'm slightly wary of clonezilla because multiple people seem
> to
> have had problems with it on BTRFS (may depend on the version). Also,
> btrfs-replace is built-in and looks like it will do the job.

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.

I can copy each partition separately (using btrfs-clone for root+/home)
and rsync for the others, but I'm not sure if I need to run grub2-
mkconfig as well.

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