Skip to contentSkip to conversation

btrfs-convert complains that fs is mounted even if it isn't

DISCUSSION Jochen 2 participants 2 messages Jul 22, 2012 – Jul 23, 2012 Btrfs file system

lore
Share & tools
lore

Jochen

author
#0 lore raw

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

#1 lore raw
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/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?

Can you mount and cleanly umount /dev/md3 and try the convert again?