Hi All,
Trying to correctly configure software RAID1
(FakeRaid) (two mirrored hard drives) on motherboard ASUS H97M-PLUS.
I have selected RAID in BIOS settings, rebooted, when prompted clicked CTR+I, configured two identical hard drives in system as mirrored RAID 1.
After that I had problem with running Fedora 23 (because I have separate disk for system), but I have made some changes configuration in BIOS and Fedora 23 run ok.
After starting the system, I have checked:
fdisk -l
Disk /dev/sdb: 2,7 TiB, bajtów: 3000592982016, sektorów: 5860533168
Disk /dev/sdc: 2,7 TiB, bajtów: 3000592982016, sektorów: 5860533168
Disk /dev/md126: 2,7 TiB, bajtów: 3000590401536, sektorów: 5860528128
cat /proc/mdstat
cat /proc/mdstat
Personalities : [raid1]
md126 : active raid1 sdb[1] sdc[0]
2930264064 blocks super external:/md127/0 [2/2] [UU]
[===>.................] resync = 19.8% (582018432/2930264196) finish=279.8min speed=139854K/sec
md127 : inactive sdb[1](S) sdc[0](S)
4776 blocks super external:imsm
unused devices: <none>
mdadm --detail /dev/md126
/dev/md126:
Container : /dev/md/imsm0, member 0
Raid Level : raid1
Array Size : 2930264064 (2794.52 GiB 3000.59 GB)
Used Dev Size : 2930264196 (2794.52 GiB 3000.59 GB)
Raid Devices : 2
Total Devices : 2
State : clean, resyncing
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Resync Status : 20% complete
UUID : 74a4b34b:2e81f84f:e7699a3f:e0a255b8
Number Major Minor RaidDevice State
1 8 16 0 active sync /dev/sdb
0 8 32 1 active sync /dev/sdc
mdadm --detail /dev/md127
/dev/md127:
Version : imsm
Raid Level : container
Total Devices : 2
Working Devices : 2
UUID : 52c887df:a75d1d97:9cd30e1d:c5bddc10
Member Arrays : /dev/md/Volume1_0
Number Major Minor RaidDevice
0 8 32 - /dev/sdc
1 8 16 - /dev/sdb
mdadm --examine /dev/sdb
/dev/sdb:
Magic : Intel Raid ISM Cfg Sig.
Version : 1.3.00
Orig Family : 91f37361
Family : 91f37361
Generation : 0000000f
Attributes : All supported
UUID : 52c887df:a75d1d97:9cd30e1d:c5bddc10
Checksum : da81eba3 correct
MPB Sectors : 2
Disks : 2
RAID Devices : 1
Disk00 Serial : WD-WCC4N7XUAJ6V
State : active
Id : 00000002
Usable Size : 5860528392 (2794.52 GiB 3000.59 GB)
[Volume1]:
UUID : 74a4b34b:2e81f84f:e7699a3f:e0a255b8
RAID Level : 1 <-- 1
Members : 2 <-- 2
Slots : [UU] <-- [UU]
Failed disk : none
This Slot : 0
Array Size : 5860528128 (2794.52 GiB 3000.59 GB)
Per Dev Size : 5860528392 (2794.52 GiB 3000.59 GB)
Sector Offset : 0
Num Stripes : 22892688
Chunk Size : 64 KiB <-- 64 KiB
Reserved : 0
Migrate State : initialize
Map State : normal <-- uninitialized
Checkpoint : 2025483 (512)
Dirty State : clean
Disk01 Serial : WD-WCC4N7XUA77D
State : active
Id : 00000004
Usable Size : 5860528392 (2794.52 GiB 3000.59 GB)
mdadm --examine /dev/sdc
/dev/sdc:
Magic : Intel Raid ISM Cfg Sig.
Version : 1.3.00
Orig Family : 91f37361
Family : 91f37361
Generation : 00000010
Attributes : All supported
UUID : 52c887df:a75d1d97:9cd30e1d:c5bddc10
Checksum : da84674b correct
MPB Sectors : 2
Disks : 2
RAID Devices : 1
Disk01 Serial : WD-WCC4N7XUA77D
State : active
Id : 00000004
Usable Size : 5860528392 (2794.52 GiB 3000.59 GB)
[Volume1]:
UUID : 74a4b34b:2e81f84f:e7699a3f:e0a255b8
RAID Level : 1 <-- 1
Members : 2 <-- 2
Slots : [UU] <-- [UU]
Failed disk : none
This Slot : 1
Array Size : 5860528128 (2794.52 GiB 3000.59 GB)
Per Dev Size : 5860528392 (2794.52 GiB 3000.59 GB)
Sector Offset : 0
Num Stripes : 22892688
Chunk Size : 64 KiB <-- 64 KiB
Reserved : 0
Migrate State : initialize
Map State : normal <-- uninitialized
Checkpoint : 2188210 (512)
Dirty State : clean
Disk00 Serial : WD-WCC4N7XUAJ6V
State : active
Id : 00000002
Usable Size : 5860528392 (2794.52 GiB 3000.59 GB)
mdadm --examine --scan
ARRAY metadata=imsm UUID=52c887df:a75d1d97:9cd30e1d:c5bddc10
ARRAY /dev/md/Volume1 container=52c887df:a75d1d97:9cd30e1d:c5bddc10 member=0 UUID=74a4b34b:2e81f84f:e7699a3f:e0a255b8
mdadm --detail-platform
Platform : Intel(R) Rapid Storage Technology
Version : 13.0.0.2075
RAID Levels : raid0 raid1 raid10 raid5
Chunk Sizes : 4k 8k 16k 32k 64k 128k
2TB volumes : supported
2TB disks : supported
Max Disks : 6
Max Volumes : 2 per array, 4 per controller
I/O Controller : /sys/devices/pci0000:00/0000:00:1f.2 (SATA)
Port1 : /dev/sda (6VEJHGG0)
Port2 : /dev/sdb (WD-WCC4N7XUAJ6V)
Port4 : /dev/sdc (WD-WCC4N7XUA77D)
Port0 : - no device attached -
Port3 : - no device attached -
Port5 : - no device attached -
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 200M 0 part /boot/efi
├─sda2 8:2 0 500M 0 part /boot
└─sda3 8:3 0 465,1G 0 part
├─fedora_htpc-root 253:0 0 50G 0 lvm /
├─fedora_htpc-swap 253:1 0 7,8G 0 lvm [SWAP]
└─fedora_htpc-home 253:2 0 407,3G 0 lvm /home
sdb 8:16 0 2,7T 0 disk
└─md126 9:126 0 2,7T 0 raid1
sdc 8:32 0 2,7T 0 disk
└─md126 9:126 0 2,7T 0 raid1
pwd
/dev/md
ls -la
lrwxrwxrwx 1 root root 8 03-30 16:32 imsm0 -> ../md127
lrwxrwxrwx 1 root root 8 03-30 16:32 Volume1_0 -> ../md126
The problem is that I do not know what to do next. Should I create partitions on /dev/sdb and /dev/sdc. And Should I create partitions on /dev/md126 and mout and copy files and all files will saves on both devices.
I did not configure RAID in Fedora, all these was activated after I changed RAID in BIOS.