Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a Solaris 10 box & I need some help with nfs. My /etc/dfs/sharetab is currently:

/myvol   -       nfs     sec=sys,rw=server1:server2

How do I add a server3 to the list of where myvol can be mounted? If I'm getting this, sharetab is auto-generated from the contents of /etc/dfs/dfstab but that file has only comment lines on my machine, no share lines ... so how did info about myvol etc show up in sharetab? Maybe I'm not getting this, any help will be greatly appreciated.

share|improve this question
up vote 1 down vote accepted

If /myvol is a ZFS filesystem, it may be shared via the sharenfs property. Use zfs list to determine the dataset name, then zfs get sharenfs mypool/myfs to query the property.

If this is the case, then you can modify it with:

zfs set sharenfs="sec=sys,rw=server1:server2:server3" mypool/myfs
share|improve this answer

The line you are seeing in your sharetab would be generated by any valid share command. Normally these would be in /etc/dfs/dfstab and each line should contain a share command e.g.

share -F nfs -o sec=sys,rw=server1:server2:server3 -d "My Volume" /path/to/myvol 

Check the /etc/rc files and directories/scripts to see if one of them is running a share command.

Check the man pages for dfstab, share and share_nfs.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.