First check all devices
1 |
lsblk |
If you have a broken raid and you want to assemble sda2
1 2 3 4 5 6 |
[root@server ~]#lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 447.1G 0 disk ├─sda1 8:1 0 16G 0 part ├─sda2 8:2 0 512M 0 part └─sda3 8:3 0 430.6G 0 part |
type
1 |
mdadm --assemble --run /dev/md2 /dev/sda2 |
then mount it
1 |
mount -o ro,noload /dev/md2 /mnt |