Why mount zfs dataset?

joedoge

New Member
Jun 8, 2020
1
0
1
The Oracle Docs illustrate mounting a zfs dataset under /export/dataset.... I might be missing something, but, why mount it? If you're doing an NFS export, why not just export /pool/dataset?
 

dandanio

Active Member
Oct 10, 2017
156
53
28
You can't export unmounted FS. You have to mount it somewhere, it does not matter if it is /pool/dataset (which is a default, but not for ALL (mine is not)), if you want to logically segregate your datasets, then /export is as good as /foo. It is just a matter of a naming convention.