On Sun, Aug 18, 2019 at 9:27 AM jdd@dodin.org <jdd@dodin.org> wrote:
Hello,
some time ago, I used "btrfs add" to create a raid 1 for my root partition.
Now I want to make a clone of the disk with clone zilla, and, of course, clonezilla don't want it. The two raid partition (each on it's own disk, of course) are not part of the image.
So, I guess I need to break the raid just for the time of the clone.
my config is:
# btrfs fi df / Data, RAID1: total=43.00GiB, used=32.17GiB System, RAID1: total=32.00MiB, used=16.00KiB Metadata, RAID1: total=2.00GiB, used=1.14GiB GlobalReserve, single: total=84.41MiB, used=0.00B
all the doc I see ask to add a path to the delete command, but what's the use? anyway the delete command seems to be deprecated and replaced by "remove" (see man page)
should I run
btrfs device remove /dev/sdb2 /mnt
or may be
btrfs device remove /
I see in man:
REMOVE DEVICE Device removal must satisfy the profile constraints, otherwise the command fails. For example: $ btrfs device remove /dev/sda /mnt ERROR: error removing device '/dev/sda': unable to go below two devices on raid1 In order to remove a device, you need to convert the profile in this case: $ btrfs balance start -mconvert=dup -dconvert=single /mnt
Of course you need to wait for balance to complete before going on with actual device removal.
$ btrfs device remove /dev/sda /mnt
So example in manual page provides you exact commands to use in your case. What is your question?
still the "/mnt"??
I do not understand this line, sorry. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org