dmraid-activate is broken for isw arrays (dmraid rc15)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dmraid (Debian) |
Confirmed
|
Undecided
|
Unassigned | ||
dmraid (Fedora) |
New
|
Undecided
|
Unassigned | ||
dmraid (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Dist: Ubuntu 8.10 Server
Hardware: System Sunfire 2250
root@lolly:~# dmraid -ay
RAID set "isw_hgbhachhf_
RAID set "isw_hgbhachhf_
RAID set "isw_hgbhachhf_
root@lolly:~# dpkg -l | grep dmraid
ii dmraid 1.0.0.rc14-
ii libdmraid1.0.0.rc14 1.0.0.rc14-
root@lolly:~# dmraid -r
/dev/sdb: isw, "isw_hgbhachhf", GROUP, ok, 1953525165 sectors, data@ 0
/dev/sda: isw, "isw_hgbhachhf", GROUP, ok, 1953525165 sectors, data@ 0
root@lolly:~# dmraid -b
/dev/sdb: 1953525168 total, "GTF000PAKD6J8F"
/dev/sda: 1953525168 total, "GTF000PAKG99LF"
root@lolly:~# dmraid -V
dmraid version: 1.0.0.rc14 (2006.11.08) shared
dmraid library version: 1.0.0.rc14 (2006.11.08)
device-mapper version: 4.14.0
root@lolly:~# dmraid -s
*** Group superset isw_hgbhachhf
--> Active Subset
name : isw_hgbhachhf_
size : 1953519616
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
root@lolly:~# dmraid -rD -d -d -d -v -v -v
WARN: locking /var/lock/
NOTICE: /dev/sdb: asr discovering
NOTICE: /dev/sdb: ddf1 discovering
NOTICE: /dev/sdb: hpt37x discovering
NOTICE: /dev/sdb: hpt45x discovering
NOTICE: /dev/sdb: isw discovering
NOTICE: writing metadata file "sdb_isw.dat"
NOTICE: writing offset to file "sdb_isw.offset"
NOTICE: writing size to file "sdb_isw.size"
NOTICE: /dev/sdb: isw metadata discovered
NOTICE: /dev/sdb: jmicron discovering
NOTICE: /dev/sdb: lsi discovering
NOTICE: /dev/sdb: nvidia discovering
NOTICE: /dev/sdb: pdc discovering
NOTICE: /dev/sdb: sil discovering
NOTICE: /dev/sdb: via discovering
NOTICE: /dev/sda: asr discovering
NOTICE: /dev/sda: ddf1 discovering
NOTICE: /dev/sda: hpt37x discovering
NOTICE: /dev/sda: hpt45x discovering
NOTICE: /dev/sda: isw discovering
NOTICE: writing metadata file "sda_isw.dat"
NOTICE: writing offset to file "sda_isw.offset"
NOTICE: writing size to file "sda_isw.size"
NOTICE: /dev/sda: isw metadata discovered
NOTICE: /dev/sda: jmicron discovering
NOTICE: /dev/sda: lsi discovering
NOTICE: /dev/sda: nvidia discovering
NOTICE: /dev/sda: pdc discovering
NOTICE: /dev/sda: sil discovering
NOTICE: /dev/sda: via discovering
INFO: RAID devices discovered:
/dev/sdb: isw, "isw_hgbhachhf", GROUP, ok, 1953525165 sectors, data@ 0
/dev/sda: isw, "isw_hgbhachhf", GROUP, ok, 1953525165 sectors, data@ 0
WARN: unlocking /var/lock/
Everything looks as it should.
Pull One Drive from the mirror and you get:
Giving up waiting for root device. Common Problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/
Dropping to shell!
BusyBox v1.10.2 ..
(initramfs) dmraid -ay
ctrl-d
ERROR: isw: unsupported map state 0x2 on /dev/sda for Mirror
ERROR: adding /dev/sda to RAID set "isw_hgbhachhf"
ERROR: removing RAID set "isw_hgbhachhf"
Related branches
description: | updated |
Changed in dmraid: | |
status: | New → Confirmed |
Hi,
Unfortunately dmraid 1.0.0.rc14 doesn't support intel degraded raid disk, you should try rc15 version on jaunty.
Cheers,
Giuseppe.