D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Changing User ID.

 

On 01/08/17 21:12, mr meowski wrote:
On 01/08/17 18:33, Julian Hall wrote:
Cheers, I'll get rid of the intr option.
Whilst we're at it, can we just get rid of *all* the dodgy fstab options
completely? Modern NFS should largely just automagically take care of
all this by itself and as you use current Mint I believe, your NFS
client is well behaved and sane. I suspect the Synology NAS might not be
so well behaved.
Will do..
Can you interrogate the NAS to see what version(s) of NFS it offers?

rpcinfo -p 192.168.1.3
julian@Cerce ~ $ rpcinfo -p 192.168.1.3
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100021    1   udp  55443  nlockmgr
    100021    3   udp  55443  nlockmgr
    100021    4   udp  55443  nlockmgr
    100021    1   tcp  59079  nlockmgr
    100021    3   tcp  59079  nlockmgr
    100021    4   tcp  59079  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100005    1   udp    892  mountd
    100005    1   tcp    892  mountd
    100005    2   udp    892  mountd
    100005    2   tcp    892  mountd
    100005    3   udp    892  mountd
    100005    3   tcp    892  mountd
    100024    1   udp  44953  status
    100024    1   tcp  55111  status
julian@Cerce ~ $

I assume the tcp and udp lines with vers 4 and nfs mean it supports NFS version 4?
What does this currently show on your system when you have a NFS share mounted?

mount | grep -i nfs
julian@Cerce ~ $ mount | grep -i nfs
192.168.1.3:/volume1/PERSEPHONE on /media/julian/PERSEPHONE type nfs (rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=70,retrans=2,sec=sys,mountaddr=192.168.1.3,mountvers=3,mountport=892,mountproto=udp,local_lock=none,addr=192.168.1.3) 192.168.1.3:/volume1/CASSIOPEIA on /media/julian/CASSIOPEIA type nfs (rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=70,retrans=2,sec=sys,mountaddr=192.168.1.3,mountvers=3,mountport=892,mountproto=udp,local_lock=none,addr=192.168.1.3) 192.168.1.3:/volume1/DIANA on /media/julian/DIANA type nfs (rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=70,retrans=2,sec=sys,mountaddr=192.168.1.3,mountvers=3,mountport=892,mountproto=udp,local_lock=none,addr=192.168.1.3)
julian@Cerce ~ $
Also, can you bodge this by opening one of the known currently
non-compliant files on the NFS share with:

gksudo libreoffice /path/to/nfs/share/some/stubborn/file
Same problem.. claims it's already open and I only have Copy or Read Only options. I'll dump the optional switches in the fstab and see if that makes any difference.

*saves email, edits fstab, and reboots*

No change unfortunately. Output of mount grep | -i nfs is still the same as well.

Cheers,

Julian

--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq