nfs4 support
Does Slackware 12.2 have any nfs4 support at all? /sbin/mount.nfs4 seems to be missing, and mount -t nfs4 gives an "unknown filesystem type" error..?
|
Hi,
From 'man nfs'; Quote:
|
Yes, I'm sure.. I mounted the same filesystem on a Debian box using mount -t nfs4 and /bin/mount showed me:
Code:
10.0.0.17:/data on /mnt/data type nfs4 (rw,addr=10.0.0.17) Code:
mount: special device 10.0.0.17:/data does not exist Code:
May 25 19:31:05 s17 mountd[3869]: refused mount request from 10.0.0.26 for /data (/): not exported EDIT: Looked at my kernel config, it seems the default is: Code:
# CONFIG_NFS_V4 is not set |
Found my answer in the nfs-utils.SlackBuild, nfs4 support is in fact disabled:
Quote:
|
For reference, and in case nfs4 support doesn't make it into the next Slackware, here's how to add your own, quick and dirty:
|
Hi,
I don't use nfs4 at this time but it's good that you found the solution. Thanks for posting back. |
Nfs4 works fine on Slackware 13.37
someone know how to set autofs? |
Tried to mount an NFSv4 export from a HPC server so I could ramp up openmpi on multiple boxen.
mount.nfs: an incorrect mount option was specified Checking the SlackBuild configure, "--enable-nfsv4=no" is still in Slackware Current (nfs-utils-1.2.3-x86_64-3). This after spending some time trying to figure out why the directory /var/lib/nfs/v4recovery was missing. If I ssh to the cluster, I can mount /home/hpc1, mpirun appears to work, but I'm rewriting the cpu/core inventory to include the cpuid info (the processes could all be running on the 4 cores on that box). Farther down in nfs-utils.SlackBuild: # No NFSv4 yet, so remove these: rm -f $PKG/sbin/*nfs4 provides another clue. Which libraries are missing? I'll try to configure and make the source with nfs4 enabled, maybe ldd will say what's missing? I know the Slackware Team has their plate full, so we need to pitch in and help in such matters. Current file list has 3148 packages to manage. `bzcat MANIFEST.bz2 | wc -l` is up to 376,576 files, not that anyone installs everything. |
libnfsidmap is the first needed
|
libgssglue is another one
librpcsecgss another one |
Try to recompile but
checking for krb5_get_error_message in -lgssapi_krb5... yes checking for krb5_get_init_creds_opt_set_addressless in -lgssapi_krb5... no checking for authgss_create_default in -lrpcsecgss... no configure: error: librpcsecgss not found. make: *** Nessun obiettivo specificato e nessun makefile trovato. Stop. make: *** Nessun obiettivo specificato e nessun makefile trovato. Stop. Of course i had installed librpcsecgss |
|
checking for unistd.h... yes
checking for clnt_tli_create in -ltirpc... no configure: error: libtirpc not found. :( |
With tirpc package from ponce.cc and other packages listed
in canick.net works fine. |
Nfs4 works fine :)
|
https://reteprivata.dyndns-ip.com/pacchetti/nfs4-krb5/ (sometimes site don't work)
If interested,some slackbuilds working for nfs4 on slackware64 14 Don't forget to remove portmap and do Code:
ln -s /usr/lib64/libnfsidmap* /usr/lib/ |
Quote:
The site you linked is currently down so I can't see what it has on there but getting nfs4 working on Slackware requires a bit less then what has been previously stated in this thread. First the dependencies that are required libevent, libnfsidmap and libtirpc. (Kerberos is not required unless you need it for authentication.) Portmap is dead and gone replaced by rpcbind, this also gives us ipv6 support for RPC services. Then nfs-utils is rebuilt enabling nfs4 (I also suggest upgrading it as well) |
Yes is a dirty solution to do ln -sf,but work :)
"(I also suggest upgrading it as well" I have tried to upgrade to 1.2.6 but give me some auth problems,i will retry now.. |
Confirm 1.2.6 give problems if use auth krb5
|
Tryng to upgrade to latest packages but..
Code:
make[2]: Entering directory `/tmp/nfs-utils-1.2.8/utils/gssd' I have tried LDFLAGS="-libkrb5" but doesn't work |
https://reteprivata.dyndns-ip.com/pacchetti/nfs4-krb5/
14.1 packages works fine on 14.1 only do after install ln -s /usr/lib64/libnfsidmap/ /usr/lib/libnfsidmap/ |
All times are GMT -5. The time now is 05:51 PM. |