Всем доброго времени суток. В Linux чайник, поэтому не могу настроить RAID 1. Суть задачи - система живет на SSD, на рейде надо поставить базу. В BIOS проставил тип RAID 1, в системе определятся как
fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdc: 64.0 GB, 64023257088 bytes 255 heads, 63 sectors/track, 7783 cylinders, total 125045424 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000a6974
Device Boot Start End Blocks Id System /dev/sdc1 2048 4208639 2103296 82 Linux swap / Solaris /dev/sdc2 * 4208640 46153727 20972544 83 Linux /dev/sdc3 46153728 125044735 39445504 83 Linux
Disk /dev/md126: 1000.2 GB, 1000202043392 bytes 2 heads, 4 sectors/track, 244189952 cylinders, total 1953519616 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
На запрос о состоянии отвечает
cat /proc/mdstat Personalities : [raid1] md126 : active raid1 sda[1] sdb[0] 976759808 blocks super external:/md127/0 [2/2] [UU] [========>............] resync = 40.9% (400455552/976759940) finish=103.8min speed=92436K/sec md127 : inactive sda[1](S) sdb[0](S) 5288 blocks super external:imsm unused devices: <none>
mdadm --detail /dev/md126 /dev/md126: Container : /dev/md/imsm0, member 0 Raid Level : raid1 Array Size : 976759808 (931.51 GiB 1000.20 GB) Used Dev Size : 976759940 (931.51 GiB 1000.20 GB) Raid Devices : 2 Total Devices : 2
State : active, resyncing Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0
Resync Status : 41% complete
UUID : 8e555120:5bf017d0:f829c711:f9bb0435 Number Major Minor RaidDevice State 1 8 0 0 active sync /dev/sda 0 8 16 1 active sync /dev/sdb
Вопрос нуба - какой из разделов теперь моунтить ?