LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-24-2005, 02:03 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
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?

Last edited by JZL240I-U; 11-24-2005 at 02:05 AM.
 
Old 11-24-2005, 07:44 PM   #2
/var/spool
LQ Newbie
 
Registered: Nov 2005
Location: Hell
Posts: 6

Rep: Reputation: 0
Sounds like the lvm needs activating.

From Suse9, try activating the lvm like this

# vgscan
# vgchange -a y
# vgscan
# lvscan
 
Old 11-28-2005, 07:44 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Original Poster
Rep: Reputation: Disabled
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

Last edited by JZL240I-U; 11-28-2005 at 10:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ext2 ext3 lvm restore Shade00 Linux - Hardware 0 10-20-2005 02:58 PM
Mounting EXT2/EXT3 on Windows2000/NT/XP movanns Linux - General 10 05-01-2005 11:05 PM
Manage disks on an existing system with LVM doris Linux - Hardware 1 03-02-2005 02:37 PM
ext2_read_super: mounting ext3 filesystem as ext2 Jiggy Linux - Newbie 8 11-18-2003 07:27 PM
reformat file system (from ext2 to ext3) pimo Linux - General 5 03-19-2002 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration