Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ZFS NFS no_root_squash

933584Jul 12 2012 — edited Jul 13 2012
Hi All,

I am having trouble disabling root squashing on NFS shares of ZFS volumes.
:~#zfs set sharenfs=on tank/netboot/general
:~#zfs set share=name=tank_netboot_general,path=/tank/netboot/general,prot=nfs,sec=sys,root=*,public,rw=*
However when mounting the NFS from ubuntu, it still squashes the root on me to nobody. Obviously for netbooted images this messes things up, since it cannot read /etc/shadow.

I've tried root=@192.168.0.0/16 and even setting it to just my ip root=192.167.2.138 but nothing seems to work.

Anyone have any input? Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2012
Added on Jul 12 2012
2 comments
8,486 views