Hi,
I moved a raid system from an old OMV (2.x) installation to a new fresh instalaltion.
After installing the OMV system I reinstalled all my 5 RAID drives.
mdadm found the RAID again and I updated the config file:
cat /etc/mdadm/mdadm.conf
...
# definitions of existing MD arrays
ARRAY /dev/md/raidvolume metadata=1.2 name=Flex:raidvolume UUID=ac79d13f:c4cc963d:784d2961:931c8716
blkid
/dev/sda: UUID="ac79d13f-c4cc-963d-784d-2961931c8716" UUID_SUB="c6767d28-dc49-d138-61d7-7927fe5aed4b" LABEL="Flex:raidvolume" TYPE="linux_raid_member"
/dev/sdd: UUID="ac79d13f-c4cc-963d-784d-2961931c8716" UUID_SUB="4d926477-6b82-64ab-f9fb-dc6adf4d63b8" LABEL="Flex:raidvolume" TYPE="linux_raid_member"
/dev/sdb: UUID="ac79d13f-c4cc-963d-784d-2961931c8716" UUID_SUB="d9fec3d9-dcaf-5e4a-9f80-031711610feb" LABEL="Flex:raidvolume" TYPE="linux_raid_member"
/dev/sdf: UUID="ac79d13f-c4cc-963d-784d-2961931c8716" UUID_SUB="ab30c75e-cc09-b881-d185-aee0f66f7ae4" LABEL="Flex:raidvolume" TYPE="linux_raid_member"
/dev/sdc: UUID="ac79d13f-c4cc-963d-784d-2961931c8716" UUID_SUB="b96fcdf1-1f89-39d0-45fa-97a7c3137560" LABEL="Flex:raidvolume" TYPE="linux_raid_member"
/dev/sde1: UUID="655cfcf0-1f0a-4541-8fcc-b8c313345dab" TYPE="ext4" PARTUUID="b42659d4-01"
/dev/sde5: UUID="baa07cc9-088f-4920-97b8-e239abc2338f" TYPE="swap" PARTUUID="b42659d4-05"
/dev/md127p1: UUID="5b6d66b2-d41e-42df-8ddc-3702a7695ad0" TYPE="crypto_LUKS" PARTLABEL="storage" PARTUUID="66d16568-e961-4875-a688-04dec86274c6"
/dev/mapper/storage: UUID="e36baf9f-146d-4959-9ff1-a900060babd4" TYPE="ext4"
/dev/md127: PTUUID="9423ac42-9337-4ec0-96a9-e9fa290140cb" PTTYPE="gpt"
Then I installed cryptsetup on the system and mounted the RAID-Partition:
cat /etc/crypttab
# <target name> <source device> <key file> <options>
storage UUID=5b6d66b2-d41e-42df-8ddc-3702a7695ad0 *keyfile* luks
mount
...
/dev/mapper/storage on /media/storage type ext4 (rw,noexec,relatime,stripe=512,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
I also tried to setup fstab as it was on the old system:
cat /etc/fstab
...
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
UUID=e36baf9f-146d-4959-9ff1-a900060babd4 /media/storage ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
# <<< [openmediavault]
The GUI only shows the filesystem with a dummy device /dev/dm-0 (I already changed the fstab to mount this pointer)
But I cannot access the filesystem. There are no device options:
How can I add the device to the Filesystem tab or can get access to the filesystem?
I do not see a way to reset the array.
Thanks a lot for any kind of support!
My System:
HP ProLiant G7 MicroServer N54L
System drive 250 GB
Starage Raid 5x 4 TB
Software Raid 5 (mdadm)
Encryted partition with 14.8TB (luks)
Linux flex 4.9.0-0.bpo.4-amd64 #1 SMP Debian 4.9.51-1~bpo8+1 (2017-10-17) x86_64 GNU/Linux
openmediavault 3.0.94