2.6.10: dmraid gets mirror on HPT374 assembled wrongly
Molle Bestefich
molle.bestefich at gmail.com
Tue Jan 18 17:58:05 UTC 2005
A bit more information.
This is the partition missing from Linux, as Windows sees it.
There's 20 GiB of empty space on the mirror array. I was
contemplating using it for an encrypted partition (but never got to
it, as Linux didn't work with ATARAID at the time).
C:\>diskpart
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ---------- ------- ------- --- ---
Disk 0 Online 149 GB 0 B
Disk 1 Online 75 GB 15 GB
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> list partition
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 60 GB 32 KB
DISKPART> detail disk
HPT3xx RAID 1 Array SCSI Disk Device
Disk ID: BDBF97C6
Type : SCSI
Bus : 3
Target : 1
LUN ID : 0
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 7 F DATA1 FAT32 Partition 60 GB Healthy
Molle Bestefich wrote:
> Heinz Mauelshagen wrote:
>
>> interesting, mixed hpt37x *and* hpt45x formated RAID sets...
>>
>> Did you move one set from an older controller to a newer one
>> and create the other using the the new controllers BIOS ?
>
> No, as far as I remember they were both created on this controller,
> using HPT374 BIOS version 3.01. Never owned a HPT45x controller.
>
> The only other ATARAID controller I've ever had was an integrated HPT372.
>
> So in theory, the "System" (RAID0) array could have been created on the HPT372.
> Although I don't think that this is the case.
>
>> Could you send me the tar'ed and bzip2'ed output (*.dat and *.offset files)
>> "dmraid -rD" creates in a file named hptxxx-Molle_Bestefich.tar.bz2
>> and the "fdisk -l" output of the 2 sets, please.
>
> Attached.
>
> I have two trays attached to the controller and a bunch of old disks.
> I'd be happy to trash the disks if you want anything else tested.
>
> (Once I get Linux to read both arrays so I can make a rescue disk, I'd
> also be happy to flash the BIOS on the controller.)
>
> After booting from the DMRAID livecd, I used dmraid to mount a
> partition where I could write the output from dmraid tests, as I don't
> have any non-raid'et disks in the system.
>
> After booting into Windows, the following appeared in the NT event log
> (there was a bunch of them, but they basically look the same). Not
> sure if it's dmraid related, but AFAIR, it's never done this before.
>
> ====
> Event Type: Error
> Event Source: hpt374
> Event ID: 9
> Description: The device, \Device\Scsi\hpt3742, did not respond within
> the timeout period.
> Data:
> 0000: 00 00 10 00 01 00 66 00 ......f.
> 0008: 00 00 00 00 09 00 04 c0 .......À
> 0010: 01 01 00 50 00 00 00 00 ...P....
> 0018: 00 00 00 00 00 00 00 00 ........
> 0020: 00 00 00 00 00 00 00 00 ........
> 0028: 00 00 00 00 00 00 00 00 ........
> 0030: 00 00 00 00 07 00 00 00 ........
>
> ====
> Event Type: Warning
> Event Source: Disk
> Event ID: 51
> Description: An error was detected on device \Device\Harddisk0\D
> during a paging operation.
> Data:
> 0000: 04 00 68 00 01 00 b6 00 ..h...¶.
> 0008: 00 00 00 00 33 00 04 80 ....3..?
> 0010: 2d 01 00 00 00 00 00 00 -.......
> 0018: 00 00 00 00 00 00 00 00 ........
> 0020: 00 00 00 00 00 00 00 00 ........
> 0028: ae bb 1c 00 00 00 00 00 ®»......
> 0030: ff ff ff ff 03 00 00 00 ÿÿÿÿ....
> 0038: 40 00 00 0e 00 00 00 00 @.......
> 0040: 59 20 0a 12 82 03 00 40 Y ..?..@
> 0048: 00 04 00 00 0a 00 00 00 ........
> 0050: 00 00 00 00 d0 5b d7 85 ....Ð[×?
> 0058: 00 00 00 00 a0 59 d7 85 .... Y×?
> 0060: 00 68 76 86 d9 98 00 00 .hv?Ù?..
> 0068: 2a 00 00 00 98 d9 00 00 *...?Ù..
> 0070: 02 00 00 00 00 00 00 00 ........
> 0078: 00 00 00 00 00 00 00 00 ........
> 0080: 00 00 00 00 00 00 00 00 ........
> 0088: 00 00 00 00 00 00 00 00 ........
>
> The problem seems to have fixed itself though.
>
>
>> Molle Bestefich wrote:
>>>
>>> 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