Error try to enabled NFS

    • Offizieller Beitrag

    Please copy and paste the error from the Bell in the top right of the web interface.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Please copy and paste the error from the Bell in the top right of the web interface.

    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 nfs 2>&1' with exit code '1': raspnas:

    ----------

    ID: configure_default_nfs-kernel-server

    Function: file.managed

    Name: /etc/default/nfs-kernel-server

    Result: True

    Comment: File /etc/default/nfs-kernel-server is in the correct state

    Started: 17:02:11.287218

    Duration: 118.141 ms

    Changes:

    ----------

    ID: configure_nfsd_exports

    Function: file.managed

    Name: /etc/exports

    Result: True

    Comment: File /etc/exports updated

    Started: 17:02:11.405748

    Duration: 107.83 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -3,7 +3,7 @@


    # /etc/exports: the access control list for filesystems which may be exported

    # to NFS clients. See exports(5).

    -/export/ExMedia2T 192.168.178.0/24(fsid=a6dc7520-3da1-482e-b893-0855c1993442,rw,subtree_check,insecure)

    +/export/ExMedia2T 192.168.178/24(fsid=4631e42f-363d-4ff8-9a24-7358eb2a9952,rw,subtree_check,insecure)


    # NFSv4 - pseudo filesystem root

    -/export 192.168.178.0/24(ro,fsid=0,root_squash,no_subtree_check,hide)

    +/export 192.168.178/24(ro,fsid=0,root_squash,no_subtree_check,hide)

    ----------

    ID: start_rpc_statd_service

    Function: service.running

    Name: rpc-statd

    Result: True

    Comment: The service rpc-statd is already running

    Started: 17:02:11.562830

    Duration: 92.171 ms

    Changes:

    ----------

    ID: start_nfs_server_service

    Function: service.running

    Name: nfs-server

    Result: False

    Comment: Job for nfs-server.service canceled.

    Started: 17:02:11.838635

    Duration: 172.148 ms

    Changes:


    Summary for raspnas

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

    Succeeded: 3 (changed=1)

    Failed: 1

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

    Total states run: 4

    Total run time: 490.290 ms


    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 nfs 2>&1' with exit code '1': raspnas:

    ----------

    ID: configure_default_nfs-kernel-server

    Function: file.managed

    Name: /etc/default/nfs-kernel-server

    Result: True

    Comment: File /etc/default/nfs-kernel-server is in the correct state

    Started: 17:02:11.287218

    Duration: 118.141 ms

    Changes:

    ----------

    ID: configure_nfsd_exports

    Function: file.managed

    Name: /etc/exports

    Result: True

    Comment: File /etc/exports updated

    Started: 17:02:11.405748

    Duration: 107.83 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -3,7 +3,7 @@


    # /etc/exports: the access control list for filesystems which may be exported

    # to NFS clients. See exports(5).

    -/export/ExMedia2T 192.168.178.0/24(fsid=a6dc7520-3da1-482e-b893-0855c1993442,rw,subtree_check,insecure)

    +/export/ExMedia2T 192.168.178/24(fsid=4631e42f-363d-4ff8-9a24-7358eb2a9952,rw,subtree_check,insecure)


    # NFSv4 - pseudo filesystem root

    -/export 192.168.178.0/24(ro,fsid=0,root_squash,no_subtree_check,hide)

    +/export 192.168.178/24(ro,fsid=0,root_squash,no_subtree_check,hide)

    ----------

    ID: start_rpc_statd_service

    Function: service.running

    Name: rpc-statd

    Result: True

    Comment: The service rpc-statd is already running

    Started: 17:02:11.562830

    Duration: 92.171 ms

    Changes:

    ----------

    ID: start_nfs_server_service

    Function: service.running

    Name: nfs-server

    Result: False

    Comment: Job for nfs-server.service canceled.

    Started: 17:02:11.838635

    Duration: 172.148 ms

    Changes:


    Summary for raspnas

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

    Succeeded: 3 (changed=1)

    Failed: 1

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

    Total states run: 4

    Total run time: 490.290 ms in /usr/share/php/openmediavault/system/process.inc:220

    Stack trace:

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

    #1 /usr/share/openmediavault/engined/rpc/config.inc(170): 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/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)

    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusxX...', '/tmp/bgoutputLO...')

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

    #7 /usr/share/openmediavault/engined/rpc/config.inc(192): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)

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

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

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

    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)

    #12 {main}

    • Offizieller Beitrag

    192.168.178/24

    You changed the client field to an incorrect value. It should be 192.168.178.0/24 like you had it before.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • You changed the client field to an incorrect value. It should be 192.168.178.0/24 like you had it before.


    I got the same error.

    I try also to set one IP



    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 nfs 2>&1' with exit code '1': raspnas:

    ----------

    ID: configure_default_nfs-kernel-server

    Function: file.managed

    Name: /etc/default/nfs-kernel-server

    Result: True

    Comment: File /etc/default/nfs-kernel-server is in the correct state

    Started: 17:34:09.594565

    Duration: 118.525 ms

    Changes:

    ----------

    ID: configure_nfsd_exports

    Function: file.managed

    Name: /etc/exports

    Result: True

    Comment: File /etc/exports is in the correct state

    Started: 17:34:09.713476

    Duration: 98.22 ms

    Changes:

    ----------

    ID: start_rpc_statd_service

    Function: service.running

    Name: rpc-statd

    Result: True

    Comment: The service rpc-statd is already running

    Started: 17:34:09.861366

    Duration: 91.451 ms

    Changes:

    ----------

    ID: start_nfs_server_service

    Function: service.running

    Name: nfs-server

    Result: False

    Comment: Job for nfs-server.service canceled.

    Started: 17:34:09.954991

    Duration: 186.436 ms

    Changes:


    Summary for raspnas

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

    Succeeded: 3

    Failed: 1

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

    Total states run: 4

    Total run time: 494.632 ms


    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 nfs 2>&1' with exit code '1': raspnas:

    ----------

    ID: configure_default_nfs-kernel-server

    Function: file.managed

    Name: /etc/default/nfs-kernel-server

    Result: True

    Comment: File /etc/default/nfs-kernel-server is in the correct state

    Started: 17:34:09.594565

    Duration: 118.525 ms

    Changes:

    ----------

    ID: configure_nfsd_exports

    Function: file.managed

    Name: /etc/exports

    Result: True

    Comment: File /etc/exports is in the correct state

    Started: 17:34:09.713476

    Duration: 98.22 ms

    Changes:

    ----------

    ID: start_rpc_statd_service

    Function: service.running

    Name: rpc-statd

    Result: True

    Comment: The service rpc-statd is already running

    Started: 17:34:09.861366

    Duration: 91.451 ms

    Changes:

    ----------

    ID: start_nfs_server_service

    Function: service.running

    Name: nfs-server

    Result: False

    Comment: Job for nfs-server.service canceled.

    Started: 17:34:09.954991

    Duration: 186.436 ms

    Changes:


    Summary for raspnas

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

    Succeeded: 3

    Failed: 1

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

    Total states run: 4

    Total run time: 494.632 ms in /usr/share/php/openmediavault/system/process.inc:220

    Stack trace:

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

    #1 /usr/share/openmediavault/engined/rpc/config.inc(170): 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/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)

    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusQa...', '/tmp/bgoutput5s...')

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

    #7 /usr/share/openmediavault/engined/rpc/config.inc(192): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)

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

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

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

    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)

    #12 {main}

    • Offizieller Beitrag

    I try also to set one IP

    What does this mean?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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

    What kind of filesystem is the ExMedia2T?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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

    You need to use a native Linux filesystem for nfs. While Linux can read HFS+, that is about it. You won't be able to share it via nfs.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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

    I will try with a ext3 filesystem

    Use ext4.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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

    What is telling you it is in "read only mode"?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!