Koozali.org: home of the SME Server

NFS: Mounting Users Home

Offline uli334

  • ****
  • 128
  • +0/-0
NFS: Mounting Users Home
« on: April 10, 2016, 08:29:15 AM »
Hello,

Im using SME 9.1 64Bit with the Contrib "NFS" working together with a workstation with Mageia5 64Bit.

I've installed the Contrib as discribed in the wiki and made some exports of ibays via the Server-Manager Panel and mounted on the workstation.
Everything is all right and works fine.

Next I wanted to export the users home and this doesnt work:
Set a manual setting:

config setprop nfs-rules NAME "/home/e-smith/files/users/name/home 192.168.1.7(hide,sync,wdelay,rw,root_squash,secure) 192.168.1.0/24(hide,sync,wdelay,ro,root_squash,secure)"

Activated it, like described in the wiki and controlled with "showmount -e" on server and workstation

Server shows:
- /home/e-smith/files/users/name/home       192.168.1.0/24

Workstation shows:
- /home/e-smith/files/users/name/home       192.168.1.0/24

When trying to mount on the workstation with:
- "mount -t nfs 192.168.1.1:/home/e-smith/files/users/name/home /home/name/data/ext/name/"

I get the message:
- "mount.nfs: access denied by server while mounting 192.168.1.1:/home/e-smith/files/users/name/home"

On the server in "/var/log/messages" at exact the time I tried to mount the share on my workstation:
   kernel: nfsd: last server has exited, flushing export cache
   Apr 10 07:57:26 servername rpc.mountd[27827]: Caught signal 15, un-registering and exiting.
   Apr 10 07:57:26 servername rpc.mountd[28019]: Version 1.2.3 starting
   Apr 10 07:57:26 servername kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
   Apr 10 07:57:26 servername kernel: NFSD: starting 90-second grace period

UID and GID are exact the same on server and workstation.

Can anyone help me to solve this problem?
Uli

guest22

Re: NFS: Mounting Users Home
« Reply #1 on: April 15, 2016, 11:39:27 AM »
Maybe Stephane can pitch in here?

Offline uli334

  • ****
  • 128
  • +0/-0
Re: NFS: Mounting Users Home
« Reply #2 on: April 16, 2016, 05:32:50 AM »
Hello,

still one note: formerly I used SME 8.2 32 Bit. Here the users home could be mounted successfully via nfs

Greetings, Uli