This was supposed to be simple replacement of my DNS-323 and it is not going well.
After several attempts, that each failed in their own strange and magical ways I am giving it one last go with OMV.
The last install REFUSED to spin down the HDD's, spinning and clicking all the time. One attempt the OS updates just tossed errors.
Another time it just lost track of the raid. Another install found a raid/FS from a previous attempt, but couldn't do anything with it.
OMV feels like it has all the features, but the operation is unreliable. Help me love this software.
Build:
I built my NAS from an Odroid HC4 with a pair of Barracuda Compute 8TB (ST8000DM004) and industrial 16GB SD.
The PCB is removed from the original case and affixed to a 1U 19" shelf. The PS is 15V@4.33A, exceeding the 4A recommendation.
HDDs use right angle connector and Sata extension cables to sit along side the PCB.
Process this time to "start from scratch":
1. Followed a forum post to locate spiupdate_odroidhc4_20201222.img.xz
2. (Balena) Etched a SD with that file, booted holding the button to force SD boot, watched it program onboard flash to default state.
3. Conformed the system booted to petitboot without any SD installed.
4. Etched an SD with Armbian_21.08.6_Odroidhc4_bullseye_current_5.10.81.img.xz found here.
5. Booted holding the button to force SD boot, confirm OS install, setup users and configure region. Update OS with:
6. Reboot without holding the button to boot into petitboot, "Exit to shell", to cause auto boot from SD card, I ran:
# flash_eraseall /dev/mtd0
# flash_eraseall /dev/mtd1
# flash_eraseall /dev/mtd2
# flash_eraseall /dev/mtd3
7. Reboot to SD card successful, following the install script page I ran
sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
8. Connecting to OMV by http succeeds, using "admin" account I "secure wipe" drives found at /dev/sda and /dev/sdb (both showing 7.28TiB), 2 days pass.
9. Create raid (/dev/md0, mirror) and allow to fully sync, 1 day passes.
Now we get to the problem this go-round...
10. Create file system on device "/dev/md0" type 'EXT4' and start process. The sub-window appears in the browser and the FS building process starts.
(BTW this printout routine is buggy and stops using '\n' and runs off the left side of the screen above 10K)
I changed focus on the computer and began working on other things expecting this to take several hours.
At some point later, less than an hour, I return and OMV is back at the login screen.
Strange because in the 'secure wipe' dialog and Raid array sync progress stayed visible and page unlocked until complete.
Upon logging in, there is no file system in the list. Was it not created?
Trying to create a file system now, the drop down menu does not display "/dev/md0" as a device, even though it shows in the raid management list.
I pulled logs that weren't empty. I started the File system creation about 8-9am, I think.
What happened? Can I trust OMV with my data?
Is there some incompatibility with my drives (why they wont spin down)?