Mount SHR Raid 1 Drive Ubuntu

Published on Aug 31, 2020

This assumes it’s a raid array of 1 device

Following this guide:

sudo mdadm --examine /dev/sdg5

Check the offset and insert in command below

sudo losetup --find --show --read-only --offset $((2048*512)) /dev/sdg5
sudo pvdisplay
sudo vgdisplay
sudo lvdisplay

end with (check LV Path from lvdisplay)

mount /dev/vg1001/lv /mnt -o ro

Footnote: Should probably append a folder after /mnt