Re: Cannot mount old drive with LVM partition - help!
- From: noi <noi@xxxxxxxx>
- Date: Mon, 02 Oct 2006 05:41:13 GMT
On Mon, 02 Oct 2006 02:43:29 +0200, J.O. Aho wrote this:
Ohmster wrote:
noi <noi@xxxxxxxx> wrote in news:EeXTg.6607$TV3.5327
@newssvr21.news.prodigy.com:
Second do not panic.
With FC3 as the primary system, boot from the FC5 DVD
boot: linux rescue
# you get the prompt
$ chroot /mnt/sysimage
$ ls ~
# you should still see your data
If you can see your data then you can disconnect the FC3 and reinstall
FC5 without the LVM.
No can do. When I try that, the rescue disc scans for Fedora
installations and does not find any, therefore it does not mount any.
Examining the logical volume group with the xwindows LVM tool shows that
it is present on /dev/hdb2, which is correct, and it has a different
name now, VolGroup01. The physical view shows 189Gb of space which is
correct. The logical view shows all of that space as free. Now I know
that all my files are still there, the darned thing did not run long
enough to erase all of the files, but something happened to the logical
drive and now all the space is marked as "Free" with no files present.
Bummer.
Not sure how webmin does do, but it seems to have destroyed the old
"volume group" and "logical volume" and then created the new one, this
shouldn't have included any formate.
One way that may fix this, si to crate a new "logical volume" to your new
"volume group", do this manually, add all the free space at once and then
run fsck on the new device, if you are lucky, you will after that be able
to access all your old files (don't forget to mount it after fsck).
The reason why you got a busy message when you allowed the rescue disk to
mount the system was that /boot was mounted into the system root,
umount /mnt/sysimage/boot
umount /mnt/sysimage
That had made you to unmount the logical volume.
Okey, time for me to sleep again...
//Aho
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
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.
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.
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.
.
- Follow-Ups:
- Re: Cannot mount old drive with LVM partition - help!
- From: Ohmster
- Re: Cannot mount old drive with LVM partition - help!
- 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
- Cannot mount old drive with LVM partition - help!
- Prev by Date: Re: Cannot mount old drive with LVM partition - help!
- Next by Date: 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
|