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



On Sun, 01 Oct 2006 04:10:59 +0000, Ohmster wrote this:

System: Fedora Core 5

Hello everybody. I finally got my new 200Gb IDE hard drive so that I could
install FC5 instead of the FC3 that I am now running. I have been waiting
to get a new drive to install FC5 on because I do not want to lose
everything that I have setup on the exsisiting FC3 setup. My plan is to
install FC5 on the new drive, then connect the old drive back to the
computer as hdb, mount my old drive, and be able to pull my old configs
from it to help setup the new FC5 system. This seems like a terrific
plan...

Now the problem. I created the directory /mnt/old_sys and fdisk shows me
that hdb2 is indeed the old system drive...
---------------------------------------------------------------------
[root@ohmster xinetd.d]# fdisk /dev/hdb

The number of cylinders for this disk is set to 24792. There is nothing
wrong with that, but this is larger than 1024, and could in certain setups
cause problems with: 1) software that runs at boot time (e.g., old
versions of LILO) 2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 203.9 GB, 203928109056 bytes 255 heads, 63 sectors/track,
24792 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux /dev/hdb2
14 24792 199037317+ 8e Linux LVM

Command (m for help):
--------------------------------------------------------------------- But
no matter what I do, I cannot get this drive to mount. I found a web page
that shows how to mount an LVM volume but it does not work for me, the
page is here:
http://tinyurl.com/nralu

When I do a lvdisplay, I get information alright, but it is all for the
currently mounted and running LVM partition, there is no info for the
/dev/hdb2 partition for me to mount that drive with.

I am really screwed here, I must have access to that drive to finish
setting up the new system. I have it setup with cable select on the hard
drives and so the new FC5 drive is /dev/hda and the old system drive is
/dev/hdb. Right now, I have taken the IDE cable off of the new drive and
put it back on the old drive so that the computer will run as it has
before with an FC3 system.

Sombody please help, how can I mount my old system drive with all of the
stuff on it as an LVM partion in Fedora Core 5?

Hard time following what you've done. All I see is one 200GB HD
/dev/hdb1 as a FC5 LVM Are you mount /dev/hda as you old drive are you
adding /dev/hdb to the LVM volume group? Have you reviewed the command
set for LVM and FAQs at FC5 or LVM web sites?

Could post lvdisplay, pvdisplay, fdisk -l /dev/hda and /dev/hdb ?

.



Relevant Pages

  • Re: Question, about drive assignment when boot drive is sata
    ... and is involved in trying to install FC5 on his main server which ... has several other drives in it. ... The boot drive, and the one he's installing FC5 to, is on a Promise SATA ... it fails the e2fsck of /dev/hda1. ...
    (Fedora)
  • Re: 3 hard drives as 1
    ... How can I mount the 3 partitions so that I see one mounting ... you need to first create a 100mb /boot partition on one of the ... For the rest of the drives create an LVM partition on each one, ...
    (Fedora)
  • Re: copying lvm with the same name
    ... It looks like the machine can see the second drive and the lvm that's on it ... how can I mount VolGroup00 that's on /dev/sdb2? ... The vgchange command ... I had upgraded a system that used LVM and replaced two drives to increase the total available space. ...
    (Fedora)
  • Question, about drive assignment when boot drive is sata
    ... I have a friend who's had drive failures out the yang over the last week, and is involved in trying to install FC5 on his main server which has several other drives in it. ... The boot drive, and the one he's installing FC5 to, is on a Promise SATA card. ... On the reboot after the install, it fails after unpacking vmlinuz, and immediatly after 'starting udev', it fails the e2fsck of /dev/hda1. ...
    (Fedora)
  • Cannot mount old drive with LVM partition - help!
    ... could install FC5 instead of the FC3 that I am now running. ... lose everything that I have setup on the exsisiting FC3 setup. ... But no matter what I do, I cannot get this drive to mount. ... drives and so the new FC5 drive is /dev/hda and the old system drive is ...
    (alt.os.linux)