[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#263046: confuses lvm and raid partitions

Package: partman
Severity: important
Tags: d-i

Partman seems to get confused about identical sized lvm and raid
partitions. I select one of the raid partitions and it insists on
thinking I told it to set up a lvm partition.

This is probably just because the choice in the list has exactly the
same text: "#1   1.0 GB".

Details: I have only one disk, but as part of testing I split it into 8
1 mb raid partitions, and a lvm array. The lvm was split into some 1 gb
LV's. The raid partitions were used to make some raid 1 and raid 5
arrays, some of which came out to be 1.0 gb in size. The resulting
partition table looks something like this:

LVM VG foo, LV bar - 1.0 GB
	#1    1.0 GB   ext3   /tmp
LVM VG foo, LV baz - 1.0 GB
	#1    1.0 GB
LVM VG foo, LV ook - 1.0 GB
	#1    1.0 GB
RAID1 device #0 - 1.0 GB Software RAID device
	#1    1.0 GB
RAID0 device #1 - 2.0 GB Software RAID device
	#1    2.0 GB   ext3  /usr

If I select the first RAID partition, the next screen says "you are
editing partition #1 of LVM VG foo, LV baz". Note that that partition
has the identical text in the select list.. I guess that something
unique should be added to the LVM and raid parititons to disambiguate.

I have the same problem if I pick LVM LV ook's partition; since it looks
the same as the previous LVM partition.

Note that this would probably also affect identical sized regular
partitions on different drives, if they had the same partition number.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=en_US, LC_CTYPE=en_US

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: