Hello All,
While I'm new to the community, I have been an OMV user for a couple years now. I was running on OMV3.x and upgraded to 4.x a few months back.
I wanted to have the system upgraded to latest version (6.x) and that's where the trouble started.
I'm using the OMV off from a USB with 2*4TB data disks setup in RAID1.
Since I couldn't get my hands on to the method of upgrading from 4.x to 5.x to 6.x, I installed 6.x in a new USB stick and booted the system up.
It booted all Okay, but didn't detect the File System. Didn't know if I had to create a new FS or while creating, it would detect the existing one or what exactly, I attempted to create a new FS on RAID1 device.
When it started writing, I feared data loss and forcefully switched off the system. Then plugged back in the old USB stick with 4.x OMV and now everything is messed up. My data is no more accessible.
First, RAID was showing in re-sync (waiting) state, so I ran 'mdadm --readwrite /dev/md0' which sort of fixed the RAID error.
Then for the FS, I ran fsck /dev/md0 and it fixed something (don't know what exactly it did though, I kept saying "yes" to all questions.)
Current state, it shows the disk mounted but nothing beyond that.
I sort of feel like the Data is there on disks (not overwritten or deleted) coz of below output but don't know how to fix the problem:
root@signtrigger-nas-prod:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 9.2M 1.6G 1% /run
/dev/sdc1 14G 2.2G 11G 17% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
tmpfs 7.8G 0 7.8G 0% /tmp
/dev/md0 3.6T 2.2T 1.5T 61% /srv/dev-disk-by-id-md-name-signtrigger-nas-prod-0
I wanted to try the 'testdisk' utility to fix this, but thought it was better to check if anyone could suggest right method to go from here.