[SOLVED] TS-412 exporting multiple NFS version

Discussion about using NAS on Linux and Unix OS.
Post Reply
toons
New here
Posts: 2
Joined: Tue Jul 18, 2017 8:50 am

[SOLVED] TS-412 exporting multiple NFS version

Post by toons » Tue Jul 18, 2017 9:03 am

Hit a wall with this one, cant seem to get around it

QNAP Version: 4.3

Issue

I have multiple NFS exports, all running from /share/md0_data, here is the output of /etc/exports

Code: Select all

"/share/MD0_DATA/TV" *(rw,async,no_subtree_check,insecure,no_root_squash)
"/share/NFSv=4/TV" *(rw,nohide,async,no_subtree_check,insecure,no_root_squash)
"/share/MD0_DATA/backups" *(rw,async,no_subtree_check,insecure,no_root_squash)
"/share/NFSv=4/backups" *(rw,nohide,async,no_subtree_check,insecure,no_root_squash)


TV , on a Debian 9 Stretch client mounts with NFS v3
Backups, on the same Debian 9 Stretch client, mounts with nfs v4

The /etc/fstab entries on the debian filesystem are identical

Code: Select all

192.168.1.91:tv /media/tv nfs user,exec,suid,dev,rw,nofail 0 0
192.168.1.91:backups /media/backups nfs user,exec,suid,dev,rw,nofail 0 0


But, when they are mounted using 'mount' tvseries

Code: Select all

192.168.1.91:/backups on /media/backups type nfs4 (rw,relatime,vers=4.1,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.2,local_lock=none,addr=192.168.1.91)

192.168.1.91:tv on /media/tvseries type nfs (rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.91,mountvers=3,mountport=30000,mountproto=udp,local_lock=none,addr=192.168.1.91,user=toons)

toons
New here
Posts: 2
Joined: Tue Jul 18, 2017 8:50 am

Re: [SOLVED] TS-412 exporting multiple NFS version

Post by toons » Tue Jul 18, 2017 9:18 am

Wow, so case sensitivity plays a part here?? The **?

mounting the 'tv' mount above, with the proper 'case' (.e.g, TV) results in NFS v4 as expected.
Sigh

User avatar
schumaku
Guru
Posts: 43664
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: [SOLVED] TS-412 exporting multiple NFS version

Post by schumaku » Tue Jul 18, 2017 4:05 pm

Amazing the NFS client does locate and mount the non-case matching export at all.

Post Reply

Return to “Linux & Unix (NFS)”