External USB 3.0 drive is not mounting properly at reboot

  • Hi,


    like some others in the forum I have the Problem that an external USB 3.0 drive is not mounted properly upon boot. I already set a delay of 10 in grub but this had no effect on the problem,


    My configuration is a Gigabyte BRIX w/ 8GB RAM and a 256GB transcend SSD and an external USB 3.0 HDD drive.


    On boot I get the following Messages:


    After these messages the boot stops, if I press CTRL + D the boot sequence resumes and all drives are mounted. How can I prevent pressing CTRL+D while booting?


    Best regards!


    Andy

    • Offizieller Beitrag

    That drive should be mounted nofail so that omv can continue booting. What version of OMV are you using? Did you try setting a delay in the bios/efi instead of grub?

    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!

    • Offizieller Beitrag

    'nofail' is default mount option since long time.


    I remember when you added it :) That is why I was shocked he had to use ctrl-d and asked what version of OMV he is using.

    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 . . I am using OMV 1.1.


    Below you find my fstab:


    I also found out, that the speed of the external USB 3.0 drive is very very slow, do you have an idea, what can be the reason for that behaviour?


    Code
    /dev/sdb2:
     Timing O_DIRECT cached reads:    56 MB in  2.03 seconds =  27.55 MB/sec
     Timing O_DIRECT disk reads:  82 MB in  3.05 seconds =  26.84 MB/sec


    Best regards!


    Andy

    • Offizieller Beitrag

    Do you have the usb 3.0 plugged in a usb 3.0 port? If so, move it to a usb 2.0 port temporarily.

    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 connected the HDD to a USB 2.0 port, now I wasn't force to press CTRL+D but the drives aren't mounted. I am forced to mount them manually via GUI.


    The disk speed is nearly the same as at the 3.0 port, really strange.


    Code
    /dev/sdb2:
     Timing O_DIRECT cached reads:    72 MB in  2.02 seconds =  35.67 MB/sec
     Timing O_DIRECT disk reads:  72 MB in  3.04 seconds =  23.72 MB/sec


    Andy

    • Offizieller Beitrag

    Maybe? I would upgrade to backports 3.16 kernel (installed using omv-extras) and see if it fixes the problem.

    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 tried another HDD on the same port and the rates are 30% faster than with the other one. Also mounting on Startup worked without any problems. But I can not switch the drives as the first on is 1TB with lot of data and the 2nd is just 500GB. Any ideas?

    Code
    /dev/sdb2:
     Timing O_DIRECT cached reads:    76 MB in  2.04 seconds =  37.28 MB/sec
     Timing O_DIRECT disk reads: 110 MB in  3.02 seconds =  36.39 MB/sec
  • The UUID are matching.


    I played something around, erased the swap partition on the external drive, labelled all partitions, started with rootdelay at 60 and now it's working. So this part is solved.


    The only thing I am wondering is the low throughput of the 3.0 port.


    Andy

    • Offizieller Beitrag

    That is what I suggested a few posts ago. The 3.2 kernel doesn't seem to have very good usb 3.0 drivers.

    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!

    • Offizieller Beitrag

    When booting?

    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!

    • Offizieller Beitrag

    Never goes on? Is your system setup for dhcp?

    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 tried several times booting backports but it stucks every time at the same point. Yes, DHCP is activated. I also tried with fixed values, but it was still the same.


    The Brix has also a PCI-E Wifi module included (Realtek 8723BE), but there seems to be no drivers, so I will try taking out the module tomorrow hoping that helps with 3.16.


    Regarding the USB 3.0 thing I also tried some research, but it confuses me. LSUSB is showing the 3.0 port as bus 003 but the drive to be connected on bus 001. An internal wiring error is impossible as the port is onboard.


    *lsusb*

    Code
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 002: ID 8087:07e6 Intel Corp.
    Bus 001 Device 003: ID 4971:1014 SimpleTech
    Bus 001 Device 004: ID 13d3:3410 IMC Networks
    Bus 001 Device 005: ID 2659:1210 Sundtek
    Bus 001 Device 006: ID 0425:0101 Motorola Semiconductors HK, Ltd G-Tech Wireless Mouse & Keyboard


    *usb-devices*

    • Offizieller Beitrag

    dpkg -l | grep resolvconf

    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!

Jetzt mitmachen!

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