Title here
Summary here
fdisk -l | grep raid
/dev/sdb1 2048 102402047 51200000 fd Linux raid autodetect
/dev/sdb2 * 102402048 102811647 204800 fd Linux raid autodetectsudo lsblkaptitude -y install mdadm raidutilsmdadm --examine /dev/sdb1
mdadm --examine /dev/sdb2mkdir /mnt/md{0,1}mdadm --assemble --run /dev/md0 /dev/sdb1
mdadm: /dev/md0 has been started with 1 drive (out of 2).mdadm --assemble --run /dev/md1 /dev/sdb2
mdadm: /dev/md1 has been started with 1 drive (out of 2).mount /dev/md0 /mnt/md0
mount /dev/md1 /mnt/md1aptitude -y install cryptsetupmkdir /mnt/raid_lukscryptsetup luksOpen /dev/md1 raid_luks
Enter password:mount /dev/mapper/raid_luks /mnt/raid_luksumount /mnt/md0
umount /mnt/md1mdadm --stop /dev/md0
mdadm --stop /dev/md1sudo mdadm --assemble --readonly /dev/md123 /dev/sdh2
mdadm: /dev/sdh2 is busy - skippingThis is because it had been auto mounted by Fedora. Stop the md device and re-assemble it
sudo mdadm --stop /dev/md123
mdadm: stopped /dev/md123sudo mdadm --assemble --run /dev/md123 /dev/sdh2
mdadm: /dev/md123 has been started with 1 drive (out of 2).