On Tue, Feb 16, 2010 at 9:08 AM, Christine Tran
<christine.t...@gmail.com> wrote:
>> Does the data really need to be under the zonepath?  If you were to do
>> something like:
>>
>> zfs create -o mountpoint=/stuff rpool/stuff
>> mkdir /stuff/z1 /stuff/z2
>>
>> zonecfg -z z1
>> add fs
>> set dir=/stuff
>> set special=/stuff/z1
>> set options=rw
>> end
>> exit
>>
>> zonecfg -z z2
>> add fs
>> set dir=/stuff
>> set special=/stuff/z2
>> set options=rw
>> end
>> exit
>>
>> Adjust paths as needed to fit your application.  From the global zone,
>> you should be able to mv /stuff/z1/* /stuff/z2/* efficiently.
>
> I think I have tried something like this, basically pre-make the
> zonepath as directories before cloning the zone?  It doesn't work.  I
> end up getting a new dataset mounted on the directory I've created.

What I am suggesting is that there is another file system that is lofs
mounted into each zone.  Within z1 and z2 there are directories named
/stuff that really come from rpool/stuff/{z1,z2}.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to