mogrify2
August 7th, 2019, 05:23 PM
I configured the BIOS with a (fake-raid) 5-disk RAID5 config.
The installed Ubuntu on two Dell desktop servers specifying to use fake raid and entering exactly the same config as in the BIOS.
Now I am not sure whether we are running mdadm or dmraid and not sure how to tell. They both seem to list the disks.
Any help much appreciated as I have to debug a problem with it and not even sure which one I am working with here.
root@mg2:/home/gough# dmraid -l
asr : Adaptec HostRAID ASR (0,1,10)
ddf1 : SNIA DDF1 (0,1,4,5,linear)
hpt37x : Highpoint HPT37X (S,0,1,10,01)
hpt45x : Highpoint HPT45X (S,0,1,10)
isw : Intel Software RAID (0,1,5,01)
jmicron : JMicron ATARAID (S,0,1)
lsi : LSI Logic MegaRAID (0,1,10)
nvidia : NVidia RAID (S,0,1,10,5)
pdc : Promise FastTrack (S,0,1,10)
sil : Silicon Image(tm) Medley(tm) (0,1,10)
via : VIA Software RAID (S,0,1,10)
dos : DOS partitions on SW RAIDs
root@mg2:/home/gough# dmraid -s
*** Group superset isw_cagejhggbf
--> Subset
name : isw_cagejhggbf_Volume0
size : 14846582784
stride : 128
type : raid5_la
status : ok
subsets: 0
devs : 5
spares : 0
root@mg2:/home/gough# dmraid -r
/dev/sda: isw, "isw_cagejhggbf", GROUP, ok, 3907029166 sectors, data@ 0
/dev/sdc: isw, "isw_cagejhggbf", GROUP, ok, 3907029166 sectors, data@ 0
/dev/sde: isw, "isw_cagejhggbf", GROUP, ok, 3907029166 sectors, data@ 0
/dev/sdb: isw, "isw_cagejhggbf", GROUP, ok, 3907029166 sectors, data@ 0
/dev/sdd: isw, "isw_cagejhggbf", GROUP, ok, 3907029166 sectors, data@ 0
root@mg2:/home/gough# dmraid -s -s isw_cagejhggbf
ERROR: either the required RAID set not found or more options required
no raid sets and with names: "isw_cagejhggbf"
root@mg2:/home/gough# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md126 : active raid5 sda[4] sdb[3] sdc[2] sdd[1] sde[0]
7423287296 blocks super external:/md127/0 level 5, 64k chunk, algorithm 0 [5/5] [UUUUU]
md127 : inactive sdd[4](S) sdc[3](S) sdb[2](S) sda[1](S) sde[0](S)
26005 blocks super external:imsm
unused devices: <none>
root@mg2:/home/gough# mdadm --detail /dev/md126
/dev/md126:
Container : /dev/md/imsm0, member 0
Raid Level : raid5
Array Size : 7423287296 (7079.40 GiB 7601.45 GB)
Used Dev Size : 1855821824 (1769.85 GiB 1900.36 GB)
Raid Devices : 5
Total Devices : 5
State : active
Active Devices : 5
Working Devices : 5
Failed Devices : 0
Spare Devices : 0
Layout : left-asymmetric
Chunk Size : 64K
Consistency Policy : resync
UUID : 1460e363:36bb479d:6caeffc6:a5ffe2ef
Number Major Minor RaidDevice State
4 8 0 0 active sync /dev/sda
3 8 16 1 active sync /dev/sdb
2 8 32 2 active sync /dev/sdc
1 8 48 3 active sync /dev/sdd
0 8 64 4 active sync /dev/sde
The installed Ubuntu on two Dell desktop servers specifying to use fake raid and entering exactly the same config as in the BIOS.
Now I am not sure whether we are running mdadm or dmraid and not sure how to tell. They both seem to list the disks.
Any help much appreciated as I have to debug a problem with it and not even sure which one I am working with here.
root@mg2:/home/gough# dmraid -l
asr : Adaptec HostRAID ASR (0,1,10)
ddf1 : SNIA DDF1 (0,1,4,5,linear)
hpt37x : Highpoint HPT37X (S,0,1,10,01)
hpt45x : Highpoint HPT45X (S,0,1,10)
isw : Intel Software RAID (0,1,5,01)
jmicron : JMicron ATARAID (S,0,1)
lsi : LSI Logic MegaRAID (0,1,10)
nvidia : NVidia RAID (S,0,1,10,5)
pdc : Promise FastTrack (S,0,1,10)
sil : Silicon Image(tm) Medley(tm) (0,1,10)
via : VIA Software RAID (S,0,1,10)
dos : DOS partitions on SW RAIDs
root@mg2:/home/gough# dmraid -s
*** Group superset isw_cagejhggbf
--> Subset
name : isw_cagejhggbf_Volume0
size : 14846582784
stride : 128
type : raid5_la
status : ok
subsets: 0
devs : 5
spares : 0
root@mg2:/home/gough# dmraid -r
/dev/sda: isw, "isw_cagejhggbf", GROUP, ok, 3907029166 sectors, data@ 0
/dev/sdc: isw, "isw_cagejhggbf", GROUP, ok, 3907029166 sectors, data@ 0
/dev/sde: isw, "isw_cagejhggbf", GROUP, ok, 3907029166 sectors, data@ 0
/dev/sdb: isw, "isw_cagejhggbf", GROUP, ok, 3907029166 sectors, data@ 0
/dev/sdd: isw, "isw_cagejhggbf", GROUP, ok, 3907029166 sectors, data@ 0
root@mg2:/home/gough# dmraid -s -s isw_cagejhggbf
ERROR: either the required RAID set not found or more options required
no raid sets and with names: "isw_cagejhggbf"
root@mg2:/home/gough# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md126 : active raid5 sda[4] sdb[3] sdc[2] sdd[1] sde[0]
7423287296 blocks super external:/md127/0 level 5, 64k chunk, algorithm 0 [5/5] [UUUUU]
md127 : inactive sdd[4](S) sdc[3](S) sdb[2](S) sda[1](S) sde[0](S)
26005 blocks super external:imsm
unused devices: <none>
root@mg2:/home/gough# mdadm --detail /dev/md126
/dev/md126:
Container : /dev/md/imsm0, member 0
Raid Level : raid5
Array Size : 7423287296 (7079.40 GiB 7601.45 GB)
Used Dev Size : 1855821824 (1769.85 GiB 1900.36 GB)
Raid Devices : 5
Total Devices : 5
State : active
Active Devices : 5
Working Devices : 5
Failed Devices : 0
Spare Devices : 0
Layout : left-asymmetric
Chunk Size : 64K
Consistency Policy : resync
UUID : 1460e363:36bb479d:6caeffc6:a5ffe2ef
Number Major Minor RaidDevice State
4 8 0 0 active sync /dev/sda
3 8 16 1 active sync /dev/sdb
2 8 32 2 active sync /dev/sdc
1 8 48 3 active sync /dev/sdd
0 8 64 4 active sync /dev/sde