I've just restarted my computer which was building up a RAID5 for the first time. This of course meant that my computer had to rebuild the whole thing from ground up.
Before I restarted the computer I've had already set up a file system, which cannot be found anymore.
So: Does building up the RAID (again) overwrite any information placed on the volume?
It's best not to reboot your system until after the initial RAID sync has finished, but you should be able to create your LVM physical volumes (
pvcreate /dev/md0
etc). If you've already done this and they're not showing up, it's possible that on restart the system did not auto-start your RAID due to it being out of sync. If you RAID is running correctly, you should be able to manually restart your LVM withsudo vgchange -a y
at which point the LVs should be visible again withsudo lvs
.