[Bug 311179] Re: libparted does not return the correct devices to ubiquity
Phillip Susi
psusi at cfl.rr.com
Fri Jan 6 18:21:50 UTC 2012
This is a bug in dmraid.patch. It identifies the raid10 as a partition
because its dependencies are also device-mapper devices, and so excludes
it. I have an idea on how to fix this.
** Changed in: parted (Ubuntu)
Importance: Undecided => Medium
** Changed in: parted (Ubuntu)
Status: New => In Progress
** Changed in: parted (Ubuntu)
Assignee: (unassigned) => Phillip Susi (psusi)
** Summary changed:
- libparted does not return the correct devices to ubiquity
+ libparted hides fakeraid raid10 disks
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/311179
Title:
libparted hides fakeraid raid10 disks
Status in “parted” package in Ubuntu:
In Progress
Bug description:
Binary package hint: libparted1.8-9
I've installed ubuntu 8.10 on a fakeraid raid10-set.
I booted using the live-cd and then installed dmraid manually
My raid-set was detected correctly and showed up in /dev/mapper.
Then I started ubiquity, but the installer did not show my
read10-device. He did show me the 2 raid0-set that are part of the
raid10-set. ubiquity is using parted_devices and parted_devices is
using libparted.
When I run parted_devices manually I get the following results:
/dev/sda 500107862016 ATA ST3500320AS
/dev/sdb 500107862016 ATA ST3500320AS
/dev/sdc 500107862016 ATA ST3500320AS
/dev/sdd 500107862016 ATA ST3500320AS
/dev/mapper/isw_bfgggbebhf_diskset-0 1000210694144 Linux device-mapper
/dev/mapper/isw_bfgggbebhf_diskset-1 1000210694144 Linux device-mapper
I would expect the following result:
/dev/mapper/isw_bfgggbebhf_diskset 1000210694144 Linux device-mapper
It looks like that the patch parted-dmraid.dpatch in libparted is
causing the problems. I removed this patch, build and installed
libparted and then my raid10-device showed up.
I think that the new function _is_dmraid_major is not correct.
isw_bfgggbebhf_diskset is the slave of my partitions, but still is the
major device.
output of /dev/mapper:
crw-rw---- 1 root root 10, 60 2008-12-24 11:04 control
brw-rw---- 1 root disk 254, 0 2008-12-24 11:04 isw_bfgggbebhf_diskset
brw-rw---- 1 root disk 254, 2 2008-12-24 11:04 isw_bfgggbebhf_diskset-0
brw-rw---- 1 root disk 254, 3 2008-12-24 11:04 isw_bfgggbebhf_diskset1
brw-rw---- 1 root disk 254, 1 2008-12-24 11:04 isw_bfgggbebhf_diskset-1
brw-rw---- 1 root disk 254, 4 2008-12-24 11:04 isw_bfgggbebhf_diskset3
brw-rw---- 1 root disk 254, 6 2008-12-24 11:04 isw_bfgggbebhf_diskset5
brw-rw---- 1 root disk 254, 7 2008-12-24 11:04 isw_bfgggbebhf_diskset6
contents of /sys/block/dm*/slaves/
dm-0/slaves/:
dm-1 dm-2
dm-1/slaves/:
sdb sdd
dm-2/slaves/:
sda sdc
dm-3/slaves/:
dm-0
dm-4/slaves/:
dm-0
dm-6/slaves/:
dm-0
dm-7/slaves/:
dm-0
version of libparted: 1.8.8.git.2008.03.24-7ubuntu7
regards,
Theo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/311179/+subscriptions
More information about the foundations-bugs
mailing list