Hello,
when I am mount an Linux client via NFS to the Qnap, I become the Error, that the File System ist Read-Only.
The Qnap has the following NFS Parameters for the Share:
IP (IP Adress from Client)
Permission RW
Squash Option - ALL_SQUASH
GID = everyone
UID = User with group rights to everyone (Before this GID + UID was set on default)
NFS V3 + V4 has the same result.
Whats wrong?
Best Regards
Linux NFS Mount on Qnap Ts-879U-RP with latest FW 4.33
-
- New here
- Posts: 3
- Joined: Mon Oct 09, 2017 8:48 pm
- schumaku
- Guru
- Posts: 43579
- Joined: Mon Jan 21, 2008 4:41 pm
- Location: Kloten (Zurich), Switzerland -- Skype: schumaku
- Contact:
Re: Linux NFS Mount on Qnap Ts-879U-RP with latest FW 4.33
Assuming the NAS RAID is healthy and not degraded so the file system (on the NAS) goes read-only...
The (non-editable, QTS generated) /etc/exports does show a read-write access?
Talking of a NAS GID and UID here?itrmc wrote:GID = everyone
UID = User with group rights to everyone (Before this GID + UID was set on default)
The (non-editable, QTS generated) /etc/exports does show a read-write access?
-
- New here
- Posts: 3
- Joined: Mon Oct 09, 2017 8:48 pm
Re: Linux NFS Mount on Qnap Ts-879U-RP with latest FW 4.33
Hi,
the File System is Clean and the Raid is not degraded.
Yes, I mean the NAS GID and UID
The Entry in the Exports File is RW
the File System is Clean and the Raid is not degraded.
Yes, I mean the NAS GID and UID
The Entry in the Exports File is RW
- schumaku
- Guru
- Posts: 43579
- Joined: Mon Jan 21, 2008 4:41 pm
- Location: Kloten (Zurich), Switzerland -- Skype: schumaku
- Contact:
Re: Linux NFS Mount on Qnap Ts-879U-RP with latest FW 4.33
Afraid, can't discover this kind of issue here on a very similar TS-ES1279U-RP on QTS 4.3.3.0299
user@debian:~# sudo mkdir /mnt/1279mm
user@debian:~# mount -vvv -t nfs ts-ec1279u-rp:/Multimedia /mnt/1279mm
mount.nfs: timeout set for Thu Oct 12 11:44:20 2017
mount.nfs: trying text-based options 'vers=4,addr=10.10.1.136,clientaddr=10.10.1.105'
user@debian:~#
...
ts-ec1279u-rp:/Multimedia on /mnt/1279mm type nfs4 (rw,noatime,nodiratime,vers=4.0,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=10.10.1.105,local_lock=none,addr=10.10.1.136)
...
Access r&w is flawless.
anonUID is set to a valid user (a 5xx UID), the anonGID is set to a custom created user group.
user@debian:~# sudo mkdir /mnt/1279mm
user@debian:~# mount -vvv -t nfs ts-ec1279u-rp:/Multimedia /mnt/1279mm
mount.nfs: timeout set for Thu Oct 12 11:44:20 2017
mount.nfs: trying text-based options 'vers=4,addr=10.10.1.136,clientaddr=10.10.1.105'
user@debian:~#
...
ts-ec1279u-rp:/Multimedia on /mnt/1279mm type nfs4 (rw,noatime,nodiratime,vers=4.0,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=10.10.1.105,local_lock=none,addr=10.10.1.136)
...
Access r&w is flawless.
anonUID is set to a valid user (a 5xx UID), the anonGID is set to a custom created user group.
-
- New here
- Posts: 3
- Joined: Mon Oct 09, 2017 8:48 pm
Re: Linux NFS Mount on Qnap Ts-879U-RP with latest FW 4.33
I have done the same Actions like You:
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: spec: "10.64.128.208:/Backup.Bugtracker"
mount: node: "/media/Bugtracker.sic/"
mount: types: "nfs"
mount: opts: "(null)"
mount: external mount: argv[0] = "/sbin/mount.nfs"
mount: external mount: argv[1] = "10.64.128.208:/Backup.Bugtracker"
mount: external mount: argv[2] = "/media/Bugtracker.sic/"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw"
mount.nfs: timeout set for Mon Oct 16 10:00:43 2017
mount.nfs: trying text-based options 'addr=10.64.128.208,vers=4,clientaddr=10.64.128.185'
10.64.128.208:/Backup.Bugtracker on /media/Bugtracker.sic type nfs (rw)
10.64.128.208:/Backup.Bugtracker on /media/Bugtracker.sic type nfs (rw,addr=10.64.128.208,vers=4,clientaddr=10.64.128.185)
Everything looks fine. But when You copy Files, or create an Folder on the share, You become this Error:
mkdir test
mkdir: cannot create directory `test': Read-only file system
Before the FW Version 4.3.x there was no Error.
We are Using OpenSuse Leap 42.3 as NFS Client OS
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: spec: "10.64.128.208:/Backup.Bugtracker"
mount: node: "/media/Bugtracker.sic/"
mount: types: "nfs"
mount: opts: "(null)"
mount: external mount: argv[0] = "/sbin/mount.nfs"
mount: external mount: argv[1] = "10.64.128.208:/Backup.Bugtracker"
mount: external mount: argv[2] = "/media/Bugtracker.sic/"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw"
mount.nfs: timeout set for Mon Oct 16 10:00:43 2017
mount.nfs: trying text-based options 'addr=10.64.128.208,vers=4,clientaddr=10.64.128.185'
10.64.128.208:/Backup.Bugtracker on /media/Bugtracker.sic type nfs (rw)
10.64.128.208:/Backup.Bugtracker on /media/Bugtracker.sic type nfs (rw,addr=10.64.128.208,vers=4,clientaddr=10.64.128.185)
Everything looks fine. But when You copy Files, or create an Folder on the share, You become this Error:
mkdir test
mkdir: cannot create directory `test': Read-only file system
Before the FW Version 4.3.x there was no Error.
We are Using OpenSuse Leap 42.3 as NFS Client OS
- schumaku
- Guru
- Posts: 43579
- Joined: Mon Jan 21, 2008 4:41 pm
- Location: Kloten (Zurich), Switzerland -- Skype: schumaku
- Contact:
Re: Linux NFS Mount on Qnap Ts-879U-RP with latest FW 4.33
Tastes like a "simple" permission issue to me.
...and see if the NFS client side UID and GID has the access rights correct to the now also new NFS Server side anonGID/anonUID.
Code: Select all
ls -als /media/Bugtracker.sic