Fedora - InstallationThis 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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.