iscsi and nfs wants start at boot

Donner

Member
Aug 22, 2021
18
2
8
39
Hi! After some proxmox updates i realised that after reboot my host cant start iscsi and nfs services correct in time. Logs shows that iscsi cant find vdevs and nfs cant find datasets like

Bash:
Jun 28 01:01:58 smstorage exportfs[2526]:   NOTE: this default has changed since nfs-utils version 1.0.x
Jun 28 01:01:58 smstorage exportfs[2526]: exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.10.248:/tank1/backup/".
Jun 28 01:01:58 smstorage exportfs[2526]:   Assuming default behaviour ('no_subtree_check').
Jun 28 01:01:58 smstorage exportfs[2526]:   NOTE: this default has changed since nfs-utils version 1.0.x
Jun 28 01:01:58 smstorage exportfs[2526]: exportfs: Failed to stat /tank1/backup/: No such file or directory
Jun 28 01:01:58 smstorage exportfs[2526]: exportfs: Failed to stat /tank1/backup/: No such file or directory
Jun 28 01:01:58 smstorage exportfs[2526]: exportfs: Failed to stat /tank1/backup/: No such file or directory
Jun 28 01:01:58 smstorage systemd[1]: nfs-server.service: Control process exited, code=exited, status=1/FAILURE
Jun 28 01:01:58 smstorage systemd[1]: nfs-server.service: Failed with result 'exit-code'.
Jun 28 01:01:58 smstorage systemd[1]: Stopped NFS server and services.
root@smstorage:~#

simple service restart solves problem, so i can suggest that this services starts too early? How can i fix it?
 
You havent explained how your infrastructure is organized. Is the storage managed via Proxmox (i.e. storage.cfg) or its something you configured and manage on your own , outside of Proxmox?
What provides the iscsi? What provides the NFS? Are the errors on Proxmox host? VM? There are probably other questions as well but you can start with the above.


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
You havent explained how your infrastructure is organized. Is the storage managed via Proxmox (i.e. storage.cfg) or its something you configured and manage on your own , outside of Proxmox?
What provides the iscsi? What provides the NFS? Are the errors on Proxmox host? VM? There are probably other questions as well but you can start with the above.
ah, sorry,
yes its proxmox host, storage managed by proxmox cluster (storage.cfg) all storage are ZFS pools
iscsi target is targetcli sharing some zvols
nfs - standart nfs-server sharing some zfs datasets