Mailinglist Archive: opensuse-bugs (4046 mails)

< Previous Next >
[Bug 712177] Not possible to install on a Intel Matrix Storage Raid1 config

https://bugzilla.novell.com/show_bug.cgi?id=712177

https://bugzilla.novell.com/show_bug.cgi?id=712177#c15


Thomas Fehr <fehr@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |fehr@xxxxxxxxxx
AssignedTo|fehr@xxxxxxxxxx |puzel@xxxxxxxxxx

--- Comment #15 from Thomas Fehr <fehr@xxxxxxxxxx> 2011-08-24 16:52:44 UTC ---
Ok, here you said "no" to the question if your raid should be managed by md
driver.
The consequences is that your raid is managed by dmraid and your device names
are /dev/mapper/isw_cecaadgiie_Volume0 for the dmraid "disk" and
/dev/mapper/isw_cecaadgiie_Volume0_part[0-9]+ for the "partitions" of that
disk.

In the log attached in initial report you said "Yes" to the question and your
raids were
afterwards managed by md driver. Your raid "disk" was /dev/md126 and your
"partitions"
were /dev/md126p[0-9]+. So this works as expected so far.

The problem with partitioning the dmraid device seems to one with parted.
parted seems to have a problem handling creation (and removal) of logical
partitions on dm devices.

Petr: My tests here show that the problem starts after the first logical
partition
is created (creation partition 5 still works), creation of the second logical
partition (partition 6) fails:

inst-sys:~ # parted --align=optimal /dev/mapper/isw_cfffigicif_test2
GNU Parted 2.3
Using /dev/mapper/isw_cfffigicif_test2
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel msdos
Warning: The existing disk label on /dev/mapper/isw_cfffigicif_test2 will be
destroyed and all data on this disk will be lost. Do you want to continue?
Yes/No? Y
(parted) p
Model: Linux device-mapper (mirror) (dm)
Disk /dev/mapper/isw_cfffigicif_test2: 10.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags

(parted) mkpart primary 1M 200M
(parted) mkpart primary 200M 2G
(parted) mkpart primary 2G 5G
(parted) mkpart extended 5G 10.5G
(parted) mkpart logical 5G 6G
(parted) mkpart logical 6G 7G
device-mapper: remove ioctl failed: Device or resource busy
Warning: parted was unable to re-read the partition table on
/dev/mapper/isw_cfffigicif_test2 (Device or resource busy). This means Linux
won't know anything about the modifications you made.
(parted) quit
Information: You may need to update /etc/fstab.

inst-sys:~ # dmsetup table
isw_cfffigicif_test2_part5: 0 1951744 linear 253:4 2048
isw_cfffigicif_test2_part4: 0 10704896 linear 253:0 9764864
isw_cfffigicif_test2: 0 20470528 mirror core 2 16384 nosync 2 8:16 0 8:32 0 1
handle_errors
inst-sys:~ #

Reassigning to parted maintainer.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References