Filesystem "missing" after reboot.

    • Filesystem "missing" after reboot.

      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:

      Source Code

      1. root@NAS:~# blkid
      2. /dev/mmcblk1p1: UUID="5bab0a55-56f1-4443-8cac-297e1181425c" TYPE="ext4" PARTUUID="01bb5fb4-01"
      3. /dev/mmcblk1p2: UUID="d0da7bbe-e3af-4588-8715-aa5c4478eb88" UUID_SUB="8d229fcf-d05b-48da-8f0b-b3211c04308d" TYPE="btrfs" PARTUUID="01bb5fb4-02"
      4. /dev/zram0: UUID="12079f2c-57d1-4db4-b0e7-4f74fef740bb" TYPE="swap"
      5. /dev/zram1: UUID="ad51d09a-08c4-42ef-925e-7514909bd9c3" TYPE="swap"
      6. /dev/zram2: UUID="228cef1b-d51f-4999-b186-c3fa902fb2e9" TYPE="swap"
      7. /dev/zram3: UUID="66c32e40-f06e-4416-b168-dd08cb36b53b" TYPE="swap"
      8. /dev/zram4: UUID="30656e35-6688-4fea-818a-632a4ebd06da" TYPE="swap"
      9. /dev/zram5: UUID="775cfa3a-16e4-4150-a7d3-76397ad97cce" TYPE="swap"
      10. /dev/zram6: UUID="b0f64152-7e2a-466a-9db4-797eae7ec99f" TYPE="swap"
      11. /dev/zram7: UUID="9e860fea-6802-40ed-8ac2-1193944e17d5" TYPE="swap"
      12. /dev/mmcblk1: PTUUID="01bb5fb4" PTTYPE="dos"
      13. /dev/mmcblk1p3: PARTUUID="01bb5fb4-03"
      14. /dev/sda1: PARTUUID="f2a80428-f163-47fa-b81f-6c943f85fa91"
      Display All




      df -h shows:

      Source Code

      1. root@NAS:~# df -h
      2. Filesystem Size Used Avail Use% Mounted on
      3. udev 931M 0 931M 0% /dev
      4. tmpfs 200M 6.8M 193M 4% /run
      5. /dev/mmcblk1p2 7.4G 1.6G 3.2G 34% /
      6. tmpfs 999M 0 999M 0% /dev/shm
      7. tmpfs 5.0M 8.0K 5.0M 1% /run/lock
      8. tmpfs 999M 0 999M 0% /sys/fs/cgroup
      9. tmpfs 999M 8.0K 999M 1% /tmp
      10. /dev/mmcblk1p1 58M 24M 33M 42% /boot
      11. folder2ram 999M 16M 984M 2% /var/log
      12. folder2ram 999M 0 999M 0% /var/tmp
      13. folder2ram 999M 272K 999M 1% /var/lib/openmediavault/rrd
      14. folder2ram 999M 16K 999M 1% /var/spool
      15. folder2ram 999M 15M 984M 2% /var/lib/rrdcached
      16. folder2ram 999M 8.0K 999M 1% /var/lib/monit
      17. folder2ram 999M 4.0K 999M 1% /var/lib/php
      18. folder2ram 999M 4.0K 999M 1% /var/lib/netatalk/CNID
      19. folder2ram 999M 524K 998M 1% /var/cache/samba
      20. tmpfs 200M 0 200M 0% /run/user/0
      Display All

      And here's fstab:

      Source Code

      1. UUID=d0da7bbe-e3af-4588-8715-aa5c4478eb88 / btrfs defaults,noatime,nodiratime,commit=600,compress=lzo 0 1
      2. UUID=5bab0a55-56f1-4443-8cac-297e1181425c /boot ext4 defaults,commit=600,errors=remount-ro 0 2
      3. tmpfs /tmp tmpfs defaults,nosuid 0 0
      4. # >>> [openmediavault]
      5. /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
      6. /srv/dev-disk-by-label-NAS01/OpenHabBackup /export/OpenHabBackup none bind,nofail 0 0
      7. # <<< [openmediavault]

      The following bits from the Diagnostics / Report output may be relevant:


      Source Code

      1. Filesystem 'filesystem_srv_dev-disk-by-label-NAS01'
      2. status Accessible
      3. monitoring status Monitored
      4. monitoring mode active
      5. on reboot start
      6. permission 700
      7. uid 0
      8. gid 0
      9. filesystem flags 0xc00
      10. block size 4 kB
      11. space total 7.3 GB (of which 35.5% is reserved for root user)
      12. space free for non superuser 3.2 GB [43.0%]
      13. space free total 5.8 GB [78.5%]
      14. data collected Sun, 06 Jan 2019 23:08:24
      15. Program 'mountpoint_srv_dev-disk-by-label-NAS01'
      16. status Status failed
      17. monitoring status Monitored
      18. monitoring mode active
      19. on reboot start
      20. last exit value 1
      21. last output /srv/dev-disk-by-label-NAS01 is not a mountpoint
      22. data collected Sun, 06 Jan 2019 23:08:24
      23. ================================================================================
      24. = Block device attributes
      25. ================================================================================
      26. /dev/mmcblk1p1: UUID="5bab0a55-56f1-4443-8cac-297e1181425c" TYPE="ext4" PARTUUID="01bb5fb4-01"
      27. /dev/mmcblk1p2: UUID="d0da7bbe-e3af-4588-8715-aa5c4478eb88" UUID_SUB="8d229fcf-d05b-48da-8f0b-b3211c04308d" TYPE="btrfs" PARTUUID="01bb5fb4-02"
      28. /dev/zram0: UUID="12079f2c-57d1-4db4-b0e7-4f74fef740bb" TYPE="swap"
      29. /dev/zram1: UUID="ad51d09a-08c4-42ef-925e-7514909bd9c3" TYPE="swap"
      30. /dev/zram2: UUID="228cef1b-d51f-4999-b186-c3fa902fb2e9" TYPE="swap"
      31. /dev/zram3: UUID="66c32e40-f06e-4416-b168-dd08cb36b53b" TYPE="swap"
      32. /dev/zram4: UUID="30656e35-6688-4fea-818a-632a4ebd06da" TYPE="swap"
      33. /dev/zram5: UUID="775cfa3a-16e4-4150-a7d3-76397ad97cce" TYPE="swap"
      34. /dev/zram6: UUID="b0f64152-7e2a-466a-9db4-797eae7ec99f" TYPE="swap"
      35. /dev/zram7: UUID="9e860fea-6802-40ed-8ac2-1193944e17d5" TYPE="swap"
      36. /dev/mmcblk1: PTUUID="01bb5fb4" PTTYPE="dos"
      37. /dev/mmcblk1p3: PARTUUID="01bb5fb4-03"
      38. /dev/sda1: PARTUUID="f2a80428-f163-47fa-b81f-6c943f85fa91"
      Display All

      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
    • Users Online 1

      1 Guest