> 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.

CT
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to