On Wed, Sep 23, 2009 at 8:12 PM, David Magda <dma...@ee.ryerson.ca> wrote:
> On Sep 23, 2009, at 20:48, bertram fukuda wrote:
>
>> What if we have no plans on moving or cloning the zone, I can get away
>> with only pool right?
>
> Sure.
>
>> If I'm doing a separate FS for each zone is it just slice up my LUN,
>> create a FS for each zone and I'm done?
>
>
> One pool from the LUN ('zpool create zonepool c2t0d0'), but with-in that
> pool you do a 'zfs create' for each zone (I think zoneadm can do this
> automatically as well):
>
>  zfs create zonepool/zone1
>  zfs create zonepool/zone2
>  zfs create zonepool/zone3
>
> This allows you to do snapshots and rollbacks on the zone for things like
> patching and other major changes.

Agreed.  And it allows you to do migrations sometime in the future with....

host1# zoneadm -z zone1 detach
host1# zfs snapshot zonepool/zo...@migrate
host1# zfs send -r zonepool/zo...@migrate \
     | ssh host2 zfs receive zones/zo...@migrate
host2# zonecfg -z zone1 create -a /zones/zone1
host2# zonecfg -z zone1 attach
host2# zoneadm -z zone1 boot

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to