btrfs-convert complains that fs is mounted even if it isn't
Hi,
I'm trying to run btrfs-convert on a system that has three raid partitions (boot/md1, swap/md2 and root/md3). When I boot a rescue system from md1, and try to run "btrfs-convert /dev/md3", it complains that /dev/md3 is already mounted, although it definitely is not. The only partition mounted is /dev/md1 because of the rescue system. When I replicate the setup in a local VM, booting the rescue system from another disk (no /dev/md1 mounted) helps, btrfs-convert runs. However, I cannot do this on the server.
Is there anything I can do about this?
Regards,
Jochen
Quoted 11 lines · Jochen
Hi,
I'm trying to run btrfs-convert on a system that has three raid partitions (boot/md1, swap/md2 and root/md3). When I boot a rescue system from md1, and try to run "btrfs-convert
/dev/md3", it complains that/dev/md3is already mounted, although it definitely is not. The only partition mounted is/dev/md1because of the rescue system. When I replicate the setup in a local VM, booting the rescue system from another disk (no/dev/md1mounted) helps, btrfs-convert runs. However, I cannot do this on the server.Is there anything I can do about this?
Can you mount and cleanly umount /dev/md3 and try the convert again?