Greetings all,
I have been preparing my data-set hierarchy, and wonder whether I miss a conceptual difference between the two mounting options.
To exclude a data-set from a boot environment, there appear to be two options:
1. To create a parent-data set, mount it with a
2. to create a parent-data set, mount it with a
Re 1, the alleged advantage is that the child data-sets inherits the the parent's property; the disadvantage is that
Re 2, the advantage is that
However, it seems that both options ultimately yield the same result.
Am I missing something? Is there a "best practice"?
Kindest regards,
M
I have been preparing my data-set hierarchy, and wonder whether I miss a conceptual difference between the two mounting options.
To exclude a data-set from a boot environment, there appear to be two options:
1. To create a parent-data set, mount it with a
canmount=off
and then create the child data-sets to be excluded under the parent; and2. to create a parent-data set, mount it with a
mountpoint=none
and then create the child data-sets to be excluded under the parent.Re 1, the alleged advantage is that the child data-sets inherits the the parent's property; the disadvantage is that
zfs list
results in list of data-sets, some of which, i.e., the parent are not mounted.Re 2, the advantage is that
zfs list
results in list of only mounted data-sets; the disadvantage is that the child data-sets properties must be individually set.However, it seems that both options ultimately yield the same result.
Am I missing something? Is there a "best practice"?
Kindest regards,
M