Hard drives won't mount anymore

  • I fix one thing then something else breaks!


    Just switched on server to find that none of my drives were mounted anymore. Just enabled the ext4 drive, but the other 2 are ntfs and will not mount at all. just keep getting:



    Code
    Failed to mount '/dev/disk/by-uuid/B0A69108A690D068': mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab


    Same with the other drive.


    I have no idea why this would automatically unmount then refuse to remount. The target folders are in /media/ but the bloody thing will not work! Also, the fstab file looks as you would expect with no mention of the two drives anywhere.


    Please help

    • Offizieller Beitrag

    omv-mkconf fstab
    mount -a

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Ok, I tried the code but it makes no difference



    the error is with the drive I am NOT trying to mount at this this time.
    I also have an NFS share that is not in fstab but when I delete it from omv page and click apply I get the same error

  • Hi,


    i have the same issue. Hope someone can help me.



    Failed to mount '763de920-2576-4efe-b33d-1973f7f6ef9e': mount: can't find /media/763de920-2576-4efe-b33d-1973f7f6ef9e in /etc/fstab or /etc/mtab



    ================================================================================
    = OS/Debian information
    ================================================================================
    Distributor ID: debian
    Description: Debian GNU/Linux jessie/sid
    Release: jessie/sid
    Codename:


    ================================================================================
    = OpenMediaVault information
    ================================================================================
    Release: 1.0.27.3
    Codename: Kralizec


    ================================================================================
    = System information
    ================================================================================
    Linux omv 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86_64 GNU/Linux

    • Offizieller Beitrag

    Post the output of:


    cat /etc/fstab
    blkid

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • fstab


    blkid

    Code
    /dev/sda5: UUID="861ce8b6-f5f7-4ae9-8630-0f10ef6777e6" TYPE="swap"
    /dev/sdb1: UUID="5297dbf7-50f4-4528-b619-749be3f25749" TYPE="ext4"
    /dev/sdc1: UUID="763de920-2576-4efe-b33d-1973f7f6ef9e" TYPE="ext4"
    /dev/sda1: UUID="fc6d6b56-ba51-4b1d-8346-afea217b4758" TYPE="ext4"
    • Offizieller Beitrag

    Also:


    cat /etc/openmediavault/config.xml | awk '/<fstab>/,/<\/fstab>/'

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I think the issue is a missing @CR


    i run omv-mkconf fstab, fstab looks like


    Code
    # >>> [openmediavault]
    UUID=763de920-2576-4efe-b33d-1973f7f6ef9e /media/763de920-2576-4efe-b33d-1973f7f6ef9e ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2# <<< [openmediavault]


    mount -a
    [mntent]: line 14 in /etc/fstab is bad



    after editing fstab to

    Code
    # >>> [openmediavault]
    UUID=763de920-2576-4efe-b33d-1973f7f6ef9e /media/763de920-2576-4efe-b33d-1973f7f6ef9e ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
    # <<< [openmediavault]


    mount -a works successfully

    • Offizieller Beitrag

    It should be writing two entries between the openmediavault keys. I don't know why it isn't. I would file a bug in the bugtracker and reference this thread.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Sorry for the late reply.


    What´s your OMV version? Please upgrade first to newest OMV and then again follow aarons commands


    I am on the latest build, 1.0.27.3


    I have tried disconnecting the sata cables from the drives but they are still showing in file system (only as missing) but they are not showing in the Physical Disk section. I don't know where the info is being stored as fstab looks like this:

    • Offizieller Beitrag


    The config.xml file is corrupted. The line '<fstab>1</fstab>' is wrong. If you remove this it should work.

  • Okay, it's doing it again!!!! FFS, what is going on?????


    Here is the relevant section of config.xml:


    and here is fstab:


    I am getting the error:

    Zitat


    Failed
    to mount '/dev/disk/by-uuid/2FEAE88E665EDA39': fuse: failed to access
    mountpoint /media/2FEAE88E665EDA39: No such file or directory


    Very frustrating!

  • Okay, I just fixed it (i think) by disabling NFS and deleting the shared folder. Why would this cause such a problem? The last time it screwed up I had just been sorting NFS. I don't want to mark this thread as solved until I can be sure what was wrong.

  • Hi!
    Finally fresh install of OMV1...(had to update kernel to wheezy, as running on ARM)
    A bit bumpy, but its now running. But I can't mount HD via Webgui (works on CLI)


    Code
    cat /etc/fstab


    Zitat

    [root@OXNAS:~]$.cat /etc/fstab
    # UNCONFIGURED FSTAB FOR BASE SYSTEM
    # >>> [openmediavault]
    UUID=abd590d7-a0c7-433d-a990-6100d28fbea7 /media/abd590d7-a0c7-433d-a990-6100d28fbea7 ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
    # <<< [openmediavault]


    Code
    cat /etc/openmediavault/config.xml | awk '/<fstab>/,/<\/fstab>/'



    after trying to mount with Webgui:

    Code
    mount -a


    Zitat

    mount: wrong fs type, bad option, bad superblock on /dev/sda2,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so


    Code
    dmesg | tail



    I can mount on CLI:


    And its recognised in the Web of OMV. But when I go to add a shared folder the "Volume" drop down is empty..! Weird...

Jetzt mitmachen!

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