Hello everybody,
Corona makes it possible and I take care of my IT landscape again.
I broke my ESXI with OMV4 and zfs.
Instead, a proxmox-pve with zfs and various VMs is running here.
So far so good.
I installed Debian10.3 in a VM and installed OMV5.
SMB / CIFS shares work.
What I can't do is set up NFS shares for a MediaServer.
Here's how I did it:
- I set up NFS shares via OMV WebUI.
- these are shown in '/ etc / exports'.
.root@debian:/export# ls -l.
total 8
drwxrwsrwx+ 7 root users 4096 Mar 30 20:24 Media
drwxrwsrwx+ 7 root users 4096 Mar 30 20:24 NFS
- ein showmount -e localhost bringt
On this client (for testing)
- showmount -e 192.168.254.202 (192.168.254.202 = OMV5) brings:
The releases are visible.
A connection to the NFS shares is not possible:
on the other client (here with Webmin)
the NFS shares are also visible
Failed to save mount: NFS error - mount.nfs: access denied by server while mounting 192.168.254.202:/export/NFS
Failed to save mount: NFS error - mount.nfs: access denied by server while mounting 192.168.254.202:/export/Media
Failed to save mount: NFS error - mount.nfs: access denied by server while mounting 192.168.254.202:/export
Failed to save mount: NFS error - mount.nfs: access denied by server while mounting 192.168.254.202:/NFS
Failed to save mount: NFS error - mount.nfs: access denied by server while mounting 192.168.254.202:/Media
however, a connection is not possible here either.
on OMV
root@debian:/export# omv-salt deploy run nfs
debian.BROADWAY:
----------
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: 02:16:09.845273
Duration: 21.159 ms
Changes:
----------
ID: configure_nfsd_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports is in the correct state
Started: 02:16:09.866536
Duration: 27.352 ms
Changes:
----------
ID: start_rpc_statd_service
Function: service.running
Name: rpc-statd
Result: True
Comment: The service rpc-statd is already running
Started: 02:16:09.899521
Duration: 24.517 ms
Changes:
----------
ID: start_nfs_kernel_server_service
Function: service.running
Name: nfs-kernel-server
Result: True
Comment: The service nfs-kernel-server is already running
Started: 02:16:09.924913
Duration: 19.634 ms
Changes:
Summary for debian.BROADWAY
------------
Succeeded: 4
Failed: 0
------------
Total states run: 4
Total run time: 92.662 ms
root@debian:/export#
Alles anzeigen
root@debian:/export# omv-confdbadm read --prettify conf.service.nfs
{
"enable": true,
"shares": {
"share": [
{
"client": "192.168.254.0/24",
"comment": "NFS-Share",
"extraoptions": "subtree_check,insecure",
"mntentref": "6770599c-46f0-40a0-b1ca-810ef7715c90",
"options": "rw",
"sharedfolderref": "00dabb98-0a12-474a-b851-145fbb02e381",
"uuid": "b55b9b18-2316-4b39-9c1e-c56b1d3a1500"
},
{
"client": "",
"comment": "",
"extraoptions": "subtree_check,insecure",
"mntentref": "9c0ae057-0ea7-4f71-8c10-307485cf4f84",
"options": "rw",
"sharedfolderref": "04ea4ee9-1e9a-412c-a48f-e4d0122d81b4",
"uuid": "68b4522e-acce-40f6-8030-9e69219d299f"
}
]
}
}
root@debian:/export#
Alles anzeigen
/etc/export:
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/export/NFS 192.168.254.0/24(fsid=1,rw,subtree_check,insecure)
/export/Media (fsid=2,rw,subtree_check,insecure)
# NFSv4 - pseudo filesystem root
/export 192.168.254.0/24(ro,fsid=0,root_squash,no_subtree_check,hide)
/export (ro,fsid=0,root_squash,no_subtree_check,hide)
Alles anzeigen
have no idea why I cannot connect via NFS.
It worked smoothly on my previous system with OMV3 and later OMV4.
So I connected the ESXI to the Raidz2 from OMV,
the plates were passed from ESXI through passtrough to OMV.
Would be nice if someone here could help me with my problem.
PS . my native language is German,
.... text above ... thank you google