You are not logged in.

#1 2007-02-15 12:49:59

judfilm
Member
Registered: 2004-02-12
Posts: 229

Promise SX8 Sata Card - mdadm Raid resync stuck at 0.0%

Hi,

I have been trying out a Promise SATAII150 SX8 PCI-X Card and have run into a problem.

mdadm (v2.6-1) is stuck at 0.0% (hours) after a create. Things like trying to format the array or stop the resync causes the terminal to freeze.

Does anyone know of anything that could be causing this?

Also does anyone know how/where to set "max_queue=16" to increase performance for the sx8 module?

Thanks.


sample mdadm line:
mdadm --create /dev/md0 --level=5 --raid-devices=6 /dev/sx8/0p1 ...

i686 Arch
kernel 2.6.19.2
Opteron, 2GB, 6x300GB

dmesg | grep sx8
sx8 version 1.0
sx8(0000:03:02.0): found 6 interesting devices
sx8(0000:03:02.0): port 0 device 586114704 sectors
sx8(0000:03:02.0): port 0 device "Maxtor 7V300F0"
sx8(0000:03:02.0): port 1 device 586114704 sectors
sx8(0000:03:02.0): port 1 device "Maxtor 7V300F0"
sx8(0000:03:02.0): port 2 device 586114704 sectors
sx8(0000:03:02.0): port 2 device "Maxtor 7V300F0"
sx8(0000:03:02.0): port 3 device 586114704 sectors
sx8(0000:03:02.0): port 3 device "Maxtor 7V300F0"
sx8(0000:03:02.0): port 4 device 586114704 sectors
sx8(0000:03:02.0): port 4 device "Maxtor 7V300F0"
sx8(0000:03:02.0): port 5 device 586114704 sectors
sx8(0000:03:02.0): port 5 device "Maxtor 7V300F0"
 sx8/0: p1
 sx8/1: p1
 sx8/2: p1
 sx8/3:
 sx8/4:
 sx8/5:
sx8(0000:03:02.0): 6 ports activated
sx80: pci 0000:03:02.0, ports 8, io fe100000, irq 17, major 160
 sx8/3: p1
 sx8/4: p1
 sx8/5: p1
md: bind<sx8/0p1>
md: bind<sx8/1p1>
md: bind<sx8/2p1>
md: bind<sx8/3p1>
md: bind<sx8/4p1>
md: bind<sx8/5p1>
raid5: device sx8/4p1 operational as raid disk 4
raid5: device sx8/3p1 operational as raid disk 3
raid5: device sx8/2p1 operational as raid disk 2
raid5: device sx8/1p1 operational as raid disk 1
raid5: device sx8/0p1 operational as raid disk 0
 disk 0, o:1, dev:sx8/0p1
 disk 1, o:1, dev:sx8/1p1
 disk 2, o:1, dev:sx8/2p1
 disk 3, o:1, dev:sx8/3p1
 disk 4, o:1, dev:sx8/4p1
 disk 0, o:1, dev:sx8/0p1
 disk 1, o:1, dev:sx8/1p1
 disk 2, o:1, dev:sx8/2p1
 disk 3, o:1, dev:sx8/3p1
 disk 4, o:1, dev:sx8/4p1
 disk 5, o:1, dev:sx8/5p1
cat /proc/diskstats | grep sx8
 160    0 sx8/0 67 485 3988 1428 2 0 8 0 0 444 1428
 160    1 sx8/0p1 550 3972 2 8
 160   32 sx8/1 62 482 3956 1564 2 0 8 0 0 420 1564
 160   33 sx8/1p1 542 3940 2 8
 160   64 sx8/2 64 482 3964 1568 2 0 8 4 0 416 1572
 160   65 sx8/2p1 544 3948 2 8
 160   96 sx8/3 58 484 2444 1196 3 0 16 12 7 3724444 26070260
 160   97 sx8/3p1 542 3940 2 8
 160  128 sx8/4 56 485 2196 1088 3 0 16 8 8 3724464 29794420
 160  129 sx8/4p1 542 3940 2 8
 160  160 sx8/5 50 57 460 212 9 210 1504 60 1 3724380 3724396
 160  161 sx8/5p1 100 404 219 1744
mdadm --misc --detail /dev/md0
/dev/md0:
        Version : 00.90.03
  Creation Time : Thu Feb 15 22:44:07 2007
     Raid Level : raid5
     Array Size : 1465248000 (1397.37 GiB 1500.41 GB)
  Used Dev Size : 293049600 (279.47 GiB 300.08 GB)
   Raid Devices : 6
  Total Devices : 6
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Feb 15 22:44:07 2007
          State : clean, degraded, recovering
 Active Devices : 5
Working Devices : 6
 Failed Devices : 0
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 64K

 Rebuild Status : 0% complete

           UUID : 477c93de:1846baae:2a477155:25972514
         Events : 0.1

    Number   Major   Minor   RaidDevice State
       0     160        1        0      active sync   /dev/sx8/0p1
       1     160       33        1      active sync   /dev/sx8/1p1
       2     160       65        2      active sync   /dev/sx8/2p1
       3     160       97        3      active sync   /dev/sx8/3p1
       4     160      129        4      active sync   /dev/sx8/4p1
       6     160      161        5      spare rebuilding   /dev/sx8/5p1
cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] 
md0 : active raid5 sx8/5p1[6] sx8/4p1[4] sx8/3p1[3] sx8/2p1[2] sx8/1p1[1] sx8/0p1[0]
      1465248000 blocks level 5, 64k chunk, algorithm 2 [6/5] [UUUUU_]
      [>....................]  recovery =  0.0% (868/293049600) finish=597464.5min speed=3K/sec
      
unused devices: <none>

Last edited by judfilm (2007-02-15 12:51:47)

Offline

Board footer

Powered by FluxBB