Hello.
After a big headache i just want to share with OMV community my experience on suppres/create raid and change level.
The base was :
- OMV3 with 4 disk in RAID10 EXT4 and OMV system on Flash usb stick
The result : Since you dont restart the NAS it works, if you experience an power loss the system dont restart (USB flash DEAD). I discover later that a extra plugin exist ofr USB flash, but in dont have time to loss in testing
The solution : Transform RAID10 4 disks in RAID5 3 Disk + real hdd for the system.
The major problem was (IN 2.0 or 3.0) that you cannot suppress and recreate MDAM RAID via the OMV gui IF YOU KEEP THE SAME DISKS.
To make it possible you have to do :
- backup all datas you need
- suppress all the reference to share in all plugins
- Open an SSH shell
- stop the array (mdadm -S /dev/md*)
- write some ZERO on all disks (dd if=/dev/zero of=/dev/sd* bs=1M count=1024) one command per disk
- suppress mdadm config file (rm /etc/mdadm/mdadm.conf)
- reboot
- reconfigure what you want
The SUPERBLOCK method doesnt work (mdadm --zero-superblock /dev/sd*)
And if you want to be sure to read datas on another system (partedmagid boot disk) just use EXT4 and you can see your DATAS even you dont have the complete raid group disk.