I took another look at this configuration, and have yet another suggestion.
Instead of specifying the zfs dataset using zonecfg's datatset keyword, where
it is mounted by the zone, you can just specify that it should be mounted by
zoneadm, instead.
I previously suggested doing this:
zonec
- I set the mount point as follows.
zfs set mountpoint=/zone/restricted/root/data zone/data
- I then added the dataset to the restricted zone using zonecfg. The full path
to the dataset is now /zone/restricted/root/zone/restricted/root/data. I am not
sure if that is what you intended, but it is
I posted an earlier reply to zones-discuss, but I didn't copy all of the forums
in the original posting. I'm doing so now. I am also correcting some errors in
my earlier reply:
Yes, it is possible to share a zfs dataset that has been added to a labeled
zone.
Set the mountpoint property of you
Please try the following:
Set the mountpoint property of your dataset zone/data to be within the
restricted zone's root. For example:
# zfs set mountpoint=/zone/needtoknow/root/zone/data zone/data
That will cause the dataset to appear automatically as a read-write
mount point in the restric
Is it possible to share a zfs dataset that has been added to a labeled zone?
We are running Solaris 10 U4 w/ TX on x86. Currently, we have a zfs file system
named zone/restricted. We have a labeled zone named “restricted” loaded to this
zfs. The global path is /zone/restricted. We have another