Re: Cannot mount old drive with LVM partition - help!
- From: noi <noi@xxxxxxxx>
- Date: Sun, 01 Oct 2006 17:09:00 GMT
On Sun, 01 Oct 2006 15:39:55 +0000, Ohmster wrote this:
noi <noi@xxxxxxxx> wrote in news:dLLTg.10191$6S3.7321snip
@newssvr25.news.prodigy.net:
Well, I am learning about LVMs now. That was the default Fedora install, I
don't remember being asked if I wanted LVM or not. I just installed FC5
and took the default install and ended up with an LVM again. I think that
a serious problem is that both LVM volumes have the same name. I really
don't understand this stuff enough to get the volume mounted though.
Yeah the LVM stuff is tough
Could post lvdisplay, pvdisplay, fdisk -l /dev/hda and /dev/hdb ?
Sure. It is a bit difficult now as the new setup is not complete. I don't
have the domains setup, ssh is not setup, samba is not working yet, etc.,
so I think I can run those commands and catch the output, email that to
myself, then post them for you here. AT least I got my desktop terminals
back. FC5 does not even offer term windows in x anymore by default and I
went back to booting to run level 3 instead of run level 5 and starting x
with startx.
Can't you $ command 1> /tmp/out.txt && cat /tmp/out.txt ?
---------------------------------------------------------------------
root@ohmster ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00 VG Name
VolGroup00
LV UUID AEkIRn-4p4I-pjo1-OI8I-GPGx-RUzf-K7iI9G LV Write
Access read/write
LV Status available
# open 1
LV Size 184.22 GB
Current LE 5895
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01 VG Name
VolGroup00
LV UUID ghCyjf-gFRp-qN2Z-QyBc-eEl3-TAO0-ReRTnz LV Write
Access read/write
LV Status available
# open 1
LV Size 1.94 GB
Current LE 62
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
[root@ohmster ~]#
---------------------------------------------------------------------
[root@ohmster ~]# pvdisplay
--- Physical volume ---
PV Name /dev/hda2
VG Name VolGroup00
PV Size 186.19 GB / not usable 0 Allocatable yes
PE Size (KByte) 32768
Total PE 5958
Free PE 1
Allocated PE 5957
PV UUID 85v0Vl-MK33-Kbhl-mW22-kBhT-Uv6B-967SbT
[root@ohmster ~]#
---------------------------------------------------------------------
[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 ~]#
---------------------------------------------------------------------
[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 ~]#
--------------------------------------------------------------------- This
is freaking me out man. I really need to get the servers up and running
and all the rest of the stuff that is on the old FC3 disk drive. All the
configs are there and the old system will boot and run again if I pull the
IDE cable from the new drive and plug it back to the old drive as first in
line (Cable select method.). There has got to be some way to mount that
old system, I was googling and reading and someone else had this problem
and they figured that they could not mount the partition because the
volume group had the same name as the current volume group. That is the
situation that I have because I went with the default Fedora install.
If you don't want LVM in FC during install you have to go into the manual
partitioning menus, delete the LVM volgroup and voldisks, so you only see
the partitions you want. I have dual boot with XP and explorefs doesn't
work with LVM.
Assume you've backuped hdb and "do not run pvcreate".
In x, there is an admin tool for Logical Volume Managment. It is graphical
and it shows my current volume groups as well as "Uninitialized Entries".
/dev/hdb1 and /dev/hdb2 are shown. The only thing that the application
will do for me is to "Initialize the Entry". If I try to do that, I get a
warning that "All data on disk entry /dev/hdb2 will be lost, continue?"
Hell no!
Please help me with this.
I used this last year fooling around with LVLM.
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html
The recipes in chapter 13 may be better suited for you, ie,
moving LVMs, replacing LVM.
http://www.tldp.org/HOWTO/LVM-HOWTO/recipes.html
AIU, you can mount /dev/hdb but not add it to the LVM on hda
read the manuals but as examples
Don't think /dev/hdb should be mounted when you do
$ vgextend /dev/VolGroup00_group /dev/hdb1
adds /dev/hdb1 to you logical volume group on hda
also because there is a lvgroup and partition on hdb "you don't run
pvcreate."
.
- 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
- Cannot mount old drive with LVM partition - help!
- Prev by Date: Re: copy all /home direcories to new drive?
- 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
|