File system won't mount properly / won't register as mounted

  • I am trying to mount 2 drives through a HDD dock via USB using my raspberry pi 4 (4gb) Nas running OMV 6.

    I currently have:

    1x External HDD via USB (sda1)-> no issues

    1x 3.5" HDD though dock (sdb1) -> no issues

    1x 3.5" through dock (sdc1) -> file system created fine, but when I try to mount using the web GUI, it doesn't register as mounted (see image)


    I have tried to unmount and re-mount it multiple times, as well as rebooting the server, with no success.

    I am a complete noob with the SSH, so do not no how to troubleshoot it with that.

    if it helps, this is similar to the dock I'm using, a new version of the same model from unitech


    EDIT:

    This is the output of lsblk

    so the drive is obviously not mounting properly.

    Einmal editiert, zuletzt von floxdaw () aus folgendem Grund: Adding troubleshooting information

  • chente

    Hat das Thema freigeschaltet.
  • chente

    Hat das Thema freigeschaltet.
  • blkid:

    Code
    /dev/mmcblk0p1: LABEL_FATBOOT="bootfs" LABEL="bootfs" UUID="9E81-4F92" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="4a132184-01"
    /dev/mmcblk0p2: LABEL="rootfs" UUID="cf2895ca-6dc2-4797-8040-f76ba1508f41" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="4a132184-02"
    /dev/sda1: UUID="f52a9db2-c4e7-497e-9255-37d33ba775a0" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="85b6eaf4-c749-4609-ace3-305d5d84165c"
    /dev/sdb1: UUID="6fb2bb9d-7a8e-4936-9093-057663216a25" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="d86a9db8-3732-4bef-b98d-b81e7d7da1b8"
    /dev/sdc1: UUID="df058e9a-a131-481f-922e-d2b05adf741f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="cd528f36-3496-442a-a19c-b19d55192e0b"

    omv-showkey mntent

  • UPDATE:

    When I mount it manually using mount UUID="df058e9a-a131-481f-922e-d2b05adf741f" /srv/dev-disk-by-uuid-df058e9a-a131-481f-922e-d2b05adf741f

    It works temporarily but when the server reboots sdc1 is no longer mounted. I tried adding a fstab entry following this and this but it didn't make seem to work

  • What is the output of omv-salt deploy run fstab?

    Keep in mind this is the output AFTER I added the entry as per my reply above.

  • UPDATE:

    After a second reboot, it mounted correctly.

    On a third reboot, it also mounted correctly, so the issue may be fixed?


    So it seems that manually mounting through bash and adding the /etc/fstab entry manually seemed to fix the problem. Not sure why it wouldn't mount in the first place

  • chente

    Hat das Label gelöst hinzugefügt.
    • Offizieller Beitrag

    The problem was this:


    Code
                      -/dev/disk/by-uuid/df058e9a-a131-481f-922e-d2b05adf741f               /srv/dev-disk-by-uuid-df058e9a-a131-481f-922e-d2b05adf741f      ext4    defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,ac1      0 2
                      -
                      +/dev/disk/by-uuid/df058e9a-a131-481f-922e-d2b05adf741f               /srv/dev-disk-by-uuid-df058e9a-a131-481f-922e-d2b05adf741f      ext4    defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl      0 2

    I seems you have manually modified the fstab and entered an incorrect option. As you see above OMV replaces ...fmt=vfsv0,ac1 with ...fmt=vfsv0,acl. ac1 had a typo.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!