mount - unknown option rdma

Shirish Pargaonkar shirishpargaonkar at gmail.com
Fri Feb 8 13:23:46 EST 2008


On 2/8/08, James Lentini <jlentini at netapp.com> wrote:
>
>
> On Fri, 8 Feb 2008, Shirish Pargaonkar wrote:
>
> > On 2/8/08, James Lentini <jlentini at netapp.com> wrote:
> > >
> > > You tested NFS TCP or UDP mounts over IPoIB, correct? Does
> > > this command work?
> > >
> > >  mount.nfs 1.2.3.131:/ /mnt
> > >
> >
> > James,
> >
> > That command does not work.
> >
> >
> > client:~ # ls /mnt
> >
> > client:~ # mount.nfs 1.2.3.131:/ /mnt
> > mount.nfs: 1.2.3.131:/ failed, reason given by server: Permission denied
> >
> > client:~ # mount -t nfs4 1.2.3.131:/ /mnt
> > client:~ #
> > client:~ # ls /mnt
> > fs1
> > client:~ # ls /mnt/fs1
> > nfsexport_fs1_file1
>
> You have NFS v4 working, but not v3. Which do you want to use?
>
> You should be able to use NFSv4 over RDMA with this command:
>
>  mount -t nfs4 1.2.3.131:/ /mnt -i -o rdma,port=2050
>
> I'm surprised to see that v3 doesn't work. If you'd like to get v3
> working, I can help you. Could you send me the following?
>
>  cat /proc/fs/nfsd/versions
>  grep NFSD /your/kernels/.config
>

James,

Would like to use nfs version 4.


On the client, mount.nfs and mount.nfs4 are same


client:~ # ls -l /sbin/mount.nfs*
-r-s--x--x 1 root root 232223 Feb  7 07:16 /sbin/mount.nfs
lrwxrwxrwx 1 root root      9 Feb  7 07:16 /sbin/mount.nfs4 -> mount.nfs


client:~ # mount.nfs4 1.2.3.131:/ /mnt -i -o rdma,port=2050
mount.nfs4: an incorrect mount option was specified

client:~ # mount -t nfs4 1.2.3.131:/ /mnt -i -o rdma,port=2050
unknown nfs mount option: rdma


server:/home/shirish/121007.1/nfs-rdma-dev-2.6 # cat /proc/fs/nfsd/versions
+2 +3 +4
server:/home/shirish/121007.1/nfs-rdma-dev-2.6 # grep NFSD .config
CONFIG_NFSD=m
CONFIG_NFSD_RDMA=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y



client:/home/shirish/121007.1/xprt-switch-2.6 # cat /proc/fs/nfsd/versions
cat: /proc/fs/nfsd/versions: No such file or directory
client:/home/shirish/121007.1/xprt-switch-2.6 # grep NFSD .config
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y


More information about the NFSv4 mailing list