public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* btrfs-convert destroyed my system
@ 2014-01-18  3:30 Sir Civit
  2014-01-19  1:13 ` Marc MERLIN
  2014-01-19 18:51 ` Martin Steigerwald
  0 siblings, 2 replies; 4+ messages in thread
From: Sir Civit @ 2014-01-18  3:30 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org



To start off, I have an encrypted LVM setup with a root logical volume and a home 
logical volume. Today decided to upgrade my home LV to btrfs for 
compression. I installed btrfs-progs, unmounted /home, and ran
btrfs-convert /dev/MyVolumeGroup/home
and it completed with no errors reported. I rebooted my system, and I got a "Welcome to emergency mode!" message. I rebooted into a live CD and 
found that all of my logical volumes were showing up, but almost all of 
them showed status "NOT available". I ran vgck and lvck, both of which 
found no 
errors. I ran lvscan and still /dev/MyVolumeGroup/ (and 
/dev/mapper/MyVolumeGroup-*) contains only one of the LVs.

It seems that btrfs-convert possibly overwrote the LVM metadata somehow, but I have no idea how 
since the argument was a logical volume. Even if I had accidentally 
typed /dev/MyVolumeGroup, I would think that btrfs-convert should have 
realized that it was not an ext2/3/4 filesystem.

I tried mounting one of the "available" LVs, and got
mount: /dev/MyVolumeGroup/root is write-protected, mounting read only.
mount: special device /dev/MyVolumeGroup/root does not exist.

I've already 
started a fresh installation due to time constraints, but I'd like to 
find out why this happened and let everyone know about a potential bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-20  3:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-18  3:30 btrfs-convert destroyed my system Sir Civit
2014-01-19  1:13 ` Marc MERLIN
2014-01-20  3:46   ` Roger Binns
2014-01-19 18:51 ` Martin Steigerwald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox