Edward Pilatowicz wrote:
hey lori,

thanks for doing this.  i have a few questions.

if i have a zfs dataset (say tank/a) that is mounted via a temporary
mountpoint at /a, then what will the output of the following command be:
        zfs get mounpoint tank/a

will "zfs unmount -a" unmount temporarily mounted filesystems?
yes
i assume that a temporarily mounted dataset can be unmounted by any of
the following commands:
        umount <mountpoint>
        zfs unmount <mountpoint>
        zfs unmount <dataset>

yes
if a dataset is configured with canmount=off, can the dataset be
temporarily mounted?
no
if a dataset is configured with mountpoint=none, can the dataset be
temporarily mounted?
no. The man page for zfs says "A file system mountpoint property of none prevents the file system from being mounted." But I can see that this one is arguable. It really depends on what we think the purpose of mountpoint=none is. Is it to prevent mounting, ever? Or ... what? (Actually, I'm not sure what it IS good for. Canmount=off has the effect of preventing a dataset from being mounted). So I'm going to suggest that a mountpoint of none should NOT prevent a dataset from being temporarily mounted.

if a dataset is configured with zoned=on, can the dataset be temporarily
mounted in the global zone?
Excellent question. I'm going to guess that the correct behavior should be "no". Ed, what do you think the answer should be?

Lori


_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to