dmraid on raid0 disks with Intel 82801 controller

Bug #162484 reported by mcRafen
2
Affects Status Importance Assigned to Milestone
dmraid (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: dmraid

Hi, I installed Gusty on my new machine with an Intel 82801 RAID (fakeraid) controller following web instructions and using dmraid module (version 1.0.0.rc13-2ubuntu5). Now grub isn't able to mount raid device, so I restarted from Kubuntu live DVD. I reinstalled dmraid module (same previous version). Now I don't see my RAID0 array (named RAIDOS), but only mirror raid set (named RAIDDATI).

ubuntu@ubuntu:~$ sudo dmraid -r
/dev/sda: isw, "isw_fbcbfefhj", GROUP, ok, 625142446 sectors, data@ 0
/dev/sdb: isw, "isw_fbcbfefhj", GROUP, ok, 625142446 sectors, data@ 0
/dev/sdc: isw, "isw_bhgieiicde", GROUP, ok, 488397166 sectors, data@ 0
/dev/sdd: isw, "isw_bhgieiicde", GROUP, ok, 488397166 sectors, data@ 0

ubuntu@ubuntu:~$ sudo dmraid -ay
RAID set "isw_bhgieiicde_RAIDDATI" already active

I did search a lot, but I didn't found any suggestion. My dmesg command report this:

......
[ 360.413238] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: <email address hidden>
[ 361.433578] device-mapper: table: 254:0: striped: Couldn't parse stripe destination
[ 361.433583] device-mapper: ioctl: error adding target to table
......

Thank's in advance.

Enrico

Revision history for this message
Phillip Susi (psusi) wrote :

Please post the full output of sudo dmraid -ayvd

Revision history for this message
mcRafen (enrico-raffaello) wrote :

It seems to find both raid sets....

****

ubuntu@ubuntu:~$ sudo dmraid -ay -d -v
DEBUG: _find_set: searching isw_fbcbfefhj
DEBUG: _find_set: not found isw_fbcbfefhj
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: not found isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: not found isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: searching isw_fbcbfefhj
DEBUG: _find_set: found isw_fbcbfefhj
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: found isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: found isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: searching isw_bhgieiicde
DEBUG: _find_set: not found isw_bhgieiicde
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde
DEBUG: _find_set: found isw_bhgieiicde
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: found isw_bhgieiicde_RAIDDATI
DEBUG: checking isw device "/dev/sda"
DEBUG: checking isw device "/dev/sdb"
DEBUG: set status of set "isw_fbcbfefhj_RAIDOS" to 16
DEBUG: set status of set "isw_fbcbfefhj" to 16
DEBUG: checking isw device "/dev/sdc"
DEBUG: checking isw device "/dev/sdd"
DEBUG: set status of set "isw_bhgieiicde_RAIDDATI" to 16
DEBUG: set status of set "isw_bhgieiicde" to 16
INFO: Activating GROUP RAID set "isw_fbcbfefhj"
RAID set "isw_bhgieiicde_RAIDDATI" already active
INFO: Activating GROUP RAID set "isw_bhgieiicde"
DEBUG: freeing devices of RAID set "isw_fbcbfefhj_RAIDOS"
DEBUG: freeing device "isw_fbcbfefhj_RAIDOS", path "/dev/sda"
DEBUG: freeing device "isw_fbcbfefhj_RAIDOS", path "/dev/sdb"
DEBUG: freeing devices of RAID set "isw_fbcbfefhj"
DEBUG: freeing device "isw_fbcbfefhj", path "/dev/sda"
DEBUG: freeing device "isw_fbcbfefhj", path "/dev/sdb"
DEBUG: freeing devices of RAID set "isw_bhgieiicde_RAIDDATI"
DEBUG: freeing device "isw_bhgieiicde_RAIDDATI", path "/dev/sdc"
DEBUG: freeing device "isw_bhgieiicde_RAIDDATI", path "/dev/sdd"
DEBUG: freeing devices of RAID set "isw_bhgieiicde"
DEBUG: freeing device "isw_bhgieiicde", path "/dev/sdc"
DEBUG: freeing device "isw_bhgieiicde", path "/dev/sdd"

Revision history for this message
Phillip Susi (psusi) wrote :

It looks like it is already running there... run dmraid -an to stop all dmraid devices, and make sure /dev/mapper is empty, then try again.

Revision history for this message
mcRafen (enrico-raffaello) wrote :
Download full text (3.3 KiB)

I launched twice "dmraid -an" command to show you that the first time RAIDOS (raid0 array) was already inactive.

ubuntu@ubuntu:/dev/mapper$ sudo dmraid -an
RAID set "isw_fbcbfefhj_RAIDOS" is not active

ubuntu@ubuntu:/dev/mapper$ sudo dmraid -an
RAID set "isw_fbcbfefhj_RAIDOS" is not active
RAID set "isw_bhgieiicde_RAIDDATI" is not active

ubuntu@ubuntu:/dev/mapper$ cd /dev/mapper

ubuntu@ubuntu:/dev/mapper$ ls -al
total 0
drwxr-xr-x 2 root root 60 2007-11-17 09:14 .
drwxr-xr-x 13 root root 14420 2007-11-17 09:13 ..
crw-rw---- 1 root root 10, 63 2007-11-17 09:11 control

ubuntu@ubuntu:/dev/mapper$ sudo dmraid -ay -d -v
DEBUG: _find_set: searching isw_fbcbfefhj
DEBUG: _find_set: not found isw_fbcbfefhj
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: not found isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: not found isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: searching isw_fbcbfefhj
DEBUG: _find_set: found isw_fbcbfefhj
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: found isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: found isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: searching isw_bhgieiicde
DEBUG: _find_set: not found isw_bhgieiicde
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde
DEBUG: _find_set: found isw_bhgieiicde
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: found isw_bhgieiicde_RAIDDATI
DEBUG: checking isw device "/dev/sda"
DEBUG: checking isw device "/dev/sdb"
DEBUG: set status of set "isw_fbcbfefhj_RAIDOS" to 16
DEBUG: set status of set "isw_fbcbfefhj" to 16
DEBUG: checking isw device "/dev/sdc"
DEBUG: checking isw device "/dev/sdd"
DEBUG: set status of set "isw_bhgieiicde_RAIDDATI" to 16
DEBUG: set status of set "isw_bhgieiicde" to 16
INFO: Activating GROUP RAID set "isw_fbcbfefhj"
INFO: Activating GROUP RAID set "isw_bhgieiicde"
DEBUG: freeing devices of RAID set "isw_fbcbfefhj_RAIDOS"
DEBUG: freeing device "isw_fbcbfefhj_RAIDOS", path "/dev/sda"
DEBUG: freeing device "isw_fbcbfefhj_RAIDOS", path "/dev/sdb"
DEBUG: freeing devices of RAID set "isw_fbcbfefhj"
DEBUG: freeing device "isw_fbcbfefhj", path "/dev/sda"
DEBUG: freeing device "isw_fbcbfefhj", path "/dev/sdb"
DEBUG: freeing devices of RAID set "isw_bhgieiicde_RAIDDATI"
DEBUG: freeing device "isw_bhgieiicde_RAIDDATI", path "/dev/sdc"
DEBUG: freeing device "isw_bhgieiicde_RAIDDATI", path "/dev/sdd"
DEBUG: freeing devices of RAID set "...

Read more...

Revision history for this message
mcRafen (enrico-raffaello) wrote :

I missed to report to you the content of /dev/mapper folder after the "dmraid -ay -d -v" command.

ubuntu@ubuntu:/dev/mapper$ ls -al
total 0
drwxr-xr-x 2 root root 80 2007-11-17 09:14 .
drwxr-xr-x 13 root root 14420 2007-11-17 09:14 ..
crw-rw---- 1 root root 10, 63 2007-11-17 09:11 control
brw-rw---- 1 root disk 254, 0 2007-11-17 09:14 isw_bhgieiicde_RAIDDATI

Bye

Enrico.

Revision history for this message
Phillip Susi (psusi) wrote :

Hrm... it doesn't seem to be printing the exact activation command... try adding more debugging options:

dmraid -ay -vvvv -dddd

According to your dmraid message the kernel didn't like the options it was passed, so I'm trying to get dmraid to show what those options are.

Revision history for this message
mcRafen (enrico-raffaello) wrote :
Download full text (5.5 KiB)

Here is the command result.

ubuntu@ubuntu:/dev/mapper$ sudo dmraid -ay -vvvv -dddd
WARN: locking /var/lock/dmraid/.lock
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: /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
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: /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/sdc: asr discovering
NOTICE: /dev/sdc: ddf1 discovering
NOTICE: /dev/sdc: hpt37x discovering
NOTICE: /dev/sdc: hpt45x discovering
NOTICE: /dev/sdc: isw discovering
NOTICE: /dev/sdc: isw metadata discovered
NOTICE: /dev/sdc: jmicron discovering
NOTICE: /dev/sdc: lsi discovering
NOTICE: /dev/sdc: nvidia discovering
NOTICE: /dev/sdc: pdc discovering
NOTICE: /dev/sdc: sil discovering
NOTICE: /dev/sdc: via discovering
NOTICE: /dev/sdd: asr discovering
NOTICE: /dev/sdd: ddf1 discovering
NOTICE: /dev/sdd: hpt37x discovering
NOTICE: /dev/sdd: hpt45x discovering
NOTICE: /dev/sdd: isw discovering
NOTICE: /dev/sdd: isw metadata discovered
NOTICE: /dev/sdd: jmicron discovering
NOTICE: /dev/sdd: lsi discovering
NOTICE: /dev/sdd: nvidia discovering
NOTICE: /dev/sdd: pdc discovering
NOTICE: /dev/sdd: sil discovering
NOTICE: /dev/sdd: via discovering
DEBUG: _find_set: searching isw_fbcbfefhj
DEBUG: _find_set: not found isw_fbcbfefhj
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: not found isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: not found isw_fbcbfefhj_RAIDOS
NOTICE: added /dev/sda to RAID set "isw_fbcbfefhj"
DEBUG: _find_set: searching isw_fbcbfefhj
DEBUG: _find_set: found isw_fbcbfefhj
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: searching isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: found isw_fbcbfefhj_RAIDOS
DEBUG: _find_set: found isw_fbcbfefhj_RAIDOS
NOTICE: added /dev/sdb to RAID set "isw_fbcbfefhj"
DEBUG: _find_set: searching isw_bhgieiicde
DEBUG: _find_set: not found isw_bhgieiicde
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: searching isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
DEBUG: _find_set: not found isw_bhgieiicde_RAIDDATI
NOTICE: added /dev/sdc to RAID set "isw_bhgieiicde"
DEBUG: _find_set: searching isw_bhg...

Read more...

Revision history for this message
Phillip Susi (psusi) wrote :

Looks like I let this fall through the cracks. If this is still an issue, please update.

Changed in dmraid:
assignee: nobody → psusi
status: New → Incomplete
Revision history for this message
Rich.T. (rich.t.) wrote :
Download full text (3.2 KiB)

Yep, I'm getting it too:

ubuntu@ubuntu:~$ sudo dmraid -ay
ERROR: isw device for volume "Linux" broken on /dev/sda in RAID set "isw_ecbdhhhfe_Linux"
ERROR: isw: wrong # of devices in RAID set "isw_ecbdhhhfe_Linux" [4/2] on /dev/sda
ERROR: isw device for volume "Windows" broken on /dev/sda in RAID set "isw_ecbdhhhfe_Linux"
ERROR: isw: wrong # of devices in RAID set "isw_ecbdhhhfe_Linux" [4/2] on /dev/sda
ERROR: isw device for volume "Linux" broken on /dev/sdb in RAID set "isw_ecbdhhhfe_Linux"
ERROR: isw: wrong # of devices in RAID set "isw_ecbdhhhfe_Linux" [4/2] on /dev/sdb
ERROR: isw device for volume "Windows" broken on /dev/sdb in RAID set "isw_ecbdhhhfe_Linux"
ERROR: isw: wrong # of devices in RAID set "isw_ecbdhhhfe_Linux" [4/2] on /dev/sdb

ubuntu@ubuntu:~$ sudo dmraid -ay -d -v
DEBUG: _find_set: searching isw_ecbdhhhfe
DEBUG: _find_set: not found isw_ecbdhhhfe
DEBUG: _find_set: searching isw_ecbdhhhfe_Linux
DEBUG: _find_set: searching isw_ecbdhhhfe_Linux
DEBUG: _find_set: not found isw_ecbdhhhfe_Linux
DEBUG: _find_set: not found isw_ecbdhhhfe_Linux
DEBUG: _find_set: searching isw_ecbdhhhfe_Linux
DEBUG: _find_set: searching isw_ecbdhhhfe_Linux
DEBUG: _find_set: found isw_ecbdhhhfe_Linux
DEBUG: _find_set: found isw_ecbdhhhfe_Linux
DEBUG: _find_set: searching isw_ecbdhhhfe
DEBUG: _find_set: found isw_ecbdhhhfe
DEBUG: _find_set: searching isw_ecbdhhhfe_Linux
DEBUG: _find_set: searching isw_ecbdhhhfe_Linux
DEBUG: _find_set: found isw_ecbdhhhfe_Linux
DEBUG: _find_set: found isw_ecbdhhhfe_Linux
DEBUG: _find_set: searching isw_ecbdhhhfe_Linux
DEBUG: _find_set: searching isw_ecbdhhhfe_Linux
DEBUG: _find_set: found isw_ecbdhhhfe_Linux
DEBUG: _find_set: found isw_ecbdhhhfe_Linux
DEBUG: checking isw device "/dev/sda"
ERROR: isw device for volume "Linux" broken on /dev/sda in RAID set "isw_ecbdhhhfe_Linux"
ERROR: isw: wrong # of devices in RAID set "isw_ecbdhhhfe_Linux" [4/2] on /dev/sda
DEBUG: checking isw device "/dev/sda"
ERROR: isw device for volume "Windows" broken on /dev/sda in RAID set "isw_ecbdhhhfe_Linux"
ERROR: isw: wrong # of devices in RAID set "isw_ecbdhhhfe_Linux" [4/2] on /dev/sda
DEBUG: checking isw device "/dev/sdb"
ERROR: isw device for volume "Linux" broken on /dev/sdb in RAID set "isw_ecbdhhhfe_Linux"
ERROR: isw: wrong # of devices in RAID set "isw_ecbdhhhfe_Linux" [4/2] on /dev/sdb
DEBUG: checking isw device "/dev/sdb"
ERROR: isw device for volume "Windows" broken on /dev/sdb in RAID set "isw_ecbdhhhfe_Linux"
ERROR: isw: wrong # of devices in RAID set "isw_ecbdhhhfe_Linux" [4/2] on /dev/sdb
DEBUG: set status of set "isw_ecbdhhhfe_Linux" to 2
DEBUG: set status of set "isw_ecbdhhhfe" to 4
INFO: Activating GROUP RAID set "isw_ecbdhhhfe"
DEBUG: freeing devices of RAID set "isw_ecbdhhhfe_Linux"
DEBUG: freeing device "isw_ecbdhhhfe_Linux", path "/dev/sda"
DEBUG: freeing device "isw_ecbdhhhfe_Linux", path "/dev/sda"
DEBUG: freeing device "isw_ecbdhhhfe_Linux", path "/dev/sdb"
DEBUG: freeing device "isw_ecbdhhhfe_Linux", path "/dev/sdb"
DEBUG: freeing devices of RAID set "isw_ecbdhhhfe"
DEBUG: freeing device "isw_ecbdhhhfe", path "/dev/sda"
DEBUG: freeing device "isw_ecbdhhhfe", path "/dev/sdb"

I'm keeping an eye on; https://bugs.lau...

Read more...

Phillip Susi (psusi)
Changed in dmraid (Ubuntu):
assignee: Phillip Susi (psusi) → nobody
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.