[Mageia-dev] Mounting nfs4 shares

JA Magallón jamagallon at ono.com
Fri Apr 20 00:40:28 CEST 2012


On 04/19/2012 08:16 PM, Anne Wilson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have been using lines such as this to mount nfs shares:
>
> 192.168.0.40:/Data1 /mnt/borg2_Data1 nfs4
> rsize=8192,wsize=8192,timeo=14,intr
>
>
> mount -a
> Mount is denied because the NTFS volume is already exclusively opened.
> The volume may be already mounted, or another software may use it which
> could be identified for example by the help of the 'fuser' command.
> mount.nfs4: an incorrect mount option was specified
>
> Do I need to change these mount lines in some way?   Do I need some
> extra package?  (I've already installed nfs-utils-client)  Shorewall
> should be allowing anything from the LAN.  What else could I have missed?

I'm using nfs4 between Mageia and CentOS boxes in both directions without
problems.
I use autofs, such like:

auto.master:
...
/- file:/etc/autofs/auto.global
...

auto.global:
...
/giga/nada      -fstype=nfs4,fsc,soft,intr nada:/
...

cicely:~# df /giga/nada/media
Filesystem     Type  Size  Used Avail Use% Mounted on
nada:/media/   nfs4  3.6T  2.1T  1.4T  61% /giga/nada/media

cicely:~# grep nada /proc/mounts
/etc/autofs/auto.global /giga/nada autofs rw,relatime,fd=12,pgrp=3871,timeout=300,minproto=5,maxproto=5,direct 0 0
nada:/ /giga/nada nfs4 rw,relatime,vers=4,rsize=524288,wsize=524288,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=155.210.155.200,minorversion=0,fsc,local_lock=none,addr=155.210.152.224 0 0
nada:/media/ /giga/nada/media nfs4 rw,relatime,vers=4,rsize=524288,wsize=524288,namlen=255,soft,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=155.210.155.200,minorversion=0,fsc,local_lock=none,addr=155.210.152.224 0 0

Can you show the output from 'showmount --exports <server>' ?
Also 'rpcinfo -p <server>' ?

-- 
J.A. Magallon <jamagallon()ono!com>        \               Winter is coming...


More information about the Mageia-dev mailing list