[MLUG] NFS all_squash
David Filion
david at filiontech.com
Wed Dec 31 08:28:22 EST 2008
David Filion wrote:
> I'm in the process of setting up and NFS server. Simple enough, except
> the all_squash isn't working. :-(
>
> Here is my export:
> /data/dev
> 192.168.0.0/255.255.0.0(ro,sync,insecure,mp=/data/dev,no_subtree_check,all_squash,anonuid=30,anongid=8)
>
> On the client's fstab I have:
> 192.168.0.16:/data/dev /nfs/dev nfs
> hard,intr,ro,noauto,rsize=8192,wsize=8192 0 0
>
>
> The export mounts with no problem but the uids are not getting remapped
> to uid=30, gid=8. An ls -l shows the files still coming across with
> their original uid/gids.
>
> # ls -l
> -rw-rw-r-- 1 10028 5011 497 2008-12-29 17:00 mirror.txt
> -rw-rw-r-- 1 10001 5011 401 2008-02-08 10:50 mirror.txt.bak
>
> The server is an running an old OpenSuSE 10.1 (updating is not currently
> an option) with nfs-utils-1.0.7-36.
> The clients is running OpenSuse 10.2. with nfs-utils-1.0.10-22.
>
> Any suggestions?
>
> David f.
>
> _______________________________________________
> mlug mailing list
> mlug at listserv.mlug.ca
> https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca
>
Just a quick follow up. The user space NFS server does have uid/gid
mapping abilities. However the user space NFS server carries a
performance hit that because of the kernel <--> user space traffic. Not
a big deal on a small setup, but on a web server cluster, ouch.
David f.
More information about the mlug
mailing list