I've set up a Raspberry Pi 4 with OMV. I've lost access to several file systems now.
The file systems I've lost are all EXT4, some with Luks, some without. It's happened on different drives, one USB powered and one wall powered. It seems to happen when a drive is in use and power is cut, either through unplugging or through an OMV GUI initiated shutdown.
I've scoured the forums and haven't been able to find a solution. I know I can reformat but I'm hoping to find a solution that allows the system to be turned off without risking loss of a filesystem and in the event of a filesystem loss find a way to recover the data.
The drive didn't mount with:
sudo partprobe /dev/sdb
sudo mount -a
Here's the output of
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 7.6G 0 disk
└─sda1 8:1 1 7.6G 0 part /srv/dev-disk-by-uuid-35786ad5-1e35-49d8-a53b-3c86d5b72d2a
sdb 8:16 0 2.7T 0 disk
sdc 8:32 0 465.8G 0 disk
├─sdc1 8:33 0 256M 0 part /boot
└─sdc2 8:34 0 3.4G 0 part
mmcblk0 179:0 0 3.7G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part
└─mmcblk0p2 179:2 0 3.4G 0 part /
This is the output of
proc /proc proc defaults 0 0
PARTUUID=94102b65-01 /boot vfat defaults 0 2
PARTUUID=94102b65-02 / ext4 noatime,nodiratime,defaults 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
# >>> [openmediavault]
/dev/disk/by-uuid/b28341e8-ad14-4def-94b8-457ca061c159 /srv/dev-disk-by-uuid-b28341e8-ad14-4def-94b8-457ca061c159 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-uuid/869f0be5-8908-4a18-865a-5974662ea8eb /srv/dev-disk-by-uuid-869f0be5-8908-4a18-865a-5974662ea8eb ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-uuid/35786ad5-1e35-49d8-a53b-3c86d5b72d2a /srv/dev-disk-by-uuid-35786ad5-1e35-49d8-a53b-3c86d5b72d2a ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
I'm not sure what other info would help to solve this.