LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mounting a new ext3 on LVM system by a co-existing older system's ext2 /etc/fstab (https://www.linuxquestions.org/questions/linux-software-2/mounting-a-new-ext3-on-lvm-system-by-a-co-existing-older-systems-ext2-etc-fstab-386043/)

JZL240I-U 11-24-2005 02:03 AM

Mounting a new ext3 on LVM system by a co-existing older system's ext2 /etc/fstab
 
I updated my system (hardware and software) to SuSE 10 but kept the running old SuSE 9.0pro installation:

1. /dev/hda (10 GB) with SuSE 9.0 on ext2 went to /dev/hdc
2. /dev/hda (250 GB) is a new disk with SuSE 10 on ext3 on LVM

New SuSE 10 works from hda and can access the entire old system, which I mounted in and below the new directory /old (which is obviously the old root-directory „/“ ;)).

SuSE 9.0 crashes during boot-up when I try to access the LVM-parts of the new SUSE using the same statement in /etc/fstab as used in the new SuSE 10 (nor can I mount them „by hand“)

I activated LVM in the bootlevel-editor during boot, so that's not it, either.
Code:


Man mount(8)

didn’t really help and I drew blanks at

http://tldp.org/HOWTO/LVM-HOWTO/
http://www.suse.de/de/whitepapers/lvm/index.html
http://litefaden.com/lite00/lvm/lvm-howto-de.html

I can access the new / and /boot on the new disk from the old system as they are primary partitions not on LVM.

I ran vgscan in the old system and got an error (which was to be expected and doesn't matter according to the documentation).

But I don't dare to run pvcreate, since that will delete all data on the partitions.

How, then, do I mount the new LVM-directories on /dev/hda?

/var/spool 11-24-2005 07:44 PM

Sounds like the lvm needs activating.

From Suse9, try activating the lvm like this

# vgscan
# vgchange -a y
# vgscan
# lvscan

JZL240I-U 11-28-2005 07:44 AM

Thankyou for answering. Sorry, your scheme didn't work:

vgscan created /etc/lvmtab and /etc/lvmtab.d
vgchange -a y -> no volume groups found
vgscan same as above
lvscan -> no logical volumes found

I guess what I need is a walk-through for a noob on just exactly how to integrate a new system on LVM with an existing old one (without LVM). This can't be the absolutely new challenge, I guess thousands of people already did it, it's just I don't know hwo to proceed. I guess, I'll have to open a new thread ... :( ;) ...

P.S.: Sorry for answering late, children are sick :rolleyes:


All times are GMT -5. The time now is 12:44 PM.