Re: Cannot mount old drive with LVM partition - help!
- From: Ohmster <nowayin@xxxxxxxx>
- Date: Wed, 4 Oct 2006 01:12:47 +0000 (UTC)
noi <noi@xxxxxxxx> wrote in
news:zzcUg.7769$GR.6701@xxxxxxxxxxxxxxxxxxxxxxxxxx:
[snip]
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 24792 199037317+ 8e Linux LVM
[root@ohmster ~]#
snip
You know, knoppix might not be a bad idea. I will try it later, haveYeah but make sure you don't change file permissions, uids, gids on
to go to work now.
either FC3 or FC5. Major headaches if that happens..
snip
snip
I hear ya.
Will try that when I get home later. Thanks for the advice.
You can see the hdb partitions using fdisk on FC5
Are you sure you can't mount the hdb2 now on FC5?
I mean case closed if you can mount FC3 on FC5
root@ $ mount -t ext3 -o ro,defaults /dev/hdb2 /mnt/fc3sys
[root@ohmster mnt]# mount -t ext3 -o ro,defaults /dev/hdb2 /mnt/old_sys
mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@ohmster mnt]#
No, it does not work.
I didn't mention it first because using
$ vgextend volgroup /dev/hdb2
should have added FC3 as an extension to your FC5 volgroup
but you should be able to turn off lvm vgchange -an.
$ man vgchange
root@ $ vgchange -an # turns off lvm
root@ $ shutdown -r now
root@ $ mount -t ext3 -o ro,defaults /dev/hdb2 /mnt/sysfc3
root@ $ cp -a /mnt/sysfc3/whatever /home/whatever
root@ $ vgchange -an # turns lvm back on
root@ $ shutdown -r now
I do not know if all that will work because my current file system is
also LVM.
[root@ohmster mnt]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
187117284 4303304 173155612 3% /
/dev/hda1 101086 14122 81745 15% /boot
tmpfs 777820 0 777820 0% /dev/shm
[root@ohmster mnt]#
I will try it though, as well as try knoppix to see if the disk will
mount. I think that webmin destroyed the FAT for the drive if there is
such a thing with LVM. What I did had not taken enough time to delete all
the files but now the files are no longer accessible. It may be time to
consider hard drive recovery now, even though fdisk says that the
partitions are intact and still as a LMV file system.
[root@ohmster mnt]# 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 mnt]#
--
~Ohmster
theohmster at comcast dot net
Put "messageforohmster" in message body
to pass my spam filter.
.
- Follow-Ups:
- Re: Cannot mount old drive with LVM partition - help!
- From: Bit Twister
- 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
- 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: noi
- Cannot mount old drive with LVM partition - help!
- Prev by Date: Re: Would it be possible to mail...
- Next by Date: Re: Cannot mount old drive with LVM partition - help!
- 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
|