Fedora - Installation This forum is for the discussion of installation issues with Fedora. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-28-2005, 08:14 PM
|
#1
|
LQ Newbie
Registered: Jul 2005
Posts: 5
Rep:
|
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
|
|
|
07-28-2005, 11:53 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
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.
|
|
|
07-29-2005, 02:01 PM
|
#3
|
LQ Newbie
Registered: Jul 2005
Posts: 5
Original Poster
Rep:
|
Thanks, I'll give that a try.
|
|
|
07-29-2005, 06:42 PM
|
#4
|
LQ Newbie
Registered: Jul 2005
Posts: 5
Original Poster
Rep:
|
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
|
|
|
07-30-2005, 02:27 PM
|
#5
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
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
|
|
|
08-02-2005, 11:46 AM
|
#6
|
LQ Newbie
Registered: Jul 2005
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
10-09-2005, 09:25 PM
|
#7
|
LQ Newbie
Registered: Jul 2005
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|