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?

it'd actually be really nice if the answer was yes, in which case i
think that this functionality would also address the following bug:
        6882285 need a mechanism force mounts zfs filesystems


Temporary mounts can be made to work this way. Do we need any security on this other than (1) permissions to do mounts on this dataset, and (2) permission to write to the target directory? Because regular zfs mounts don't allow this, even if the process/user attempting it has the above permissions. In other words, should temporary mounts have an implied "force" behavior?

and one more question that just occured to me.  today, certain zfs
operations require unmounting and remounting filesystems (see 6472202)
and zfs does this automatically.  presumably temporarily mounted
filesystems will work with these operations.  (ie, zfs will unmount and
remount these filesystems automatically at the same temporary location.)


Yes, the file systems will be remounted in the same temporary location. And thanks for pointing this out, because I failed to consider this.

Lori


_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to