[linux-lvm] Help to mount ext3 boot partiton which reports it's LVM2_member when I try to mount it

Lee Gold leegold at operamail.com
Fri Jun 17 15:59:58 UTC 2011


On Fri, 17 Jun 2011 00:11 -0400, "Stuart D. Gathman" <stuart at bmsi.com>
> On Thu, 16 Jun 2011, Lee Gold wrote:
> > How can this be right? I clearly remember installing the /boot as an
> > ext3 partiton.
> >
> > sudo pvs says:
> >
> > PV        VG       Fmt   Attr   PSize    PFree
> >
> > /dev/sda1          lvm2  a-     190.00m  190.00m
> >
> > /dev/sda2 system   lvm2  a-      92.97g       0
> >
> > I can mount the partitons in /dev/sda2 by installing LVM2 while using
> > the live disk and some command-line - so I can recover the data if
> > necessay so all is not lost. But I would really like to know what is
> > going on and how to get the system booting again. Again the boot
> > partition was ext3 and separate, why can't I access it, fdisk
> > confirms...?  Thanks.
> I would suspect that sda and sdb do not point to the disks you think
> they do.  BIOS often swaps these around without warning.  You don't
> mention
> your physical connection (IDE/SATA/USB/FW/iSCSI/...).  This would give a
> clue
> as to what BIOS might have done - although it really isn't an LVM
> question.
> This is why it is preferred to use filesystem/PV UUIDs or labels 
> rather that whatever the current device address happens to be.
> So it looks like you made /boot into a PV, although pvcreate should have
> warned that the block device was mounted.

In my opinion LVM2 should of flagged me when it went about changing my
config - which it did - the boot partition's location and spec could not
of changed on it's own and while the bios could shuffle things around
only an active script could of changed things as it did and it should
have warned me - that's Comp Sci 101 - when something happens pull over
to the side of the road AND put your indicator on too. Maybe I'm wrong
but if I am it's moot. "Once burned twice shy".

http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are

More information about the linux-lvm mailing list