What is telling you it is in "read only mode"?
I could not add files to the disk.
But now I put read/write to my user in the "Access Control list" and now I can read and write to the disk.
Thank you for support
What is telling you it is in "read only mode"?
I could not add files to the disk.
But now I put read/write to my user in the "Access Control list" and now I can read and write to the disk.
Thank you for support
Use ext4.
I formatted a new disk to ext4 and now I can enabled NFS (also SMB) but the disk is in read only mode. I gave permission to the user read/write.
Which is the issue now?
Thanks
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.
ah ok, thanks for the support. I will try with a ext3 filesystem
What kind of filesystem is the ExMedia2T
HFS+
Looking at the log I tried to start that service manually from the terminal and I get this error you see in the attachment
What does this mean?
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}
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}
When I try to activate the NFS service I get the error which you can see in the attached image.
How can I resolve this problem?
Thanks
openmediavault 6.1.7-1
openmediavault-flashmemory 6.2
openmediavault-keyring 1.0
openmediavault-omvextrasorg 6.1.1