Re: [zones-discuss] updating zones question

2009-09-30 Thread William A. Fiveash
I just tried to update my zones to snv_124 in the manner you describe. Here's what I see: /usr/sbin/beadm create opensolaris_124 /usr/sbin/beadm mount opensolaris_124 /mnt /usr/bin/pkg -R /mnt image-update /usr/sbin/bootadm update-archive -R /mnt zoneadm -R /mnt -z master detach zoneadm: zone

Re: [zones-discuss] updating zones question

2009-09-30 Thread William A. Fiveash
As a follow up I tried: zoneadm -z master attach mount failed: Device busy ERROR: Unable to mount the zone's ZFS dataset. So how do I attach my master zone to the running BE? Note, this is the same BE I detached

Re: [zones-discuss] updating zones question

2009-09-30 Thread William A. Fiveash
As a follow up I tried: zoneadm -z master attach mount failed: Device busy ERROR: Unable to mount the zone's ZFS dataset. So how do I attach my master zone to the running BE? Note, this is the same BE I detached master from. I edited /usr/lib/brand/ipkg/attach and uncommented set

Re: [zones-discuss] updating zones question

2009-09-30 Thread William A. Fiveash
I then ran: $ mount |grep '/zones/master' /zones/master on rpool/zones/master read/write/setuid/devices/nonbmand/exec/xattr/atime/de v=2d9003d on Thu Sep 24 16:03:05 2009 /mnt/zones/master on /zones/master read only/setuid/devices/nosub/dev=2d9003d on Wed Sep 30 14:17:47 2009

Re: [zones-discuss] updating zones question

2009-09-29 Thread Jerry Jelinek
Will Fiveash wrote: As an aside it would be nice if the pkg image-update command provided an option to update all zones configured in the BE being updated. There is no option because it will eventually do that automatically, just like upgrading s10 today will also upgrade all zones. We're

Re: [zones-discuss] updating zones question

2009-09-28 Thread Jerry Jelinek
Will Fiveash wrote: This is in the FAQ. http://www.opensolaris.org/os/community/zones/faq/#os I wish the info was more detailed/explicit. How do I use zones attach/detach to do an image-update on the zone exactly? # zoneadm -z myzone foo detach # zoneadm -z myzone foo attach -u Also I

Re: [zones-discuss] updating zones question

2009-09-28 Thread Jerry Jelinek
Will Fiveash wrote: On Mon, Sep 28, 2009 at 12:20:53PM -0600, Jerry Jelinek wrote: Will Fiveash wrote: This is in the FAQ. http://www.opensolaris.org/os/community/zones/faq/#os I wish the info was more detailed/explicit. How do I use zones attach/detach to do an image-update on the zone

Re: [zones-discuss] updating zones question

2009-09-25 Thread Jerry Jelinek
William A. Fiveash wrote: My questions are: - Should the zones have been updated when I did the pkg -R /mnt image-update to BE opensolaris_123? - If not, how can I fix the zones so that when I boot them while running the opensolaris_123 BE they have 123 level packages and if