I recently shut down OMV, removed the SD card (that it boots from) to create an image of it, and then put it back and re-started.
In addition to the SD card, there is a 8TB USB 3 drive attached. Upon re-start this drive did not mount, and I can't work out how to mount it.
The disk appears on the Storage/Disks page of the OMV interface:
Device: /dev/sda
Model: USB 3.0
Serial Number: (is present)
Vendor: N/A
Capicity: 7.28TiB
On the Storage/File Systems page I have the SD card (two partitions are listed) and the following details for the missing drive:
Device: /dev/disk/by-label/NAS01
Label: (blank)
Filesystem: ext4
Total / Availavle / Used : all n/a
Mounted: No
Referenced: Yes
Status: Missing
I can't work out how to resolve this. I am not using RAID at all.
blkid shows:
root@NAS:~# blkid
/dev/mmcblk1p1: UUID="5bab0a55-56f1-4443-8cac-297e1181425c" TYPE="ext4" PARTUUID="01bb5fb4-01"
/dev/mmcblk1p2: UUID="d0da7bbe-e3af-4588-8715-aa5c4478eb88" UUID_SUB="8d229fcf-d05b-48da-8f0b-b3211c04308d" TYPE="btrfs" PARTUUID="01bb5fb4-02"
/dev/zram0: UUID="12079f2c-57d1-4db4-b0e7-4f74fef740bb" TYPE="swap"
/dev/zram1: UUID="ad51d09a-08c4-42ef-925e-7514909bd9c3" TYPE="swap"
/dev/zram2: UUID="228cef1b-d51f-4999-b186-c3fa902fb2e9" TYPE="swap"
/dev/zram3: UUID="66c32e40-f06e-4416-b168-dd08cb36b53b" TYPE="swap"
/dev/zram4: UUID="30656e35-6688-4fea-818a-632a4ebd06da" TYPE="swap"
/dev/zram5: UUID="775cfa3a-16e4-4150-a7d3-76397ad97cce" TYPE="swap"
/dev/zram6: UUID="b0f64152-7e2a-466a-9db4-797eae7ec99f" TYPE="swap"
/dev/zram7: UUID="9e860fea-6802-40ed-8ac2-1193944e17d5" TYPE="swap"
/dev/mmcblk1: PTUUID="01bb5fb4" PTTYPE="dos"
/dev/mmcblk1p3: PARTUUID="01bb5fb4-03"
/dev/sda1: PARTUUID="f2a80428-f163-47fa-b81f-6c943f85fa91"
Alles anzeigen
df -h shows:
root@NAS:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 931M 0 931M 0% /dev
tmpfs 200M 6.8M 193M 4% /run
/dev/mmcblk1p2 7.4G 1.6G 3.2G 34% /
tmpfs 999M 0 999M 0% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 999M 0 999M 0% /sys/fs/cgroup
tmpfs 999M 8.0K 999M 1% /tmp
/dev/mmcblk1p1 58M 24M 33M 42% /boot
folder2ram 999M 16M 984M 2% /var/log
folder2ram 999M 0 999M 0% /var/tmp
folder2ram 999M 272K 999M 1% /var/lib/openmediavault/rrd
folder2ram 999M 16K 999M 1% /var/spool
folder2ram 999M 15M 984M 2% /var/lib/rrdcached
folder2ram 999M 8.0K 999M 1% /var/lib/monit
folder2ram 999M 4.0K 999M 1% /var/lib/php
folder2ram 999M 4.0K 999M 1% /var/lib/netatalk/CNID
folder2ram 999M 524K 998M 1% /var/cache/samba
tmpfs 200M 0 200M 0% /run/user/0
Alles anzeigen
And here's fstab:
UUID=d0da7bbe-e3af-4588-8715-aa5c4478eb88 / btrfs defaults,noatime,nodiratime,commit=600,compress=lzo 0 1
UUID=5bab0a55-56f1-4443-8cac-297e1181425c /boot ext4 defaults,commit=600,errors=remount-ro 0 2
tmpfs /tmp tmpfs defaults,nosuid 0 0
# >>> [openmediavault]
/dev/disk/by-label/NAS01 /srv/dev-disk-by-label-NAS01 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/srv/dev-disk-by-label-NAS01/OpenHabBackup /export/OpenHabBackup none bind,nofail 0 0
# <<< [openmediavault]
The following bits from the Diagnostics / Report output may be relevant:
Filesystem 'filesystem_srv_dev-disk-by-label-NAS01'
status Accessible
monitoring status Monitored
monitoring mode active
on reboot start
permission 700
uid 0
gid 0
filesystem flags 0xc00
block size 4 kB
space total 7.3 GB (of which 35.5% is reserved for root user)
space free for non superuser 3.2 GB [43.0%]
space free total 5.8 GB [78.5%]
data collected Sun, 06 Jan 2019 23:08:24
Program 'mountpoint_srv_dev-disk-by-label-NAS01'
status Status failed
monitoring status Monitored
monitoring mode active
on reboot start
last exit value 1
last output /srv/dev-disk-by-label-NAS01 is not a mountpoint
data collected Sun, 06 Jan 2019 23:08:24
================================================================================
= Block device attributes
================================================================================
/dev/mmcblk1p1: UUID="5bab0a55-56f1-4443-8cac-297e1181425c" TYPE="ext4" PARTUUID="01bb5fb4-01"
/dev/mmcblk1p2: UUID="d0da7bbe-e3af-4588-8715-aa5c4478eb88" UUID_SUB="8d229fcf-d05b-48da-8f0b-b3211c04308d" TYPE="btrfs" PARTUUID="01bb5fb4-02"
/dev/zram0: UUID="12079f2c-57d1-4db4-b0e7-4f74fef740bb" TYPE="swap"
/dev/zram1: UUID="ad51d09a-08c4-42ef-925e-7514909bd9c3" TYPE="swap"
/dev/zram2: UUID="228cef1b-d51f-4999-b186-c3fa902fb2e9" TYPE="swap"
/dev/zram3: UUID="66c32e40-f06e-4416-b168-dd08cb36b53b" TYPE="swap"
/dev/zram4: UUID="30656e35-6688-4fea-818a-632a4ebd06da" TYPE="swap"
/dev/zram5: UUID="775cfa3a-16e4-4150-a7d3-76397ad97cce" TYPE="swap"
/dev/zram6: UUID="b0f64152-7e2a-466a-9db4-797eae7ec99f" TYPE="swap"
/dev/zram7: UUID="9e860fea-6802-40ed-8ac2-1193944e17d5" TYPE="swap"
/dev/mmcblk1: PTUUID="01bb5fb4" PTTYPE="dos"
/dev/mmcblk1p3: PARTUUID="01bb5fb4-03"
/dev/sda1: PARTUUID="f2a80428-f163-47fa-b81f-6c943f85fa91"
Alles anzeigen
I have checked the drive physically - yes, it's plugged in, lights are working, etc... all seems normal.
I have tried several re-starts with no luck.
All OMV software is up to date (as managed by the update tab in OMV web interface).
The bottom line is a shut down the server (via the OMV web interface). While it was down I removed - and replaced - the SD card. Then on reboot, everything works, except that the USB3 drive is... "missing".
Thanks in advance to anyone who can help with this.
- Andrew