Cant mount a H/W Raid 5 USB (40TB) Hard Disk (EXT4 or NTFS) to Raspberry Pi 4 with OMV

  • Guten Abend.


    ich hoffe ich erhalte hier Hilfe bezüglich meines Problems.


    Ich versuche ein Hardware Raid5 (40TB) über USB einzubinden. Leider erhalte ich immer den selben Fehler:


    Bitte warten, das Dateisystem wird erstellt ...

    ===== Wipe signatures from device =====

    ===== Create partition =====

    Warning! Read error 27; strange behavior now likely!


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; partprobe '/dev/sda' 2>&1' with exit code '1': Error: end of file while reading /dev/sda


    Fehler #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; partprobe '/dev/sda' 2>&1' with exit code '1': Error:
    end of file while reading /dev/sda in /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc:649
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): Engined\Rpc\OMVRpcServiceFileSystemMgmt->Engined\Rpc\{closure}('/tmp/bgstatus1A...', '/tmp/bgoutput41...')
    #1 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(689): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure), NULL, Object(Closure))
    #2 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->create(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('create', Array, Array)
    #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FileSystemMgmt', 'create', Array, Array, 1)
    #6 {main}


    Kennt jemand das Problem bzw. die Ursache dafür und kann mir bei der Lösung helfen?

    OMV (5.6.12-1) (Kernel 5.10.46-v71+) läuft auf einem Raspberry Pi4 4GB.


    Nachtrag:


    Wenn ich versuche vorher über ein anderes System auf EXT4 zu formatieren und anschließend das Raid5-Bay einzubinden, erhalte ich folgende Fehlermeldung:


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': raspberrypi:

    ---------- ID: create_filesystem_mountpoint_eac2567a-d4cc-4c95-8bc2-20315449e044 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_eac2567a-d4cc-4c95-8bc2-20315449e044 for file /etc/fstab was charged by text Started: 15:45:18.132301 Duration: 2.52 ms Changes:

    ---------- ID: mount_filesystem_mountpoint_eac2567a-d4cc-4c95-8bc2-20315449e044 Function: mount.mounted Name: /srv/dev-disk-by-uuid-14e0b24a-4925-7686-3ba2-4b67bee74e1f Result: False Comment: mount: /srv/dev-disk-by-uuid-14e0b24a-4925-7686-3ba2-4b67bee74e1f: mount(2) system call failed: File too large. Started: 15:45:18.136990 Duration: 157.571 ms Changes:

    ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: Changes were made Started: 15:45:18.296627 Duration: 18.74 ms Changes: ---------- diff: --- +++ @@ -4,5 +4,5 @@ # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that # >>> [openmediavault] -/dev/disk/by-label/Elements

    /srv/dev-disk-by-label-Elements ntfs defaults,nofail 0 2 +/dev/disk/by-uuid/14e0b24a-4925-7686-3ba2-4b67bee74e1f

    /srv/dev-disk-by-uuid-14e0b24a-4925-7686-3ba2-4b67bee74e1f ext4

    defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl

    0 2 # <<< [openmediavault]

    Summary for raspberrypi

    ------------

    Succeeded: 2 (changed=1)

    Failed: 1

    ------------

    Total states run: 3

    Total run time: 178.831 ms


    Erweitert:


    Fehler #0:

    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': raspberrypi:

    ---------- ID: create_filesystem_mountpoint_eac2567a-d4cc-4c95-8bc2-20315449e044 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_eac2567a-d4cc-4c95-8bc2-20315449e044 for file /etc/fstab was charged by text Started: 15:45:18.132301 Duration: 2.52 ms Changes:

    ---------- ID: mount_filesystem_mountpoint_eac2567a-d4cc-4c95-8bc2-20315449e044 Function: mount.mounted Name: /srv/dev-disk-by-uuid-14e0b24a-4925-7686-3ba2-4b67bee74e1f Result: False Comment: mount: /srv/dev-disk-by-uuid-14e0b24a-4925-7686-3ba2-4b67bee74e1f: mount(2) system call failed: File too large. Started: 15:45:18.136990 Duration: 157.571 ms Changes:

    ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: Changes were made Started: 15:45:18.296627 Duration: 18.74 ms Changes: ---------- diff: --- +++ @@ -4,5 +4,5 @@ # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that # >>> [openmediavault] -/dev/disk/by-label/Elements /srv/dev-disk-by-label-Elements ntfs defaults,nofail 0 2 +/dev/disk/by-uuid/14e0b24a-4925-7686-3ba2-4b67bee74e1f /srv/dev-disk-by-uuid-14e0b24a-4925-7686-3ba2-4b67bee74e1f ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 # <<< [openmediavault]

    Summary for raspberrypi

    ------------

    Succeeded: 2 (changed=1)

    Failed: 1

    ------------

    Total states run: 3

    Total run time: 178.831 ms in /usr/share/php/openmediavault/system/process.inc:195

    Stack trace:

    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()

    #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()

    #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)

    #5 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(911): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array)

    #6 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->mount(Array, Array)

    #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('mount', Array, Array)

    #9 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FileSystemMgmt', 'mount', Array, Array, 1)

    #10 {main}

  • Chingy112

    Changed the title of the thread from “Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; partprobe '/dev/sda' 2>&1' with exit code '1': Error: end of file while reading /dev/sda” to “Cant mount a H/W Raid 5 USB (40TB) Hard Disk (EXT4 or NTFS) to Raspberry Pi 4 with OMV”.
  • Chingy112

    Added the Label OMV 5.x
  • I believe i have the same issue , cannot understand some of the language (German) but my error and hardware unit is the same. Orico H/W raid 5 unit to raspberry pi over USB3. Tried reboots, removing device from fstab, removing sda and sda1 mount points from /dev and re mounting. not the most advanced user so could do with more ideas.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!