GParted does not recognize my LVM partitions

Bug #72600 reported by Chris Heeney
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

First, I am just learning Linux so please be gentle ;-)

This bug seems to be similar to bug #67130 by I don't think the workaround helps in my case or maybe I just need more details. Also, there seems to be additional problems with Gparted recognizing my logical partitions.

Gparted in "Prepare partitions" does not seem to recognize my LVM partition. It displays two partitions:
1) /dev/hda1 is pointing to my boot and swap partition and is recognized as a ext3 filesystem. It has a flag of "boot".
2) /dev/hda2 filesystem is "unknown" with a flag of "lvm"

I have a single 40GB harddrive with one Volume Group defined using LVM2: VolGroup00. Within this volume group I have defined four Logical Volumes: LogVol00, LogVol01, openSUSE, and ubuntu.

"/dev/hda1" is assigned to LogVol01 and "/dev/hda2" is assigned to LogVol00.

- LogVol01 is the /boot partition and used as the swap partition for all OS's.
- LogVol00 is a 10GB partition with Fedora Core installed on it.
- openSUSE is another 10GB partition with openSUSE 10.2 Beta 2 installed on it.
- Ubuntu is another 10GB partition and I am trying to install ubuntu 6.10 to it.

I was hoping that I would be able to edit the partition table manually to point to the "ubuntu" logical partition but I eventually run into the problem identified in bug #61730.

Q1) Why does GParted not display all of my logical partitions?

Q2) Is this a bug or have I just not done something properly?

Q3) If this is a bug, Is there a workaround available to get ubuntu to install on this logical partition or should

Thanks,

Chris

Chris Heeney (heeney-cs)
description: updated
Chris Heeney (heeney-cs)
description: updated
Revision history for this message
Stéphane Graber (stgraber) wrote :

As far as I know gparted doesn't (for the moment) support LVM, the only way to install Ubuntu with a LVM support is to use the alternate CD.
And once installed I don't know any graphical tools to play with the LVM.

Revision history for this message
Chris Heeney (heeney-cs) wrote :

Thanks Stephane,

I went to the GParted project features page http://gparted.sourceforge.net/features.php and ther is no indication of support for Logical Volume Manager(LVM).

A seperate toolset is probably required to detect and work with LVM partitions. If this is the case, then it would be appropriate to have an LVM detection utility when analyzing the partitioning scheme. An advanced option maybe?

I ended up blowing everything away and starting from scratch. Its a great way to learn :-)

I would prefer to use LVM 2 for my linux partitions because it provides more flexability. However, that will have to wait until either GParted supports it or I can figure out how to do it in Ubuntu. Interestingly enough, with my re-install I did see an option that would allow me to use/create an LVM. So, as long as Ubuntu is my first linux install, I may be able to create an LVM from a single linux primary partition. I will try that next time.

In any case, this time I just used the following primary and extended partitions:
[hda0,1] - 1st primary partition is windows. Formatted as FAT32(VFAT) with Logical block Addressing(LBA). Linux can read and write to FAT32 and GRUB works with LBA to boot beyond the 1024 cylinder limitation. Note that older drives do not support LBA.
[hda0,2] - 2nd primary partition is for the shared swap partition which is located at the end of the drive for enhanced performance. This is only true for newer drives.
[hda0,3] - 3rd primary partition is the extended partition.
[hda0,5] - 1st logical partition for the 1st Linux distribution: Ubuntu
[hda0,6] - 2nd logical partition for the 2nd Linux distribution: Fedora Core
[hda0,7] - 3rd logical partition for the 3rd Linux distribution: openSUSE
[hda0,8] - 4th logical partition for FAT32 shared media for all OS's.

I installed winxp first, followed by Ubuntu 6.10. Ubuntu saw all the partitions this time and I was able to install it properly. I installed Fedora core afterwards and it installed fine as well.

The only regret with this install was that I did not create a shared /boot partition. If that was the case I would not have had to manually edit the /boot/grub/menu.lst file under Ubuntu. Once I found the "gksudo nautilus" it was a breeze....but before that, trying to figure out how to edit config files under Ubuntu was turning into a nightware =:-O

So I am not sure wether I am supposed to "close" or "complete" this now. Who is responsible for changing the "status"?

Thanks,

Chris

Revision history for this message
Stéphane Graber (stgraber) wrote :

There are two possibilities :
 - You can simply change the status for this bug and mark it completed
 - Ask someone to move it as a Wish for gparted

As I said, Ubuntu can be installed on a LVM without any problem but with the "alternate" cdrom instead of the "desktop" cdrom.
The alternate uses the old installer and doesn't do the LiveCD part.

Revision history for this message
Brian Murray (brian-murray) wrote :

I wanted to follow up with you about your bug report regarding gparted not supporting LVM partitions. I could close the bug for you but wanted to make sure that you are happy with that. Thanks.

Changed in gparted:
assignee: nobody → brian-murray
status: Unconfirmed → Needs Info
Revision history for this message
Chris Heeney (heeney-cs) wrote :

Please go ahead and close this bug Brian. I would, but I either don't have authority or just can't figure out how to change the status.

Thanks.

Revision history for this message
Chris Heeney (heeney-cs) wrote : Re: [Bug 72600] Re: GParted does not recognize my LVM partitions

Thanks Brian.

I could not figure out how to change the status to completed/closed so i
left a message in the bug report for that it was fine to close it.
Thanks 4 the help :)

Chris

On 1/30/07, Brian Murray <email address hidden> wrote:
>
> I wanted to follow up with you about your bug report regarding gparted
> not supporting LVM partitions. I could close the bug for you but wanted
> to make sure that you are happy with that. Thanks.
>
> ** Changed in: gparted (Ubuntu)
> Assignee: (unassigned) => Brian Murray
> Status: Unconfirmed => Needs Info
>
> --
> GParted does not recognize my LVM partitions
> https://launchpad.net/bugs/72600
>

Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for your bug report we are closing it per your request.

Changed in gparted:
assignee: brian-murray → nobody
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.