On Feb 7, 2008 8:25 AM, James Lentini <jlentini at netapp.com> wrote:
>
>
>
> On Thu, 7 Feb 2008, Shirish Pargaonkar wrote:
>
> > Hello,
> >
> > I keep getting this error, unknown nfs mount option rdma.
> > Does it have something to do with the version of nfs-utils?
> > I used the the mount command with -t nfs and -t nfs4 options to no avail.
> >
> > /home/shirish/nfs-utils-1.1.0 # mount 1.2.3.131:/ /mnt -i -o rdma,port=2050
> > unknown nfs mount option: rdma
> >
> > /home/shirish/nfs-utils-1.1.0 # type mount
> > mount is hashed (/bin/mount)
> >
> > /home/shirish/nfs-utils-1.1.0 # file /bin/mount
> > /bin/mount: setuid ELF 32-bit MSB executable, PowerPC or cisco 4500,
> > version 1 (SYSV),
> > for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for
> > GNU/Linux 2.6.4,
> > not stripped
> >
> > /home/shirish/nfs-utils-1.1.0 # type mount.nfs
> > mount.nfs is /sbin/mount.nfs
> > /home/shirish/nfs-utils-1.1.0 # file /sbin/mount.nfs
> > /sbin/mount.nfs: setuid ELF 32-bit MSB executable, PowerPC or cisco
> > 4500, version 1 (SYSV),
> > for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for
> > GNU/Linux 2.6.4,
> > not stripped
> >
> >
> > /home/shirish/nfs-utils-1.1.0 # rpm -aq | grep -i "nfs.utils"
> > nfs-utils-1.0.7-36.10
> >
> > But I configured nfs-utils-1.1.0 with(out) /configure --disable-gss,
> > did make and
> > make install without any errors.
> >
> > I used mount.nfs from where it was built as well, no success.
> >
> > /home/shirish/nfs-utils-1.1.0/utils/mount # ./mount.nfs 1.2.3.131:/
> > /mnt -o rdma,port=2050
> > Unsupported nfs mount option: rdma
> >
> > /home/shirish/nfs-utils-1.1.0/utils/mount # file mount.nfs
> > mount.nfs: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV),
> > for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for GNU/Linux 2.6.4,
> > not stripped
> >
> > /home/shirish/nfs-utils-1.1.0/utils/mount # uname -r
> > 2.6.24-rc6-ppc64
> >
> >
> > Your help is appreciated.
> >
> > Regards,
> >
> > Shirish
>
> You need to use nfs-utils 1.1.1. See
>
> http://nfs-rdma.sourceforge.net/Documents/README
>
No luck so far with nfs-utils-1.1.1. Here is what I did:
---------------------------------------------------------------
On the server
server:~ # modprobe ib_mthca
server:~ # modprobe ib_ipoib
server:~ # ifconfig ib0 1.2.3.131
server:~ # modprobe svcrdma
server:~ # /etc/init.d/nfs start
Importing Net File System (NFS) unused
server:~ #
server:~ # echo rdma 2050 > /proc/fs/nfsd/portlist
nfs start command's output looks incorrect!
---------------------------------------------------------------
On the client
client:~ # modprobe ib_mthca
client:~ # modprobe ib_ipoib
client:~ # ifconfig ib0 1.2.3.133
client:~ # modprobe xprtrdma
client:~ # /home/shirish/nfs-utils-1.1.1/utils/mount/mount.nfs
1.2.3.131:/ /mnt -i -o rdma,port=2050
mount.nfs: Connection timed out
---------------------------------------------------------------
So on the server
server:~ # cat /etc/exports
# See the exports(5) manpage for a description of the syntax of this file.
# This file contains a list of all directories that are to be exported to
# other computers via NFS (Network File System).
# This file used by rpc.nfsd and rpc.mountd. See their manpages for details
/export *(rw,fsid=0,insecure,no_root_squash,sync,no_subtree_check)
/export/fs1 *(rw,nohide,insecure,no_root_squash,sync,no_subtree_check)
server:~ # /etc/init.d/nfsserver start
Starting kernel based NFS server/etc/init.d/nfsserver: line 79: echo:
write error: Device or resource busy
done
server:~ # /etc/init.d/idmapd start
Starting NFSv4 ID mapping daemon (mounting rpc_pipefs)
server:~ # mount --bind /nfsexport/fs1 /export/fs1
server:~ # mount
/dev/hda3 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
nfsd on /proc/fs/nfsd type nfsd (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/nfsexport/fs1 on /export/fs1 type none (rw,bind)
---------------------------------------------------------------
And on the client
client:~ # /etc/init.d/idmapd start
Starting NFSv4 ID mapping daemon (mounting rpc_pipefs) done
client:~ # /home/shirish/nfs-utils-1.1.1/utils/mount/mount.nfs
1.2.3.131:/ /mnt -i -o rdma,port=2050
mount.nfs: Connection timed out
Without -i
# /home/shirish/nfs-utils-1.1.1/utils/mount/mount.nfs 1.2.3.131:/ /mnt
-o rdma,port=2050
mount.nfs: Unsupported nfs mount option: rdma
---------------------------------------------------------------
I did verify that I could mount / from server onto client without rdma
option with
ethernet ip interface.
I also did not find any keyword rdma in the search I did
/home/shirish/nfs-utils-1.1.1 # pwd
/home/shirish/nfs-utils-1.1.1
/home/shirish/nfs-utils-1.1.1 # find . -type f -print | xargs grep -i rdma
I did
wget http://www.kernel.org/pub/linux/utils/nfs/nfs-utils-1.1.1.tar.gz
to get nfs-utils-1.1.1 and built them thus:
./configure --disable-gss
make
make install