Hello christophe,

Thursday, August 16, 2007, 8:53:31 AM, you wrote:

c> Hello,

c> is there a way to add a zfs dataset to a zone online? 
c> The only info I found is to configure the dataset in the zone via zonecfg 
then reboot the zone.

c> I would like to be able to add new separated dataset for each new
c> db's I add in the zone and of course if I need to reboot the zone
c> every time I have to add/remove a db, my users will not be very
c> happy... The only option I found for the moment is to create 1
c> dataset for all the db's but I have problems with that :
c> * every db's are writing on the same LUN's (or at least, I don't where are 
writing the db's)
c> * adding a LUN is not a problem but removing it is not (yet) possible
c> * we would be able to move a db from 1 zone to another one : both zones need 
to be rebooted.

c> other solution is to have 1 zone per db but having a zone for a
c> small db (let say less than 5 GB) is not really the best way to do
c> (lots of diskspace lost for the binaries of the zone itself & the db's).


I haven't tried it but - from a global zone try to manually mount it
in a local zone patch (like /zones/my_zone/root/mnt/test). If it works
check if zoned is on for that dataset - if it's not set it.

And of course add to zone config if you want it to be there after
reboot.


-- 
Best regards,
 Robert Milkowski                      mailto:[EMAIL PROTECTED]
                                       http://milek.blogspot.com

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to