Mounting HDD

  • Hello All, i have a recent issue i have encounted when upgrading my server,

    when i format a hdd and create the file system (EXT4) i go to mount it and then i am met with the error:

    (this is when applying changes)


    500 - Internal Server Error

    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': debian: ---------- ID: create_filesystem_mountpoint_47aab34e-81ec-4c73-aaaa-17fd31d8f5da Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_47aab34e-81ec-4c73-aaaa-17fd31d8f5da for file /etc/fstab was charged by text Started: 17:04:10.225053 Duration: 0.563 ms Changes: ---------- ID: mount_filesystem_mountpoint_47aab34e-81ec-4c73-aaaa-17fd31d8f5da Function: mount.mounted Name: /srv/dev-disk-by-uuid-044b63c2-c969-4b3a-83cd-ca30d429f78e Result: True Comment: Target was already mounted Started: 17:04:10.226287 Duration: 19.896 ms Changes: ---------- umount: Forced remount because options (acl,user_xattr) changed ---------- ID: create_filesystem_mountpoint_d0913ce1-d8bf-4c44-88b5-d10752a7f410 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_d0913ce1-d8bf-4c44-88b5-d10752a7f410 for file /etc/fstab was charged by text Started: 17:04:10.246277 Duration: 0.616 ms Changes: ---------- ID: mount_filesystem_mountpoint_d0913ce1-d8bf-4c44-88b5-d10752a7f410 Function: mount.mounted Name: /srv/dev-disk-by-uuid-6c0415f8-872...



    i am trying to mount a 1tb WDC elements usb hdd and a 1tb TOSHIBA hdd.

    I have no clue how to fix this any help would be greatly appriciated :)

  • KM0201

    Approved the thread.
  • i am met with the error:

    Click the bell icon on the top right and paste the complete error inside a CODE box

  • It excideds 10,000 characters, i have attatched it in a txt file its 14,000 characters

    Did you saw where it is failing?


    This has nothing to do with the drives you're trying to mount but with old references to some mount points you had prior and aren't seen anymore.


    Like the error show:

    dmesg(1) may have more information after failed mount system call

    You will need to check where it is referenced and remove it.

  • do i put them back in, unmount and delete them?

    You will have to remove any references on the GUI and unmount them on the GUI.

  • How do i remove the references??

    Install the reset permissions plugin and it will tell you on whihc services the drives are refered.

    Stop/remove any Shared Folders that is pointing to the drives and the umount button should be active.


    This is a drive that can't be umounted because it's Referenced and the SQUARE Button is greyed out:




    This is a drive that has no reference and can be unmounted:


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

    ----------

    ID: create_filesystem_mountpoint_47aab34e-81ec-4c73-aaaa-17fd31d8f5da

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_47aab34e-81ec-4c73-aaaa-17fd31d8f5da for file /etc/fstab was charged by text

    Started: 19:32:15.415611

    Duration: 0.578 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_47aab34e-81ec-4c73-aaaa-17fd31d8f5da

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-044b63c2-c969-4b3a-83cd-ca30d429f78e

    Result: True

    Comment:

    Started: 19:32:15.416655

    Duration: 39.879 ms

    Changes:

    ----------

    ID: create_filesystem_mountpoint_d0913ce1-d8bf-4c44-88b5-d10752a7f410

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_d0913ce1-d8bf-4c44-88b5-d10752a7f410 for file /etc/fstab was charged by text

    Started: 19:32:15.456637

    Duration: 0.59 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_d0913ce1-d8bf-4c44-88b5-d10752a7f410

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-6c0415f8-8724-4bed-bf53-83f9c3324bf2

    Result: True

    Comment: Target was already mounted

    Started: 19:32:15.457305

    Duration: 9.163 ms

    Changes:

    ----------

    umount:

    Forced remount because options (acl,user_xattr) changed

    ----------

    ID: create_filesystem_mountpoint_97288ab2-0d59-4365-8d8f-0a20e7c6995d

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_97288ab2-0d59-4365-8d8f-0a20e7c6995d for file /etc/fstab was charged by text

    Started: 19:32:15.466566

    Duration: 0.641 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_97288ab2-0d59-4365-8d8f-0a20e7c6995d

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-4fea317e-65f5-410d-a63f-773566304379

    Result: True

    Comment:

    Started: 19:32:15.467290

    Duration: 9.963 ms

    Changes:

    ----------

    ID: create_bind_mountpoint_5210400f-1673-471d-90fb-3dfb24ae8199

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_bind_mountpoint_5210400f-1673-471d-90fb-3dfb24ae8199 for file /etc/fstab was charged by text

    Started: 19:32:15.477384

    Duration: 0.686 ms

    Changes:

    ----------

    ID: mount_bind_mountpoint_5210400f-1673-471d-90fb-3dfb24ae8199

    Function: mount.mounted

    Name: /export/0day

    Result: False

    Comment: mount: /export/0day: special device /srv/dev-disk-by-uuid-044b63c2-c969-4b3a-83cd-ca30d429f78e/0day/ does not exist.

    dmesg(1) may have more information after failed mount system call.

    Started: 19:32:15.478205

    Duration: 10.089 ms

    Changes:

    ----------

    ID: append_fstab_entries

    Function: file.blockreplace

    Name: /etc/fstab

    Result: True

    Comment: No changes needed to be made

    Started: 19:32:15.489098

    Duration: 2.57 ms

    Changes:

    ----------

    ID: fstab_systemctl_daemon_reload

    Function: module.run

    Result: True

    Comment: State was not run because none of the onchanges reqs changed

    Started: 19:32:15.492286

    Duration: 0.003 ms

    Changes:


    Summary for debian

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

    Succeeded: 9 (changed=1)

    Failed: 1

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

    Total states run: 10

    Total run time: 74.162 ms

    [ERROR ] Command 'mount' failed with return code: 32

    [ERROR ] stderr: mount: /export/0day: special device /srv/dev-disk-by-uuid-044b63c2-c969-4b3a-83cd-ca30d429f78e/0day/ does not exist.

    dmesg(1) may have more information after failed mount system call.

    [ERROR ] retcode: 32

    [ERROR ] mount: /export/0day: special device /srv/dev-disk-by-uuid-044b63c2-c969-4b3a-83cd-ca30d429f78e/0day/ does not exist.

    dmesg(1) may have more information after failed mount system call.


    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; export LANGUAGE=; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': debian:

    ----------

    ID: create_filesystem_mountpoint_47aab34e-81ec-4c73-aaaa-17fd31d8f5da

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_47aab34e-81ec-4c73-aaaa-17fd31d8f5da for file /etc/fstab was charged by text

    Started: 19:32:15.415611

    Duration: 0.578 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_47aab34e-81ec-4c73-aaaa-17fd31d8f5da

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-044b63c2-c969-4b3a-83cd-ca30d429f78e

    Result: True

    Comment:

    Started: 19:32:15.416655

    Duration: 39.879 ms

    Changes:

    ----------

    ID: create_filesystem_mountpoint_d0913ce1-d8bf-4c44-88b5-d10752a7f410

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_d0913ce1-d8bf-4c44-88b5-d10752a7f410 for file /etc/fstab was charged by text

    Started: 19:32:15.456637

    Duration: 0.59 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_d0913ce1-d8bf-4c44-88b5-d10752a7f410

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-6c0415f8-8724-4bed-bf53-83f9c3324bf2

    Result: True

    Comment: Target was already mounted

    Started: 19:32:15.457305

    Duration: 9.163 ms

    Changes:

    ----------

    umount:

    Forced remount because options (acl,user_xattr) changed

    ----------

    ID: create_filesystem_mountpoint_97288ab2-0d59-4365-8d8f-0a20e7c6995d

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_97288ab2-0d59-4365-8d8f-0a20e7c6995d for file /etc/fstab was charged by text

    Started: 19:32:15.466566

    Duration: 0.641 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_97288ab2-0d59-4365-8d8f-0a20e7c6995d

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-4fea317e-65f5-410d-a63f-773566304379

    Result: True

    Comment:

    Started: 19:32:15.467290

    Duration: 9.963 ms

    Changes:

    ----------

    ID: create_bind_mountpoint_5210400f-1673-471d-90fb-3dfb24ae8199

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_bind_mountpoint_5210400f-1673-471d-90fb-3dfb24ae8199 for file /etc/fstab was charged by text

    Started: 19:32:15.477384

    Duration: 0.686 ms

    Changes:

    ----------

    ID: mount_bind_mountpoint_5210400f-1673-471d-90fb-3dfb24ae8199

    Function: mount.mounted

    Name: /export/0day

    Result: False

    Comment: mount: /export/0day: special device /srv/dev-disk-by-uuid-044b63c2-c969-4b3a-83cd-ca30d429f78e/0day/ does not exist.

    dmesg(1) may have more information after failed mount system call.

    Started: 19:32:15.478205

    Duration: 10.089 ms

    Changes:

    ----------

    ID: append_fstab_entries

    Function: file.blockreplace

    Name: /etc/fstab

    Result: True

    Comment: No changes needed to be made

    Started: 19:32:15.489098

    Duration: 2.57 ms

    Changes:

    ----------

    ID: fstab_systemctl_daemon_reload

    Function: module.run

    Result: True

    Comment: State was not run because none of the onchanges reqs changed

    Started: 19:32:15.492286

    Duration: 0.003 ms

    Changes:


    Summary for debian

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

    Succeeded: 9 (changed=1)

    Failed: 1

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

    Total states run: 10

    Total run time: 74.162 ms

    [ERROR ] Command 'mount' failed with return code: 32

    [ERROR ] stderr: mount: /export/0day: special device /srv/dev-disk-by-uuid-044b63c2-c969-4b3a-83cd-ca30d429f78e/0day/ does not exist.

    dmesg(1) may have more information after failed mount system call.

    [ERROR ] retcode: 32

    [ERROR ] mount: /export/0day: special device /srv/dev-disk-by-uuid-044b63c2-c969-4b3a-83cd-ca30d429f78e/0day/ does not exist.

    dmesg(1) may have more information after failed mount system call. in /usr/share/php/openmediavault/system/process.inc:247

    Stack trace:

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

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

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

    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()

    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod()

    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(622): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}()

    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(146): OMV\Rpc\ServiceAbstract->execBgProc()

    #7 /usr/share/openmediavault/engined/rpc/config.inc(207): OMV\Rpc\ServiceAbstract->callMethodBg()

    #8 [internal function]: Engined\Rpc\Config->applyChangesBg()

    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()

    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()

    #11 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()

    #12 {main}

  • stderr: mount: /export/0day

    That mount is different than the first two.

  • macom

    Added the Label resolved

Participate now!

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