Re: Cannot mount old drive with LVM partition - help!



"J.O. Aho" <user@xxxxxxxxxxx> wrote in
news:4oafnrFdl9i1U2@xxxxxxxxxxxxxx:


Arrrrgggghhhhh! This bites major freaking dickwad like no tomorrow! I had
intended to get the FC5 distro installed this weekend and then copy my
configs from FC3 over and now the whole weekend is shot, just trying to
mount the freaking FC3 disk. Can this blow any worse?!

Okay I am done now, had to get that off my chest. :)

Of course it don't, as they have the same name and in worst case you
could rename both of the at the same time too.


I am at a loss as to what to do. I really wish that I did not install
Fedora as an LVM now because of all this trouble.

You need to have only one of them connected to the machine (FC5 in
your case) and from rescue mode (type rescue on the boot prompt when
you boot from the CD1 or DVD) do the renaming.

More problems and here is is. Fedora Core 5 comes with a neat rescue
disc. Insert it and boot, you are in rescue mode. The disc will offer to
get your network up and running and it does if you choose to do so. You
are asked if you want a US keyboard, yes. Then you are asked if you would
like the rescue disc to find your fedora install and mount it under
/mnt/sysimage or to just skip this step.

Of course you cannot change a volume group's name with it mounted so I
said no, don't mount it. I get a basic rescue shell. Any vg commands are
not recognized, vgscan, not recognized command. If I allow the distro to
be mounted, it will mount and then vg commands are recognized, but you
cannot change a volume group name with it mounted. I try to umount it and
cannot do so, device is busy.

fdisk in either case will show both LVMs on each disk, /dev/hda or
/dev/hdb

I am so mad I could just spit! FC5 is pretty nice and I like it, other
than it recognized my AWE 64 Gold ISA sound card only once and then never
again. Now no sound in FC5. I can probably fix this but for now this is
not a major issue.

So I am really stuck like chuck. vgscan sees only one of the volume
groups, the currently active one, presumably because they both have the
same exact name. fdisk will show both of them. It does not seem like I
can do anything about this. No way to rename any volume group because
there are no lvm tools available in rescue mode unless I allow mounting
of the exisiting system. If I do that, I can no longer rename or do
anything with it. The rescue shell that comes with FC-5-i386-rescuecd.iso
contains no vg tools. WTF, this is starting to bite the big one pretty
badly.

There are only a few hours left in the weekend, what to do now. Unplug
the FC3 disk, reinstall FC5 on the new disk and look for an option that
will not install LVM? That seems to be the only way now from what I can
see. Maybe then I will be able to mount the FC3 disk because there will
only be one LVM disk and so the same name thing should not be an issue. I
hope so, somebody answer soon while I have a little more time left for
the weekend.

//Aho

Thanks for the help.

--
~Ohmster
theohmster at comcast dot net
Put "messageforohmster" in message body
to pass my spam filter.
.