Hi, Sorry if this has been raised before. Question: IS it possible to 1. Solaris 10 OS partitons to be SDS and have a single partition on that same disk (without SDS) to be ZFS slice. 2. Partition the zfs slice for many partitions and each partition to hold a zone. Idea is to create many non-global zones and each zone to be in a zfs partition. 3. Also, at a later date to increase the zfs partitions used for zones as and when required. Am I dreaming :-) Thanks Roshan
Hello Roshan, Friday, October 13, 2006, 1:12:12 PM, you wrote: RP> Hi, RP> Sorry if this has been raised before. RP> Question: IS it possible to RP> 1. Solaris 10 OS partitons to be SDS and have a single partition RP> on that same disk (without SDS) to be ZFS slice. Yes. RP> 2. Partition the zfs slice for many partitions and each partition RP> to hold a zone. Idea is to create many non-global zones and each zone to be in a zfs partition. Yes. (I guess you want to have separate zfs file systetem for each zone) RP> 3. Also, at a later date to increase the zfs partitions used for zones as and when required. Yes. -- Best regards, Robert mailto:rmilkowski at task.gda.pl http://milek.blogspot.com
Roshan Perera wrote:> Hi, > > Sorry if this has been raised before. > > Question: IS it possible to > > 1. Solaris 10 OS partitons to be SDS and have a single partition on that same > disk (without SDS) to be ZFS slice.Yes.> 2. Partition the zfs slice for many > partitions and each partition to hold a zone. Idea is to create many non-global > zones and each zone to be in a zfs partition.I am not aware of the word "partition" in ZFS parlance, but I think I know what you mean, so I will attempt to answer with my interpretation: You can use a disk slice as a device in a ZFS pool. In that pool you can create one or more ZFS filesystems. A zone''s root directory could be installed in a ZFS filesystem, but this is not yet recommended, nor is it supported, because it is not yet possible to apply a Solaris update to a system configured like that. This will be fixed. If you don''t care about that limitation, you can put one or more zones in a ZFS fs. The best method seems to be one zone per ZFS fs. I think that''s what you were asking about. That model allows you to put a disk quota on a zone. You can accomplish that same goal with SDS (now called SVM) and soft partitions, but you wouldn''t get all of the ZFS magic. :-)> 3. Also, at a later date to > increase the zfs partitions used for zones as and when required.Yes. -------------------------------------------------------------------------- Jeff VICTOR Sun Microsystems jeff.victor @ sun.com OS Ambassador Sr. Technical Specialist Solaris 10 Zones FAQ: http://www.opensolaris.org/os/community/zones/faq --------------------------------------------------------------------------
Hi Jeff & Robert, Thanks for the reply. Your interpretation is correct and the answer spot on. This is going to be at a VIP clients QA/production environment and first introduction to 10, zones and zfs. Anything unsupported is not allowed. Hence I may have to wait for the fix. Do you know roughly when the fixes will be available. So that I can give the cusrtomer some time related info. Thanks again. Roshan ----- Original Message ----- From: Jeff Victor <Jeff.Victor at Sun.COM> Date: Friday, October 13, 2006 2:56 pm Subject: Re: [zfs-discuss] zfs and zones To: Roshan Perera <Roshan.Perera at Sun.COM> Cc: zfs-discuss at opensolaris.org> Roshan Perera wrote: > > Hi, > > > > Sorry if this has been raised before. > > > > Question: IS it possible to > > > > 1. Solaris 10 OS partitons to be SDS and have a single partition > on that same > > disk (without SDS) to be ZFS slice. > > Yes. > > > 2. Partition the zfs slice for many > > partitions and each partition to hold a zone. Idea is to create > many non-global > > zones and each zone to be in a zfs partition. > > I am not aware of the word "partition" in ZFS parlance, but I > think I know what > you mean, so I will attempt to answer with my interpretation: > > You can use a disk slice as a device in a ZFS pool. In that pool > you can create > one or more ZFS filesystems. > > A zone''s root directory could be installed in a ZFS filesystem, > but this is not > yet recommended, nor is it supported, because it is not yet > possible to apply a > Solaris update to a system configured like that. This will be fixed. > > If you don''t care about that limitation, you can put one or more > zones in a ZFS > fs. The best method seems to be one zone per ZFS fs. I think > that''s what you > were asking about. That model allows you to put a disk quota on a > zone. > You can accomplish that same goal with SDS (now called SVM) and > soft partitions, > but you wouldn''t get all of the ZFS magic. :-) > > > > 3. Also, at a later date to > > increase the zfs partitions used for zones as and when required. > > Yes. > > > > ------------------------------------------------------------------- > ------- > Jeff VICTOR Sun Microsystems jeff.victor @ > sun.comOS Ambassador Sr. Technical Specialist > Solaris 10 Zones FAQ: > http://www.opensolaris.org/os/community/zones/faq------------------ > -------------------------------------------------------- >
Roshan Perera wrote:> Hi Jeff & Robert, Thanks for the reply. Your interpretation is > correct and the answer spot on. > > This is going to be at a VIP clients QA/production environment and > first introduction to 10, zones and zfs. Anything unsupported is not > allowed. Hence I may have to wait for the fix. Do you know roughly > when the fixes will be available. So that I can give the cusrtomer > some time related info. Thanks again. RoshanUsing ZFS for a zones root is currently planned to be supported in solaris 10 update 5, but we are working on moving it up to update 4. --matt
On 10/13/06, Matthew Ahrens <Matthew.Ahrens at sun.com> wrote:> Using ZFS for a zones root is currently planned to be supported in > solaris 10 update 5, but we are working on moving it up to update 4.Are there any areas where the community can help with this? Would code or "me too!" support calls help the most? Mike -- Mike Gerdts http://mgerdts.blogspot.com/
Mike Gerdts wrote:> On 10/13/06, Matthew Ahrens <Matthew.Ahrens at sun.com> wrote: >> Using ZFS for a zones root is currently planned to be supported in >> solaris 10 update 5, but we are working on moving it up to update 4. > > Are there any areas where the community can help with this? Would > code or "me too!" support calls help the most?I don''t think that support calls will help. If anyone is interested in working on (ie. contributing code for) this project, contact Lori.Alt at sun.com , she''s the engineer responsible for this feature. --matt
Matthew Ahrens wrote:> Mike Gerdts wrote: > >> On 10/13/06, Matthew Ahrens <Matthew.Ahrens at sun.com> wrote: >> >>> Using ZFS for a zones root is currently planned to be supported in >>> solaris 10 update 5, but we are working on moving it up to update 4. >> >> >> Are there any areas where the community can help with this? Would >> code or "me too!" support calls help the most? > > > I don''t think that support calls will help. If anyone is interested in > working on (ie. contributing code for) this project, contact > Lori.Alt at sun.com , she''s the engineer responsible for this feature. >The code changes to enable zone root in zfs datasets are almost entirely in the install code, which has not yet been open-sourced, so there probably isn''t much the community can do. But if I see anything that could be helped by code contribution to Solaris, I''ll put out the word. Lori
>Using ZFS for a zones root is currently planned to be supported in >solaris 10 update 5, but we are working on moving it up to update 4.Did this make it into Update 4? Or is it still in the works for update 5? This message posted from opensolaris.org