One update... I just created a share with that same disk but using SMB/CIFS and it is working fine.
My problem is really in trying to create a share in this disk using NFS. On the other drive I did not have any problem.
One update... I just created a share with that same disk but using SMB/CIFS and it is working fine.
My problem is really in trying to create a share in this disk using NFS. On the other drive I did not have any problem.
Hello,
This is what i got in the attached file
I'm sorry for my noobness but how do I put them in parallel ?
root@raspberrypi:~# systemctl status nfs-server.service
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2023-01-31 18:05:14 GMT; 11min ago
Process: 1057 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
Process: 1058 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
Process: 1059 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
CPU: 22ms
root@raspberrypi:~# systemctl start nfs-server.service
Job for nfs-server.service canceled.
Jan 31 18:14:56 raspberrypi systemd[32632]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
░░ Subject: A stop job for unit UNIT has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit UNIT has finished.
░░
░░ The job identifier is 25 and the job result is done.
Jan 31 18:14:56 raspberrypi systemd[32632]: gpg-agent-extra.socket: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jan 31 18:14:56 raspberrypi systemd[32632]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
░░ Subject: A stop job for unit UNIT has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit UNIT has finished.
░░
░░ The job identifier is 35 and the job result is done.
Jan 31 18:14:56 raspberrypi systemd[32632]: gpg-agent-ssh.socket: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jan 31 18:14:56 raspberrypi systemd[32632]: Closed GnuPG cryptographic agent (ssh-agent emulation).
░░ Subject: A stop job for unit UNIT has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit UNIT has finished.
░░
░░ The job identifier is 30 and the job result is done.
Jan 31 18:14:56 raspberrypi systemd[32632]: gpg-agent.socket: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jan 31 18:14:56 raspberrypi systemd[32632]: Closed GnuPG cryptographic agent and passphrase cache.
░░ Subject: A stop job for unit UNIT has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit UNIT has finished.
░░
░░ The job identifier is 28 and the job result is done.
Jan 31 18:14:56 raspberrypi systemd[32632]: Removed slice User Application Slice.
░░ Subject: A stop job for unit UNIT has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit UNIT has finished.
░░
░░ The job identifier is 34 and the job result is done.
Jan 31 18:14:56 raspberrypi systemd[32632]: Reached target Shutdown.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 24.
Jan 31 18:14:56 raspberrypi systemd[32632]: systemd-exit.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jan 31 18:14:56 raspberrypi systemd[32632]: Finished Exit the Session.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 23.
Jan 31 18:14:56 raspberrypi systemd[32632]: Reached target Exit the Session.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 22.
Jan 31 18:15:04 raspberrypi systemd[9004]: Queued start job for default target Main User Target.
Jan 31 18:15:04 raspberrypi systemd[9004]: Created slice User Application Slice.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 14.
Jan 31 18:15:04 raspberrypi systemd[9004]: Reached target Paths.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 11.
Jan 31 18:15:04 raspberrypi systemd[9004]: Reached target Timers.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 9.
Jan 31 18:15:04 raspberrypi systemd[9004]: Listening on GnuPG network certificate management daemon.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 19.
Jan 31 18:15:04 raspberrypi systemd[9004]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░ The job identifier is 18.
Jan 31 18:15:04 raspberrypi systemd[9004]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 16.
Jan 31 18:15:04 raspberrypi systemd[9004]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 17.
Jan 31 18:15:04 raspberrypi systemd[9004]: Listening on GnuPG cryptographic agent and passphrase cache.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 13.
Jan 31 18:15:04 raspberrypi systemd[9004]: Reached target Sockets.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 12.
Jan 31 18:15:04 raspberrypi systemd[9004]: Reached target Basic System.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 8.
Jan 31 18:15:04 raspberrypi systemd[9004]: Reached target Main User Target.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 7.
Jan 31 18:15:04 raspberrypi systemd[9004]: Startup finished in 758ms.
░░ Subject: User manager start-up is now complete
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The user manager instance for user 1000 has been started. All services queued
░░ for starting have been started. Note that other services might still be starting
░░ up or be started at any later time.
░░
░░ Startup of the manager took 758333 microseconds.
Alles anzeigen
add sudo or run as root
sudo in all 3 commands ?
Well here you go
pi@raspberrypi:~ $ pi@raspberrypi:~ $ systemctl status nfs-server.service
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2023-01-31 17:47:13 GMT; 17min ago
Process: 18874 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
Process: 18875 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
Process: 18876 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
CPU: 23ms
pi@raspberrypi:~ $ systemctl start nfs-server.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'nfs-server.service'.
Authenticating as: ,,, (pi)
Password:
==== AUTHENTICATION COMPLETE ===
Job for nfs-server.service canceled.
For the Journal command, I attached a file
Hello macom, thank you for your reply.. Here is the 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 nfs 2>&1' with exit code '1': raspberrypi:
----------
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:47:12.108164
Duration: 256.597 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:47:12.365522
Duration: 308.446 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:47:12.775518
Duration: 159.672 ms
Changes:
----------
ID: start_nfs_server_service
Function: service.running
Name: nfs-server
Result: False
Comment: Job for nfs-server.service canceled.
Started: 17:47:12.938826
Duration: 305.689 ms
Changes:
Summary for raspberrypi
------------
Succeeded: 3
Failed: 1
------------
Total states run: 4
Total run time: 1.030 s
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': raspberrypi:
----------
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:47:12.108164
Duration: 256.597 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:47:12.365522
Duration: 308.446 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:47:12.775518
Duration: 159.672 ms
Changes:
----------
ID: start_nfs_server_service
Function: service.running
Name: nfs-server
Result: False
Comment: Job for nfs-server.service canceled.
Started: 17:47:12.938826
Duration: 305.689 ms
Changes:
Summary for raspberrypi
------------
Succeeded: 3
Failed: 1
------------
Total states run: 4
Total run time: 1.030 s 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/bgstatusVa...', '/tmp/bgoutputol...')
#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}
Alles anzeigen
Hello,
I created a NAS using my RPI 3...added one disk and all worked fine, the NFS Share created was "NAS_PI_1".
Now I added a new disk and I'm trying to create a new NFS Share (NAS_PI_2), I save ok but when I go to apply after a while I get this error
"Error 500 - Internal Server Error...." (please see images).
Is there any way of solving this issue ?
Thank you,
rjmonteiro