LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 07-28-2005, 08:14 PM   #1
digithead1011
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
Exclamation LVM2 volume group not seen after FC4 install


I have a Intel Celeron system currently running Fedora Core 3. I have 2 internal hard drives: hda has swap, /boot, and an LVM1 volume group with 2 logical partitions. FC3 is installed on one of these partitions (/dev/mapper/rootvg-RootVol01). The other disk, hdb, belongs to an LVM2 volume group and contains all my data. Things have been running quite well under FC3, but I wanted to move to FC4.

After installing FC4 onto the 2nd LVM partition on hda (/dev/mapper/rootvg-RootVol02), I can't see the LVM2 volume group at all. vgscan doesn't even show it. Can anybody help me? I'm not even sure how to double check that my FC4 kernel has LVM2 support.

Thanks,
Rob
 
Old 07-28-2005, 11:53 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
It may need to be activated. Try running:

vgchange -a y

Sometimes it helps to run this grouping to get the activation to work:

vgscan
lvscan
vgchange -a y

And, yes, FC4 does support LVM2.
 
Old 07-29-2005, 02:01 PM   #3
digithead1011
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, I'll give that a try.
 
Old 07-29-2005, 06:42 PM   #4
digithead1011
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
That didn't seem to help. Here's what the output from the commands:

Code:
[root@playground ~]# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "rootvg" using metadata type lvm1
[root@playground ~]# lvscan
  ACTIVE            '/dev/rootvg/RootVol01' [6.86 GB] normal
  ACTIVE            '/dev/rootvg/RootVol02' [6.86 GB] normal
[root@playground ~]# vgchange -a y
  2 logical volume(s) in volume group "rootvg" now active
 
Old 07-30-2005, 02:27 PM   #5
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Try running:

pvdisplay -m

If the physical volumes can be detected, then there is still some hope of activating the vg/lv's.

If that works, also run:

vgdisplay
lvdisplay -m
 
Old 08-02-2005, 11:46 AM   #6
digithead1011
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry for the slow reply - I've been out sick the past 2 days.

pvdisplay -m only shows the LVM1 physical volume - /dev/hda3. It does not show /dev/hdb at all.

Last edited by digithead1011; 08-02-2005 at 08:37 PM.
 
Old 10-09-2005, 09:25 PM   #7
digithead1011
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
In case anybody else runs into this, I found the problem & solution. When I created the LVM2 under FC3, I used the entire disk hdb, not just one partition within it. Somehow, though, the partition map on the disk got out of whack. It said that there was a single partition that was 1023 blocks long with a type of 0x55. I deleted that partition from the map, wrote it out to disk, and then did a pvdisplay /dev/hdb under FC4 and it showed up fine. Another reboot under FC4 and the devices were created and I was in business.
 
  


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
Can't extend volume group flv7a Linux - General 13 09-14-2010 03:04 PM
Partitions under LVM Volume Group won't mount after install jimisola Mandriva 4 11-16-2005 04:17 PM
LVM2 on Sarge - HD failure in the volume group container /root Golovko Debian 3 06-20-2005 09:54 PM
Does Anyone Know About The Hard Drive Volume Group harley51 Fedora 1 11-21-2004 07:13 PM
Hard Drive Volume Group harley51 Fedora 0 11-20-2004 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 06:14 AM.

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