Re: Cannot mount old drive with LVM partition - help!
- From: Ohmster <nowayin@xxxxxxxx>
- Date: Mon, 2 Oct 2006 12:39:54 +0000 (UTC)
noi <noi@xxxxxxxx> wrote in
news:ZD1Ug.18706$Ij.5243@xxxxxxxxxxxxxxxxxxxxxxxxxx:
Yes, I agree with Aho. IMO Webmin thought you wanted to create a new
physical volume using hdb and wrote to the partition messing up your
existing partitions. That's the reason I make a partition for
/home separate from /boot, /swap or / partitions.
You can try booting the FC5 as primary then lvscan the FC3 on
/dev/hdb or mounting the FC3 /dev/hdb1 as /mnt/fc3sys then copy your
files
This is FC5, the old FC3 (What is left of it.) is on /dev/hdb. Partition
1 on hdb is the boot partition, partition 2 on hdb is the LVM where my
stuff is at:
[root@ohmster ~]# lvscan
ACTIVE '/dev/VolGroup00/LogVol00' [184.22 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [1.94 GB] inherit
[root@ohmster ~]# fdisk -l /dev/hda
Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 24321 195254010 8e Linux LVM
[root@ohmster ~]# fdisk -l /dev/hdb
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
[root@ohmster ~]#
You could also try a Knoppix LiveCD which should
automount all of your partitions /dev/hda1, /dev/hdb1 as read-only
/mnt/hda1, /mnt/hdb1. Then you could cp -a /mnt/hdb1/home/dirs
/mnt/hdb1/home copy from the FC3 mounted drive to the FC5 mounted
drive. If you can read the FC3 files under Knoppix. I suggest
Knoppix because it auto mounts all available hds to read-only mount
points.
You know, knoppix might not be a bad idea. I will try it later, have to
go to work now.
If you can read the files under Knoppix you change the properties of
the /mnt/hda1 from read-only to allow you to copy the files from
/mnt/hdb1
Make sure you do not change properties unless you can see all the
files and permissions on FC3 and FC5. After the copies complete make
sure the permissions of the files copied to the FC5
/mnt/hda1/home/dirs have the correct permissions, userid and groupids.
I hear ya.
Very important to verify copied files have the right permissions,
userid, and groupid. Also very important not to change files,
partitions or anything on the FC3 drive until you can backup your data
or the FC5 drive is working with all your data.
Will try that when I get home later. Thanks for the advice.
--
~Ohmster
theohmster at comcast dot net
Put "messageforohmster" in message body
to pass my spam filter.
.
- Follow-Ups:
- References:
- Cannot mount old drive with LVM partition - help!
- From: Ohmster
- Re: Cannot mount old drive with LVM partition - help!
- From: noi
- Re: Cannot mount old drive with LVM partition - help!
- From: Ohmster
- Re: Cannot mount old drive with LVM partition - help!
- From: J.O. Aho
- Re: Cannot mount old drive with LVM partition - help!
- From: Ohmster
- Re: Cannot mount old drive with LVM partition - help!
- From: J.O. Aho
- Re: Cannot mount old drive with LVM partition - help!
- From: Ohmster
- Re: Cannot mount old drive with LVM partition - help!
- From: Bit Twister
- Re: Cannot mount old drive with LVM partition - help!
- From: Ohmster
- Re: Cannot mount old drive with LVM partition - help!
- From: noi
- Re: Cannot mount old drive with LVM partition - help!
- From: Ohmster
- Re: Cannot mount old drive with LVM partition - help!
- From: J.O. Aho
- Re: Cannot mount old drive with LVM partition - help!
- From: noi
- Cannot mount old drive with LVM partition - help!
- Prev by Date: Re: it's me, wendy. please visit our new free family site/blog at FAMSTER.COM everybody :) :) :) :)
- Next by Date: Re: kernel panic
- Previous by thread: Re: Cannot mount old drive with LVM partition - help!
- Next by thread: Re: Cannot mount old drive with LVM partition - help!
- Index(es):
Relevant Pages
|