Veification that dmraid is configured correctly?

Samuel Schulenburg <[email protected]>
Newsgroups gmane.linux.ataraid
Message-ID <1155055961.10319.10.camel@sam-desktop>
I have installed dmraid version 1.0.0.rc9 on my i386 Ubuntu system. The
problem is it does not appear to be rebuilding a corrupted disk, as I
have to enter Windoes XP to force a rebuild. From Linux when I issue a
dmraid -n command I obtain identical information for each drive,
including serial numbers, and device numbers.
The following is a dump of dmraid -s, -r, -v, and -n

=================== start Dump ======================= 
root@sam-desktop:/tmp# dmraid -s
*** Group superset isw_chhjhgigbg
--> Active Subset
name   : isw_chhjhgigbg_Volume0
size   : 488275968
stride : 256
type   : mirror
status : ok
subsets: 0
devs   : 2
spares : 0
root@sam-desktop:/tmp# dmraid -r
/dev/sda: isw, "isw_chhjhgigbg", GROUP, ok, 488281248 sectors, data@ 0
/dev/sdb: isw, "isw_chhjhgigbg", GROUP, ok, 488397166 sectors, data@ 0
root@sam-desktop:/tmp#

[1]+  Stopped                 man dmraid
root@sam-desktop:/tmp# dmraid -V
dmraid version:         1.0.0.rc9 (2005.09.23)
dmraid library version: 1.0.0.rc9 (2005.09.23)
device-mapper version:  4.4.0
root@sam-desktop:/tmp# dmraid -n
/dev/sda (isw):
0x000 sig: "  Intel Raid ISM Cfg Sig. 1.1.00"
0x020 check_sum: 795379061
0x024 mpb_size: 480
0x028 family_num: 2779768616
0x02c generation_num: 1238
0x030 reserved[0]: 4384
0x034 reserved[1]: 3221225472
0x038 num_disks: 2
0x039 num_raid_devs: 1
0x03a fill[0]: 2
0x03b fill[1]: 0
0x0d8 disk[0].serial: "        5ND4RE9R"
0x0e8 disk[0].totalBlocks: 488281250
0x0ec disk[0].scsiId: 0x0
0x0f0 disk[0].status: 0x13a
0x108 disk[1].serial: "        4ND1MQG0"
0x118 disk[1].totalBlocks: 488397168
0x11c disk[1].scsiId: 0x100
0x120 disk[1].status: 0x13a
0x138 isw_dev[0].volume: "         Volume0"
0x14c isw_dev[0].SizeHigh: 0
0x148 isw_dev[0].SizeLow: 488275968
0x150 isw_dev[0].status: 0x0
0x154 isw_dev[0].reserved_blocks: 0
0x158 isw_dev[0].filler[0]: 65536
0x188 isw_dev[0].vol.reserved[0]: 953664
0x190 isw_dev[0].vol.migr_state: 0
0x191 isw_dev[0].vol.migr_type: 1
0x192 isw_dev[0].vol.dirty: 0
0x193 isw_dev[0].vol.fill[0]: 0
0x1a8 isw_dev[0].vol.map.pba_of_lba0: 0
0x1ac isw_dev[0].vol.map.blocks_per_member: 488275968
0x1b0 isw_dev[0].vol.map.num_data_stripes: 953664
0x1b4 isw_dev[0].vol.map.blocks_per_strip: 256
0x1b6 isw_dev[0].vol.map.map_state: 0
0x1b7 isw_dev[0].vol.map.raid_level: 1
0x1b8 isw_dev[0].vol.map.num_members: 2
0x1b9 isw_dev[0].vol.map.reserved[0]: 2
0x1ba isw_dev[0].vol.map.reserved[1]: 255
0x1bb isw_dev[0].vol.map.reserved[2]: 1
0x1d8 isw_dev[0].vol.map.disk_ord_tbl[0]: 0x0
0x1dc isw_dev[0].vol.map.disk_ord_tbl[1]: 0x1

/dev/sdb (isw):
0x000 sig: "  Intel Raid ISM Cfg Sig. 1.1.00"
0x020 check_sum: 795379061
0x024 mpb_size: 480
0x028 family_num: 2779768616
0x02c generation_num: 1238
0x030 reserved[0]: 4384
0x034 reserved[1]: 3221225472
0x038 num_disks: 2
0x039 num_raid_devs: 1
0x03a fill[0]: 2
0x03b fill[1]: 0
0x0d8 disk[0].serial: "        5ND4RE9R"
0x0e8 disk[0].totalBlocks: 488281250
0x0ec disk[0].scsiId: 0x0
0x0f0 disk[0].status: 0x13a
0x108 disk[1].serial: "        4ND1MQG0"
0x118 disk[1].totalBlocks: 488397168
0x11c disk[1].scsiId: 0x100
0x120 disk[1].status: 0x13a
0x138 isw_dev[0].volume: "         Volume0"
0x14c isw_dev[0].SizeHigh: 0
0x148 isw_dev[0].SizeLow: 488275968
0x150 isw_dev[0].status: 0x0
0x154 isw_dev[0].reserved_blocks: 0
0x158 isw_dev[0].filler[0]: 65536
0x188 isw_dev[0].vol.reserved[0]: 953664
0x190 isw_dev[0].vol.migr_state: 0
0x191 isw_dev[0].vol.migr_type: 1
0x192 isw_dev[0].vol.dirty: 0
0x193 isw_dev[0].vol.fill[0]: 0
0x1a8 isw_dev[0].vol.map.pba_of_lba0: 0
0x1ac isw_dev[0].vol.map.blocks_per_member: 488275968
0x1b0 isw_dev[0].vol.map.num_data_stripes: 953664
0x1b4 isw_dev[0].vol.map.blocks_per_strip: 256
0x1b6 isw_dev[0].vol.map.map_state: 0
0x1b7 isw_dev[0].vol.map.raid_level: 1
0x1b8 isw_dev[0].vol.map.num_members: 2
0x1b9 isw_dev[0].vol.map.reserved[0]: 2
0x1ba isw_dev[0].vol.map.reserved[1]: 255
0x1bb isw_dev[0].vol.map.reserved[2]: 1
0x1d8 isw_dev[0].vol.map.disk_ord_tbl[0]: 0x0
0x1dc isw_dev[0].vol.map.disk_ord_tbl[1]: 0x1
====================== End Dump ================================
Thanks in advance 
Sam Schulenburg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.