Hi, a simple question.. is add dataset not part of zonecfg ? global# zonecfg -z myzone (OK) zonecfg:myzone> add dataset (fails as there is no dataset option) zonecfg:myzone> add zfs (fails as there is no dataset option) Basically how do I add a dataset to a zone ? Thanks Roshan please cc me pererar at visa.com
On 7/18/06, Roshan Perera <Roshan.Perera at sun.com> wrote:> Hi, > > a simple question.. > > is add dataset not part of zonecfg ? > > global# zonecfg -z myzone (OK) > zonecfg:myzone> add dataset (fails as there is no dataset option) > zonecfg:myzone> add zfs (fails as there is no dataset option) > > Basically how do I add a dataset to a zone ? >this is covered in the zfs guide at http://docs.sun.com/app/docs/doc/819-5461/6n7ht6qsm?a=view James Dickens> Thanks > > Roshan > > please cc me pererar at visa.com > > > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
Which version of Solaris are you using? You should be able to add a dataset if you''re running Solaris express. Not sure if this feature was backported to S10u2. global# uname -a SunOS psonali1 5.11 snv_42 sun4u sparc SUNW,Sun-Fire-V210 global# zonecfg -z fozoone fozoone: No such zone configured Use ''create'' to begin configuring a new zone. zonecfg:fozoone> create zonecfg:fozoone> add dataset zonecfg:fozoone:dataset> set name=fooset zonecfg:fozoone:dataset> end zonecfg:fozoone> Thanks, Zoram Roshan Perera wrote:> Hi, > > a simple question.. > > is add dataset not part of zonecfg ? > > global# zonecfg -z myzone (OK) > zonecfg:myzone> add dataset (fails as there is no dataset option) > zonecfg:myzone> add zfs (fails as there is no dataset option) > > Basically how do I add a dataset to a zone ? > > Thanks > > Roshan > > please cc me pererar at visa.com > > > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Zoram Thanga, Sun Cluster Development.
Hi All, Thanks for the replies. Yes, it was related to the versions. I had U2 May assembly which did not work. However, the 9th June release worked well. Thanks again. Roshan ----- Original Message ----- From: Zoram Thanga <Zoram.Thanga at Sun.COM> Date: Tuesday, July 18, 2006 12:25 pm Subject: Re: [zfs-discuss] add dataset To: Roshan Perera <Roshan.Perera at Sun.COM> Cc: pererar at visa.com, zfs-discuss at opensolaris.org> Which version of Solaris are you using? You should be able to add > a > dataset if you''re running Solaris express. Not sure if this > feature was > backported to S10u2. > > global# uname -a > SunOS psonali1 5.11 snv_42 sun4u sparc SUNW,Sun-Fire-V210 > global# zonecfg -z fozoone > fozoone: No such zone configured > Use ''create'' to begin configuring a new zone. > zonecfg:fozoone> create > zonecfg:fozoone> add dataset > zonecfg:fozoone:dataset> set name=fooset > zonecfg:fozoone:dataset> end > zonecfg:fozoone> > > > Thanks, > Zoram > > > Roshan Perera wrote: > > Hi, > > > > a simple question.. > > > > is add dataset not part of zonecfg ? > > > > global# zonecfg -z myzone (OK) > > zonecfg:myzone> add dataset (fails as there is no dataset option) > > zonecfg:myzone> add zfs (fails as there is no dataset option) > > > > Basically how do I add a dataset to a zone ? > > > > Thanks > > > > Roshan > > > > please cc me pererar at visa.com > > > > > > > > > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > -- > Zoram Thanga, Sun Cluster Development. > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
On 7/18/06, Zoram Thanga <Zoram.Thanga at sun.com> wrote:> Which version of Solaris are you using? You should be able to add a > dataset if you''re running Solaris express. Not sure if this feature was > backported to S10u2.It''s available in the S10u2 we get from sun.com. -- Just me, Wire ...