2.6.10: dmraid gets mirror on HPT374 assembled wrongly

Molle Bestefich molle.bestefich at gmail.com
Sat Jan 15 02:07:15 UTC 2005


Hi

HPT374 controller with four disks attached.
Two disks are in RAID0, two are in RAID1.

Works fine under Windows, but dmraid gets something
wrong, linux reports error and doesn't see partitions
on mirrored set.

Both disks have a standard DOS partition table, and
all partitions are FAT32 or ext2fs partitions.

An error is shown when running dmraid:

ERROR: dos: reading /dev/mapper/hpt45x_bbdfhdjicg[2]


Following is output from dmraid, I've tried to snip
out irrelevant parts.

# dmraid -a y -vvv -ddd
<snip>
NOTICE: skipping removable device /dev/hdc
NOTICE: /dev/hde: hpt37x discovering
NOTICE: /dev/hde: hpt37x metadata discovered
NOTICE: /dev/hde: hpt45x discovering
<snip>
NOTICE: /dev/hdg: hpt37x discovering
NOTICE: /dev/hdg: hpt45x discovering
NOTICE: /dev/hdg: hpt45x metadata discovered
<snip>
NOTICE: /dev/hdi: hpt37x discovering
NOTICE: /dev/hdi: hpt37x metadata discovered
NOTICE: /dev/hdi: hpt45x discovering
<snip>
NOTICE: /dev/hdk: hpt37x discovering
NOTICE: /dev/hdk: hpt45x discovering
NOTICE: /dev/hdk: hpt45x metadata discovered
<snip>
DEBUG: _find_set: searching hpt37x_ehgjaggaf
DEBUG: _find_set: not found hpt37x_ehgjaggaf
DEBUG: _find_set: searching hpt37x_ehgjaggaf
DEBUG: _find_set: not found hpt37x_ehgjaggaf
NOTICE: added /dev/hde to RAID set "hpt37x_ehgjaggaf"
DEBUG: _find_set: searching hpt45x_bbdfhdjicg
DEBUG: _find_set: searching hpt45x_bbdfhdjicg
DEBUG: _find_set: not found hpt45x_bbdfhdjicg
DEBUG: _find_set: not found hpt45x_bbdfhdjicg
DEBUG: _find_set: searching hpt45x_bbdfhdjicg
DEBUG: _find_set: not found hpt45x_bbdfhdjicg
NOTICE: added /dev/hdg to RAID set "hpt45x_bbdfhdjicg"
DEBUG: _find_set: searching hpt37x_ehgjaggaf
DEBUG: _find_set: found hpt37x_ehgjaggaf
DEBUG: _find_set: searching hpt37x_ehgjaggaf
DEBUG: _find_set: found hpt37x_ehgjaggaf
NOTICE: added /dev/hdi to RAID set "hpt37x_ehgjaggaf"
DEBUG: _find_set: searching hpt45x_bbdfhdjicg
DEBUG: _find_set: found hpt45x_bbdfhdjicg
DEBUG: _find_set: searching hpt45x_bbdfhdjicg
DEBUG: _find_set: found hpt45x_bbdfhdjicg
NOTICE: added /dev/hdk to RAID set "hpt45x_bbdfhdjicg"
DEBUG: checking hpt37x device "/dev/hdi"
DEBUG: checking hpt37x device "/dev/hde"
DEBUG: set status of set "hpt37x_ehgjaggaf" to 16
DEBUG: checking hpt45x device "/dev/hdg"
DEBUG: checking hpt45x device "/dev/hdk"
DEBUG: set status of set "hpt45x_bbdfhdjicg" to 16
INFO: Activated striped RAID set "hpt37x_ehgjaggaf"
NOTICE: discovering partitions on "hpt37x_ehgjaggaf"
NOTICE: /dev/mapper/hpt37x_ehgjaggaf: dos    discovering
NOTICE: /dev/mapper/hpt37x_ehgjaggaf: dos metadata discovered
DEBUG: _find_set: searching hpt37x_ehgjaggaf1
DEBUG: _find_set: not found hpt37x_ehgjaggaf1
DEBUG: _find_set: searching hpt37x_ehgjaggaf5
DEBUG: _find_set: not found hpt37x_ehgjaggaf5
DEBUG: _find_set: searching hpt37x_ehgjaggaf6
DEBUG: _find_set: not found hpt37x_ehgjaggaf6
DEBUG: _find_set: searching hpt37x_ehgjaggaf7
DEBUG: _find_set: not found hpt37x_ehgjaggaf7
NOTICE: created partitioned RAID set(s) for /dev/mapper/hpt37x_ehgjaggaf
NOTICE: discovering partitions on "hpt45x_bbdfhdjicg"
NOTICE: /dev/mapper/hpt45x_bbdfhdjicg: dos    discovering
ERROR: dos: reading /dev/mapper/hpt45x_bbdfhdjicg[2]
INFO: Activated partition RAID set "hpt37x_ehgjaggaf1"
INFO: Activated partition RAID set "hpt37x_ehgjaggaf5"
INFO: Activated partition RAID set "hpt37x_ehgjaggaf6"
INFO: Activated partition RAID set "hpt37x_ehgjaggaf7"
<snip>
DEBUG: freeing devices of RAID set "hpt37x_ehgjaggaf"
DEBUG: freeing device "hpt37x_ehgjaggaf", path "/dev/hdi"
DEBUG: freeing device "hpt37x_ehgjaggaf", path "/dev/hde"
DEBUG: freeing devices of RAID set "hpt45x_bbdfhdjicg"
DEBUG: freeing device "hpt45x_bbdfhdjicg", path "/dev/hdg"
DEBUG: freeing device "hpt45x_bbdfhdjicg", path "/dev/hdk"
DEBUG: freeing devices of RAID set "hpt37x_ehgjaggaf1"
DEBUG: freeing device "hpt37x_ehgjaggaf1", path "/dev/mapper/hpt37x_ehgjaggaf"
DEBUG: freeing devices of RAID set "hpt37x_ehgjaggaf5"
DEBUG: freeing device "hpt37x_ehgjaggaf5", path "/dev/mapper/hpt37x_ehgjaggaf"
DEBUG: freeing devices of RAID set "hpt37x_ehgjaggaf6"
DEBUG: freeing device "hpt37x_ehgjaggaf6", path "/dev/mapper/hpt37x_ehgjaggaf"
DEBUG: freeing devices of RAID set "hpt37x_ehgjaggaf7"
DEBUG: freeing device "hpt37x_ehgjaggaf7", path "/dev/mapper/hpt37x_ehgjaggaf"


# dmraid -s
*** Set
name   : hpt37x_ehgjaggaf
size   : 312710912
stride : 128
type   : striped
status : ok
subsets: 0
devs   : 2
spares : 0
*** Set
name   : hpt45x_bbdfhdjicg
size   : 78150739
stride : 0
type   : mirror
status : ok
subsets: 0
devs   : 2
spares : 0



# ls -1 /dev/mapper     # Notice no partitions from RAID1
control
hpt37x_ehgjaggaf
hpt37x_ehgjaggaf1
hpt37x_ehgjaggaf5
hpt37x_ehgjaggaf6
hpt37x_ehgjaggaf7
hpt45x_bbdfhdjicg



Stuff displayed during POST:

HPT374 BIOS Setting Utility v3.01

Channel   Device Name     Array Name  Capacity (GB)   Mode 
1:Master  MAXTOR 6L080L4  System      80.05           ATA/133
1:Slave   No Device
2:Master  ST380021A       Data        80.02           ATA/100
2:Slave   No Device
3:Master  MAXTOR 6L080L4  System      80.05           ATA/133
3:Slave   No Device
4:Master  MAXTOR 6L080L4  Data        80.05           ATA/133
4:Slave   No Device




More information about the Ataraid-list mailing list