Re: Intel Storage Manager Raid 5 support

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

 





Many tx .. However ... after spending a day fiddling and googling .. it appears that I need the version for
2.6.24-19 ... not 16 as per your post.

check out this link ..

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/220493

Being a newb I have no ideas :-(

Attached is some snips of my attempts to-date...  Still does not like it .

Makes all of the right noises but there is nothing in /dev/mapper

And when I do a modprobe -r
and then a modprobe  dm-raid45
 it comes up with  invalid module format.

Please help

Regards
Peter



<snip from post>

I believe this is in hardy-updates:

bdmurray@superman:~$ modinfo dm-raid45
filename: /lib/modules/2.6.24-19-generic/ubuntu/md/dm-raid45.ko
license: GPL
author: Heinz Mauelshagen <email address hidden>
description: device-mapper raid4/5 target
license: GPL
author: Heinz Mauelshagen <email address hidden>
description: device-mapper device-mapper dirty log
license: GPL
author: Heinz Mauelshagen <email address hidden>
description: device-mapper dm memory cache
license: GPL
author: Heinz Mauelshagen <email address hidden>
description: device-mapper region hash
license: GPL
author: Heinz Mauelshagen <email address hidden>
description: device-mapper device-mapper target message parser
srcversion: E1BE8207EC7EC04F1B4FDA0
depends: dm-mod
vermagic: 2.6.24-19-generic SMP mod_unload 586





Antti Mäkelä wrote:
On Tue, 7 Oct 2008, Peter de Groot wrote:

When I do an dmraid -l, it says that only raid 0 and 1 are supported for
isw, which I am
presuming is the correct device for this fake-raid setup ??

  Follow the instructions in THIS bug:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/220493

  I used that to boot up Ubuntu LiveCD and installed Gentoo :) Anyway, the key part is this (for amd64, for x86, it's there too).

sudo su
echo "deb http://archive.ubuntu.com/ubuntu hardy universe" >> /etc/apt/sources.list
apt-get update; apt-get install dmraid
cd /lib/modules/2.6.24-16-generic/ubuntu/md
wget http://launchpadlibrarian.net/14522732/dm-raid45.ko-amd64
mv dm-raid45.ko-amd64 dm-raid45.ko

Edit /lib/modules/2.6.24-16-generic/modules.dep and add
/lib/modules/2.6.24-16-generic/ubuntu/md/dm-raid45.ko: /lib/modules/2.6.24-16-generic/kernel/drivers/md/dm-mod.ko

dmraid -ay

Then you can mount your raid5 volumes just fine.

Again, this is partially due to the fact that the patches here expect dm-raid4-5.ko, not dm-raid45.ko (even though Thomas Backlund on this list said that he's never had this issue - so not sure why this isn't being addressed).


--

Peter de Groot
Eastern Goldfields College
Kalgoorlie 6430
Department of Education and Training
Phone 90801800 Fax 90801866 Mob 0418915312

Script started on Wed 08 Oct 2008 03:38:35 PM UTC



root@ubuntu: /root@ubuntu:/# dmraid -n
/dev/sdd (isw):
0x000 sig: "  Intel Raid ISM Cfg Sig. 1.2.02"
0x020 check_sum: 7110881
0x024 mpb_size: 584
0x028 family_num: 3948691038
0x02c generation_num: 8
0x030 reserved[0]: 4080
0x034 reserved[1]: 3221225472
0x038 num_disks: 4
0x039 num_raid_devs: 1
0x03a fill[0]: 0
0x03b fill[1]: 0
0x0d8 disk[0].serial: " WD-WCAS85875206"
0x0e8 disk[0].totalBlocks: 976773168
0x0ec disk[0].scsiId: 0x0
0x0f0 disk[0].status: 0x13a
0x108 disk[1].serial: " WD-WCAS85877000"
0x118 disk[1].totalBlocks: 976773168
0x11c disk[1].scsiId: 0x100
0x120 disk[1].status: 0x13a
0x138 disk[2].serial: " WD-WCAS85876487"
0x148 disk[2].totalBlocks: 976773168
0x14c disk[2].scsiId: 0x10000
0x150 disk[2].status: 0x13a
0x168 disk[3].serial: " WD-WCAS85891252"
0x178 disk[3].totalBlocks: 976773168
0x17c disk[3].scsiId: 0x10100
0x180 disk[3].status: 0x13a
0x198 isw_dev[0].volume: "         Volume0"
0x1ac isw_dev[0].SizeHigh: 0
0x1a8 isw_dev[0].SizeLow: 2930302976
0x1b0 isw_dev[0].status: 0xc
0x1b4 isw_dev[0].reserved_blocks: 0
0x1b8 isw_dev[0].filler[0]: 65536
0x1f0 isw_dev[0].vol.migr_state: 0
0x1f1 isw_dev[0].vol.migr_type: 0
0x1f2 isw_dev[0].vol.dirty: 0
0x1f3 isw_dev[0].vol.fill[0]: 255
0x208 isw_dev[0].vol.map.pba_of_lba0: 0
0x20c isw_dev[0].vol.map.blocks_per_member: 976768003
0x210 isw_dev[0].vol.map.num_data_stripes: 7630998
0x214 isw_dev[0].vol.map.blocks_per_strip: 128
0x216 isw_dev[0].vol.map.map_state: 1
0x217 isw_dev[0].vol.map.raid_level: 5
0x218 isw_dev[0].vol.map.num_members: 4
0x219 isw_dev[0].vol.map.reserved[0]: 1
0x21a isw_dev[0].vol.map.reserved[1]: 255
0x21b isw_dev[0].vol.map.reserved[2]: 1
0x238 isw_dev[0].vol.map.disk_ord_tbl[0]: 0x0
0x23c isw_dev[0].vol.map.disk_ord_tbl[1]: 0x1
0x240 isw_dev[0].vol.map.disk_ord_tbl[2]: 0x2
0x244 isw_dev[0].vol.map.disk_ord_tbl[3]: 0x3

/dev/sdc (isw):
0x000 sig: "  Intel Raid ISM Cfg Sig. 1.2.02"
0x020 check_sum: 7110881
0x024 mpb_size: 584
0x028 family_num: 3948691038
0x02c generation_num: 8
0x030 reserved[0]: 4080
0x034 reserved[1]: 3221225472
0x038 num_disks: 4
0x039 num_raid_devs: 1
0x03a fill[0]: 0
0x03b fill[1]: 0
0x0d8 disk[0].serial: " WD-WCAS85875206"
0x0e8 disk[0].totalBlocks: 976773168
0x0ec disk[0].scsiId: 0x0
0x0f0 disk[0].status: 0x13a
0x108 disk[1].serial: " WD-WCAS85877000"
0x118 disk[1].totalBlocks: 976773168
0x11c disk[1].scsiId: 0x100
0x120 disk[1].status: 0x13a
0x138 disk[2].serial: " WD-WCAS85876487"
0x148 disk[2].totalBlocks: 976773168
0x14c disk[2].scsiId: 0x10000
0x150 disk[2].status: 0x13a
0x168 disk[3].serial: " WD-WCAS85891252"
0x178 disk[3].totalBlocks: 976773168
0x17c disk[3].scsiId: 0x10100
0x180 disk[3].status: 0x13a
0x198 isw_dev[0].volume: "         Volume0"
0x1ac isw_dev[0].SizeHigh: 0
0x1a8 isw_dev[0].SizeLow: 2930302976
0x1b0 isw_dev[0].status: 0xc
0x1b4 isw_dev[0].reserved_blocks: 0
0x1b8 isw_dev[0].filler[0]: 65536
0x1f0 isw_dev[0].vol.migr_state: 0
0x1f1 isw_dev[0].vol.migr_type: 0
0x1f2 isw_dev[0].vol.dirty: 0
0x1f3 isw_dev[0].vol.fill[0]: 255
0x208 isw_dev[0].vol.map.pba_of_lba0: 0
0x20c isw_dev[0].vol.map.blocks_per_member: 976768003
0x210 isw_dev[0].vol.map.num_data_stripes: 7630998
0x214 isw_dev[0].vol.map.blocks_per_strip: 128
0x216 isw_dev[0].vol.map.map_state: 1
0x217 isw_dev[0].vol.map.raid_level: 5
0x218 isw_dev[0].vol.map.num_members: 4
0x219 isw_dev[0].vol.map.reserved[0]: 1
0x21a isw_dev[0].vol.map.reserved[1]: 255
0x21b isw_dev[0].vol.map.reserved[2]: 1
0x238 isw_dev[0].vol.map.disk_ord_tbl[0]: 0x0
0x23c isw_dev[0].vol.map.disk_ord_tbl[1]: 0x1
0x240 isw_dev[0].vol.map.disk_ord_tbl[2]: 0x2
0x244 isw_dev[0].vol.map.disk_ord_tbl[3]: 0x3

/dev/sdb (isw):
0x000 sig: "  Intel Raid ISM Cfg Sig. 1.2.02"
0x020 check_sum: 7110881
0x024 mpb_size: 584
0x028 family_num: 3948691038
0x02c generation_num: 8
0x030 reserved[0]: 4080
0x034 reserved[1]: 3221225472
0x038 num_disks: 4
0x039 num_raid_devs: 1
0x03a fill[0]: 0
0x03b fill[1]: 0
0x0d8 disk[0].serial: " WD-WCAS85875206"
0x0e8 disk[0].totalBlocks: 976773168
0x0ec disk[0].scsiId: 0x0
0x0f0 disk[0].status: 0x13a
0x108 disk[1].serial: " WD-WCAS85877000"
0x118 disk[1].totalBlocks: 976773168
0x11c disk[1].scsiId: 0x100
0x120 disk[1].status: 0x13a
0x138 disk[2].serial: " WD-WCAS85876487"
0x148 disk[2].totalBlocks: 976773168
0x14c disk[2].scsiId: 0x10000
0x150 disk[2].status: 0x13a
0x168 disk[3].serial: " WD-WCAS85891252"
0x178 disk[3].totalBlocks: 976773168
0x17c disk[3].scsiId: 0x10100
0x180 disk[3].status: 0x13a
0x198 isw_dev[0].volume: "         Volume0"
0x1ac isw_dev[0].SizeHigh: 0
0x1a8 isw_dev[0].SizeLow: 2930302976
0x1b0 isw_dev[0].status: 0xc
0x1b4 isw_dev[0].reserved_blocks: 0
0x1b8 isw_dev[0].filler[0]: 65536
0x1f0 isw_dev[0].vol.migr_state: 0
0x1f1 isw_dev[0].vol.migr_type: 0
0x1f2 isw_dev[0].vol.dirty: 0
0x1f3 isw_dev[0].vol.fill[0]: 255
0x208 isw_dev[0].vol.map.pba_of_lba0: 0
0x20c isw_dev[0].vol.map.blocks_per_member: 976768003
0x210 isw_dev[0].vol.map.num_data_stripes: 7630998
0x214 isw_dev[0].vol.map.blocks_per_strip: 128
0x216 isw_dev[0].vol.map.map_state: 1
0x217 isw_dev[0].vol.map.raid_level: 5
0x218 isw_dev[0].vol.map.num_members: 4
0x219 isw_dev[0].vol.map.reserved[0]: 1
0x21a isw_dev[0].vol.map.reserved[1]: 255
0x21b isw_dev[0].vol.map.reserved[2]: 1
0x238 isw_dev[0].vol.map.disk_ord_tbl[0]: 0x0
0x23c isw_dev[0].vol.map.disk_ord_tbl[1]: 0x1
0x240 isw_dev[0].vol.map.disk_ord_tbl[2]: 0x2
0x244 isw_dev[0].vol.map.disk_ord_tbl[3]: 0x3

/dev/sda (isw):
0x000 sig: "  Intel Raid ISM Cfg Sig. 1.2.02"
0x020 check_sum: 7110881
0x024 mpb_size: 584
0x028 family_num: 3948691038
0x02c generation_num: 8
0x030 reserved[0]: 4080
0x034 reserved[1]: 3221225472
0x038 num_disks: 4
0x039 num_raid_devs: 1
0x03a fill[0]: 0
0x03b fill[1]: 0
0x0d8 disk[0].serial: " WD-WCAS85875206"
0x0e8 disk[0].totalBlocks: 976773168
0x0ec disk[0].scsiId: 0x0
0x0f0 disk[0].status: 0x13a
0x108 disk[1].serial: " WD-WCAS85877000"
0x118 disk[1].totalBlocks: 976773168
0x11c disk[1].scsiId: 0x100
0x120 disk[1].status: 0x13a
0x138 disk[2].serial: " WD-WCAS85876487"
0x148 disk[2].totalBlocks: 976773168
0x14c disk[2].scsiId: 0x10000
0x150 disk[2].status: 0x13a
0x168 disk[3].serial: " WD-WCAS85891252"
0x178 disk[3].totalBlocks: 976773168
0x17c disk[3].scsiId: 0x10100
0x180 disk[3].status: 0x13a
0x198 isw_dev[0].volume: "         Volume0"
0x1ac isw_dev[0].SizeHigh: 0
0x1a8 isw_dev[0].SizeLow: 2930302976
0x1b0 isw_dev[0].status: 0xc
0x1b4 isw_dev[0].reserved_blocks: 0
0x1b8 isw_dev[0].filler[0]: 65536
0x1f0 isw_dev[0].vol.migr_state: 0
0x1f1 isw_dev[0].vol.migr_type: 0
0x1f2 isw_dev[0].vol.dirty: 0
0x1f3 isw_dev[0].vol.fill[0]: 255
0x208 isw_dev[0].vol.map.pba_of_lba0: 0
0x20c isw_dev[0].vol.map.blocks_per_member: 976768003
0x210 isw_dev[0].vol.map.num_data_stripes: 7630998
0x214 isw_dev[0].vol.map.blocks_per_strip: 128
0x216 isw_dev[0].vol.map.map_state: 1
0x217 isw_dev[0].vol.map.raid_level: 5
0x218 isw_dev[0].vol.map.num_members: 4
0x219 isw_dev[0].vol.map.reserved[0]: 1
0x21a isw_dev[0].vol.map.reserved[1]: 255
0x21b isw_dev[0].vol.map.reserved[2]: 1
0x238 isw_dev[0].vol.map.disk_ord_tbl[0]: 0x0
0x23c isw_dev[0].vol.map.disk_ord_tbl[1]: 0x1
0x240 isw_dev[0].vol.map.disk_ord_tbl[2]: 0x2
0x244 isw_dev[0].vol.map.disk_ord_tbl[3]: 0x3

]0;root@ubuntu: /root@ubuntu:/# dmraid -s
*** Group superset isw_djeigjbadi
--> Subset
name   : isw_djeigjbadi_Volume0
size   : 2930304000
stride : 128
type   : raid5_la
status : ok
subsets: 0
devs   : 4
spares : 0





root@ubuntu: /root@ubuntu:/# tail /var/log/messages 
Oct  8 15:32:45 ubuntu kernel: [ 3776.932617] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct  8 15:32:45 ubuntu kernel: [ 3776.932622]  sda: sda1
Oct  8 15:32:47 ubuntu kernel: [ 3778.927684] sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
Oct  8 15:32:47 ubuntu kernel: [ 3778.927700] sd 0:0:0:0: [sda] Write Protect is off
Oct  8 15:32:47 ubuntu kernel: [ 3778.927721] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct  8 15:32:47 ubuntu kernel: [ 3778.927725]  sda: sda1
Oct  8 15:34:30 ubuntu kernel: [ 3881.027821] device-mapper: ioctl: error adding target to table
Oct  8 15:36:28 ubuntu kernel: [ 3999.527512] device-mapper: ioctl: error adding target to table
Oct  8 15:36:37 ubuntu kernel: [ 4008.226988] device-mapper: ioctl: error adding target to table
Oct  8 15:38:53 ubuntu kernel: [ 4144.101456] device-mapper: ioctl: error adding target to table




root@ubuntu: /root@ubuntu:/# dmesg |tail
[ 3778.927721] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3778.927725]  sda: sda1
[ 3881.027814] device-mapper: table: 254:0: raid45: dm-raid45: RAID device lookup failure
[ 3881.027821] device-mapper: ioctl: error adding target to table
[ 3999.527505] device-mapper: table: 254:0: raid45: dm-raid45: RAID device lookup failure
[ 3999.527512] device-mapper: ioctl: error adding target to table
[ 4008.226981] device-mapper: table: 254:0: raid45: dm-raid45: RAID device lookup failure
[ 4008.226988] device-mapper: ioctl: error adding target to table
[ 4144.101450] device-mapper: table: 254:0: raid45: dm-raid45: RAID device lookup failure
[ 4144.101456] device-mapper: ioctl: error adding target to table


root@ubuntu: /root@ubuntu:/# tail /lib/modules/2.6.24-19-generic/modules.dep 
/lib/modules/2.6.24-19-generic/ubuntu/fs/squashfs/squashfs.ko:
/lib/modules/2.6.24-19-generic/ubuntu/fs/gfs/gfs.ko: /lib/modules/2.6.24-19-generic/kernel/fs/gfs2/gfs2.ko
/lib/modules/2.6.24-19-generic/ubuntu/fs/aufs/aufs.ko:
/lib/modules/2.6.24-19-generic/ubuntu/fs/asfs/asfs.ko:
/lib/modules/2.6.24-19-generic/ubuntu/char/intel-agp-ich9m/intel-agp-ich9m.ko:
/lib/modules/2.6.24-19-generic/ubuntu/block/iscsitarget/iscsi_trgt.ko:
/lib/modules/2.6.24-19-generic/ubuntu/block/drbd/drbd.ko: /lib/modules/2.6.24-19-generic/kernel/drivers/connector/cn.ko
/lib/modules/2.6.24-19-generic/ubuntu/acpi/acer_acpi/wmi-acer.ko:
/lib/modules/2.6.24-19-generic/ubuntu/acpi/acer_acpi/acer_acpi.ko: /lib/modules/2.6.24-19-generic/kernel/drivers/leds/led-class.ko /lib/modules/2.6.24-19-generic/ubuntu/acpi/acer_acpi/wmi-acer.ko
/lib/modules/2.6.24-19-generic/ubuntu/md/dm-raid45.ko: /lib/modules/2.6.24-19-generic/kernel/drivers/md/dm-mod.ko

root@ubuntu: /root@ubuntu:/# blkid
/dev/sdb1: UUID="3b75d1a3-e75a-968f-1547-e22927d9b55d" TYPE="mdraid" 
/dev/sdb2: UUID="f57cbb89-465e-01f2-73ee-131a25d6cb65" TYPE="mdraid" 
/dev/sdc1: UUID="6900dd66-7440-47a9-8450-fa6e1b3be162" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdc2: UUID="f57cbb89-465e-01f2-73ee-131a25d6cb65" TYPE="mdraid" 
/dev/loop0: TYPE="squashfs" 
/dev/sda1: LABEL="Boot" UUID="b5d19fff-2aad-4959-bca6-eaa5de63961a" TYPE="ext2" 
root@ubuntu: /root@ubuntu:/# exit
exit

_______________________________________________
Ataraid-list mailing list
Ataraid-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ataraid-list

[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux