You are not logged in.
Hi,
I tried to follow the guide https://wiki.archlinux.org/index.php/NFS to add shares on a desktop server I just isntalled (fresh Arch with systemd), and have now spent a few hours on a problem I don't see how to resolve, please can you help ? Below is a summary of the situation as I think is relevant:
On the server side, I have:
/etc/idmapd.conf:
[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = test-domain
[Mapping]
Nobody-User = nobody
Nobody-Group = nobody
[Translation]
Method = nsswitch/etc/exports:
/srv/nfs4/ 192.168.3.25(rw,fsid=0,no_subtree_check)
/srv/nfs4/media 192.168.3.25(rw,no_subtree_check,nohide)/etc/fstab:
/media /srv/nfs4/media none bind 0 0Then on the client side I have
/etc/fstab:
192.168.3.26:/media /srv/nfs4-desktop/media nfs4 noauto,rsize=8192,wsize=8192,timeo=14,intr 0 0Now, in the server /media, I have added a few files and one directory manually, and I have an external drive (well an internal sata drive that I hot swap in a rack installed on the computer, so not usb but motherboard sata connector used) named Sata03 mounted via KDE in Dolphin. The permissions look like this on this server side:
/media/:
total 144
drwxr-xr-x 4 root root 4096 Nov 28 00:17 ./
drwxr-xr-x 21 root root 4096 Jul 28 19:04 ../
drwxrwxrwx 6 alain users 4096 Nov 27 23:36 Sata03/
drwxr-xr-x 2 alain users 4096 Nov 28 00:03 test/
-rw-r--r-- 1 alain users 618 Nov 27 23:35 exports
-rw-r--r-- 1 alain users 547 Nov 27 23:53 fstab
-rw-r--r-- 1 alain users 179 Nov 27 19:58 idmapd.conf
-rw-r--r-- 1 alain users 118261 May 15 2012 tcp udp forwards.png
/media/test:
total 124
drwxr-xr-x 2 alain users 4096 Nov 28 00:03 ./
drwxr-xr-x 4 root root 4096 Nov 28 00:17 ../
-rw-r--r-- 1 alain users 118261 May 15 2012 tcp udp forwards.pngAnd to confirm the bind is correct:
/srv/nfs4/media/:
total 144
drwxr-xr-x 4 root root 4096 Nov 28 00:17 ./
drwxr-xr-x 3 root root 4096 Nov 27 20:01 ../
drwxrwxrwx 6 alain users 4096 Nov 27 23:36 Sata03/
drwxr-xr-x 2 alain users 4096 Nov 28 00:03 test/
-rw-r--r-- 1 alain users 618 Nov 27 23:35 exports
-rw-r--r-- 1 alain users 547 Nov 27 23:53 fstab
-rw-r--r-- 1 alain users 179 Nov 27 19:58 idmapd.conf
-rw-r--r-- 1 alain users 118261 May 15 2012 tcp udp forwards.png
/srv/nfs4/media/test:
total 124
drwxr-xr-x 2 alain users 4096 Nov 28 00:03 ./
drwxr-xr-x 4 root root 4096 Nov 28 00:17 ../
-rw-r--r-- 1 alain users 118261 May 15 2012 tcp udp forwards.pngHowever on the client side, with the NFS share mounted, the owner, group and permissions changed on the mounted Sata03 folder, but not on the rest of the normal files and folders I placed on the server:
/srv/nfs4-desktop/media/:
total 144
drwxr-xr-x 4 root root 4096 Nov 28 00:44 ./
drwxr-xr-x 3 root root 4096 Nov 28 00:25 ../
drwx------ 2 root root 4096 Nov 27 23:55 Sata03/
drwxr-xr-x 2 alain users 4096 Nov 28 00:03 test/
-rw-r--r-- 1 alain users 618 Nov 27 23:35 exports
-rw-r--r-- 1 alain users 547 Nov 27 23:53 fstab
-rw-r--r-- 1 alain users 179 Nov 27 19:58 idmapd.conf
-rw-r--r-- 1 alain users 118261 May 15 2012 tcp udp forwards.png
/srv/nfs4-desktop/media/test/:
total 124
drwxr-xr-x 2 alain users 4096 Nov 28 00:03 ./
drwxr-xr-x 4 root root 4096 Nov 28 00:44 ../
-rw-r--r-- 1 alain users 118261 May 15 2012 tcp udp forwards.pngPlease can you help me to understand this and how to make Sata03 fully shared (777) on the client side ?
Oh and quick question for my curiosity, what is the use of the domain name in idmapd.conf ? It doesn't seem needed on the client side ?
Last edited by Alain2 (2012-11-28 00:10:27)
Offline