Hi Sriman,
No comments on the code at this time, however I think your testing is
insufficient. I would like to see the following types of zone configs
tested:
-delegated datasets from the from global zone into non-global zone
-clone or snapshots of datasets in the zone
-configure zone to mount a dataset, not created under zone root dataset
Any other configurations that can affect this bug. There are lots of
ways zones can be configured with zfs datasets, in particular with
children datasets that are mounted in be_mount_one_zone, and I want to
be sure that more complex configurations are tested as well.
thanks,
sarah
*****
On 05/17/10 07:59 AM, sriman narayana bhavanam - Sun Microsystems -
Bangalore India wrote:
Hi,
Could you please review my changes to fix CR 10318 and let me know your
comments.
Webrev :
http://jurassic.eng/net/v4u-1500a-gmp03.uk/export/home/caiman-10318/webrev/
Bug report : https://defect.opensolaris.org/bz/show_bug.cgi?id=10318
Testing done:
----------------
Created following datasets and set their mountpoint properties as below:
rpool/zones - /zones
rpool/zones/zone1 - /zones/zone1
rpool/zone2 - /zone2
Now, configured two non-global zones zone1 and zone2 with zone paths
/zones/zone1 and /zone2
respectively.
Created boot environment new_be, and mounted it.
#beadm create new_be
#beadm mount new_be /a
#mount -p | grep /a
j...@v4v-machine-b11-gmp03:/# mount -p|grep /a
rpool/ROOT/new_be - /a zfs - no rw,devices,setuid,nonbmand,exec,xattr,atime
/zones - /a/zones lofs - no ro,nosub
/zones/zone1 - /a/zones/zone1 lofs - no ro,nosub
rpool/zones/zone1/ROOT/zbe-1 - /a/zones/zone1/root zfs - no
rw,devices,setuid,nonbmand,exec,xattr,atime
/zone2 - /a/zone2 lofs - no ro,nosub
rpool/zone2/ROOT/zbe-1 - /a/zone2/root zfs - no
rw,devices,setuid,nonbmand,exec,xattr,atime
It can be observed that only file systems required for non-global zone
paths are loopback mounted under alternate root.
Regards,
-Sriman
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss