ZFS: Difference between revisions

Tie-ling (talk | contribs)
reply
Tie-ling (talk | contribs)
m fix error
 
Line 436: Line 436:


{{warning|<code>zfs share</code> or <code>sharenfs</code> does not work if the <code>mountpoint</code> is set to <code>legacy</code> (or <code>none</code>, of course). I was unable to find a source for this behaviour, but I was stuck on the problem for days, until I realized the problem.  ::Reply: sharenfs controlls what
{{warning|<code>zfs share</code> or <code>sharenfs</code> does not work if the <code>mountpoint</code> is set to <code>legacy</code> (or <code>none</code>, of course). I was unable to find a source for this behaviour, but I was stuck on the problem for days, until I realized the problem.  ::Reply: sharenfs controlls what
is written into /etc/exports.  If ZFS does not know the mountpoint, as is the case in
is written into <code>/etc/exports</code>.  If ZFS does not know the mountpoint, as is the case in
mountpoint=legacy or none, the contents of /etc/exports would be wrong}}
mountpoint legacy or none, the contents of <code>/etc/exports</code> would be wrong}}


Then, set <code>sharenfs</code> property:
Then, set <code>sharenfs</code> property: