On Sun, Aug 18, 2019 at 10:29 AM jdd@dodin.org <jdd@dodin.org> wrote:
# btrfs filesystem show Label: none uuid: 68d9fe9c-e773-4659-a8a6-cbc127fc2974 Total devices 2 FS bytes used 33.31GiB devid 1 size 100.00GiB used 45.03GiB path /dev/sda2 devid 2 size 100.00GiB used 45.03GiB path /dev/sdb2
I want to keep /dev/sda2 and remove /dev/sdb2
may I use
btrfs balance start -mconvert=dup -dconvert=single / btrfs device remove /dev/sdb2 /
Assuming this filesystem is mounted on /, yes. As you yourself see, nothing in "btrfs filesystem show" identifies mount point so it is impossible to answer your question without additional information, such as "lsblk -f" output.
it's root of my main computer, so I don't want to kill it :-) (15.0)
I cannot guarantee you that there won't be power failure during this operation and that this power failure won't trigger obscure bug in btrfs. As usual, make backup before doing any serious changes to your filesystem (or underlying storage devices for this matter). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org