Hey folks,
we are running proxmox in newest version on two host-maschines as a cluster. we have several nfs-shares mounted over the web-gui and it works fine.
now i wanted to add a nfs4-share which uses kerberos-authentication. i placed the krb5.keytab i got from the storage-maintainer to /etc/ on both of my cluster-hosts and added the nfs-share via web-gui.
after that i manually edited /etc/pve/storage.cfg to this:
(i added the "vers=4,sec=krb5" line)
It wouldn't mount. I am actually not sure, where i can find some detailed logs about this pve actions. So i continued trying to mount manually via console.
command:
result:
- I have installed krb5-user via apt-get install.
- I tried different styles of the mount command, like "nfsvers=4" and so. Problem seems to be the "sec=krb5" options. This one just gives the described error.
Any ideas? Where to investigate further?
Thanks a lot
we are running proxmox in newest version on two host-maschines as a cluster. we have several nfs-shares mounted over the web-gui and it works fine.
now i wanted to add a nfs4-share which uses kerberos-authentication. i placed the krb5.keytab i got from the storage-maintainer to /etc/ on both of my cluster-hosts and added the nfs-share via web-gui.
after that i manually edited /etc/pve/storage.cfg to this:
Code:
[FONT=Menlo]nfs: hrz_jurvms[/FONT][FONT=Menlo] export /ibm/gpfs/share/home[/FONT]
[FONT=Menlo] server fs.xxxxxx.de[/FONT]
[FONT=Menlo] path /mnt/pve/hrz_jurvms[/FONT]
[FONT=Menlo] options vers=4,sec=krb5[/FONT]
[FONT=Menlo] content images,backup[/FONT]
[FONT=Menlo] [/FONT][FONT=Menlo]maxfiles 8[/FONT]
(i added the "vers=4,sec=krb5" line)
It wouldn't mount. I am actually not sure, where i can find some detailed logs about this pve actions. So i continued trying to mount manually via console.
command:
Code:
[FONT=Menlo]mount.nfs4 fs.xxxxxx.de:/ibm/gpfs/share/home /mnt/hrz -o vers=4,sec=krb5 -vvv[/FONT]
result:
Code:
[FONT=Menlo]mount.nfs4: timeout set for Mon Dec 7 15:02:07 2015[/FONT]
[FONT=Menlo]mount.nfs4: trying text-based options 'vers=4,sec=krb5,addr=131.xxxxx.226,clientaddr=131.xxxxx.2'[/FONT]
[FONT=Menlo]mount.nfs4: mount(2): Invalid argument[/FONT]
[FONT=Menlo]mount.nfs4: an incorrect mount option was specified[/FONT]
- I have installed krb5-user via apt-get install.
- I tried different styles of the mount command, like "nfsvers=4" and so. Problem seems to be the "sec=krb5" options. This one just gives the described error.
Any ideas? Where to investigate further?
Thanks a lot