Hello All Im new in solaris 10 zfs structure.my machine is ultra-sparc server with 5 scsi hards. data protection for my solaris operating system is important for me,so i want all of my hards participate in one pool and build raidz construction. in solaris 10 installation process,when it shows the zfs configuration(rpool name and size,...) i saw that it takes just one of my hards for building pool,not all of them.but i want to make all of my five hards to raidz structure. should i add other hards to default pool(rpool) after installation? can i have one pool with five hard drives and build raidz on it so that my operating system installed on it and has redundancy and data protection?if yes how? Regards Iman -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081219/4e465c96/attachment.html>
The best you can do right now is mirroring. During the install, choose more than one hard drive and zfs will create a mirror configuration. Support for raidz and/or striping is for a future project. On Fri, 19 Dec 2008, iman habibi wrote:> Hello All > Im new in solaris 10 zfs structure.my machine is ultra-sparc server with 5 > scsi hards. > data protection for my solaris operating system is important for me,so i > want all of my hards participate in one pool and build raidz construction. > in solaris 10 installation process,when it shows the zfs configuration(rpool > name and size,...) i saw that it takes just one of my hards for building > pool,not all of them.but i want to make all of my five hards to raidz > structure. > should i add other hards to default pool(rpool) after installation? > can i have one pool with five hard drives and build raidz on it so that my > operating system installed on it and has redundancy and data protection?if > yes how? > Regards > Iman >Regards, markm
Just to add -- this is a boot disk restriction. Solaris 10 supports RAIDZ just fine, but not as a boot disk. Boot disks can only be mirrored. So you could use a couple of disks for a pair of mirrored boot disks, and then create a new RAIDZ zpool from the remaining 3 disks to use for data. -- Andrew Mark J Musante wrote:> The best you can do right now is mirroring. During the install, choose > more than one hard drive and zfs will create a mirror configuration. > > Support for raidz and/or striping is for a future project. > > > On Fri, 19 Dec 2008, iman habibi wrote: > > >> Hello All >> Im new in solaris 10 zfs structure.my machine is ultra-sparc server with 5 >> scsi hards. >> data protection for my solaris operating system is important for me,so i >> want all of my hards participate in one pool and build raidz construction. >> in solaris 10 installation process,when it shows the zfs configuration(rpool >> name and size,...) i saw that it takes just one of my hards for building >> pool,not all of them.but i want to make all of my five hards to raidz >> structure. >> should i add other hards to default pool(rpool) after installation? >> can i have one pool with five hard drives and build raidz on it so that my >> operating system installed on it and has redundancy and data protection?if >> yes how? >> Regards >> Iman >> >> > > > Regards, > markm > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
On 19 December, 2008 - Andrew Gabriel sent me these 1,7K bytes:> Just to add -- this is a boot disk restriction. > Solaris 10 supports RAIDZ just fine, but not as a boot disk. Boot disks > can only be mirrored. So you could use a couple of disks for a pair of > mirrored boot disks, and then create a new RAIDZ zpool from the > remaining 3 disks to use for data.Or use something like: +-----+ +-----+ +-----+ +-----+ +-----+ |Boot |-M-|Boot | | ??? | | ??? | | ??? | +-----+ +-----+ +-----+ +-----+ +-----+ | | | | | | | | | | |data |-r-|data |-r-|data |-r-|data |-r-|data | | | | | | | | | | | | | | | | | | | | | +-----+ +-----+ +-----+ +-----+ +-----+ That is, mirror the first part of two disks for OS, then the rest of those disks and the other disks for raidz. The rest of the 3 other disks can be used for whatever.. /Tomas -- Tomas ?gren, stric at acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Ume? `- Sysadmin at {cs,acc}.umu.se
Hello Allris can i add second hard for building mirror boot disk after installation? or better reinstalling solaris operating system and make mirroring during installation? Regards On Fri, Dec 19, 2008 at 8:11 AM, iman habibi <iman.habibi at gmail.com> wrote:> Hello All > Im new in solaris 10 zfs structure.my machine is ultra-sparc server with 5 > scsi hards. > data protection for my solaris operating system is important for me,so i > want all of my hards participate in one pool and build raidz construction. > in solaris 10 installation process,when it shows the zfs > configuration(rpool name and size,...) i saw that it takes just one of my > hards for building pool,not all of them.but i want to make all of my five > hards to raidz structure. > should i add other hards to default pool(rpool) after installation? > can i have one pool with five hard drives and build raidz on it so that my > operating system installed on it and has redundancy and data protection?if > yes how? > Regards > Iman >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081219/9d4138da/attachment.html>
Dear All thanks for your guide I dont remember that in the installation process,after selecting zfs file system,it let me to select additional disks or not? can i select another c0txdy for creating mirror? or it must done after installation? Regards iman On Fri, Dec 19, 2008 at 9:11 AM, Tomas ?gren <stric at acc.umu.se> wrote:> On 19 December, 2008 - Andrew Gabriel sent me these 1,7K bytes: > > > Just to add -- this is a boot disk restriction. > > Solaris 10 supports RAIDZ just fine, but not as a boot disk. Boot disks > > can only be mirrored. So you could use a couple of disks for a pair of > > mirrored boot disks, and then create a new RAIDZ zpool from the > > remaining 3 disks to use for data. > > Or use something like: > > +-----+ +-----+ +-----+ +-----+ +-----+ > |Boot |-M-|Boot | | ??? | | ??? | | ??? | > +-----+ +-----+ +-----+ +-----+ +-----+ > | | | | | | | | | | > |data |-r-|data |-r-|data |-r-|data |-r-|data | > | | | | | | | | | | > | | | | | | | | | | > +-----+ +-----+ +-----+ +-----+ +-----+ > > That is, mirror the first part of two disks for OS, then the rest of > those disks and the other disks for raidz. The rest of the 3 other disks > can be used for whatever.. > > /Tomas > -- > Tomas ?gren, stric at acc.umu.se, http://www.acc.umu.se/~stric/<http://www.acc.umu.se/%7Estric/> > |- Student at Computing Science, University of Ume? > `- Sysadmin at {cs,acc}.umu.se > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081219/4ffc1e3a/attachment.html>
Iman, Yes, you can do either of the following: o Select two disks for creating a mirrored root pool during an initial installation o Attach a second disk after the initial installation, like this: # zpool attach rpool old-disk new-disk In the attach disk scenario, you will also need to add the boot blocks due to an existing bug, like this: sparc# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk new-disk The initial install does this step automatically. Cindy iman habibi wrote:> Hello Allris > can i add second hard for building mirror boot disk after installation? > or better reinstalling solaris operating system and make mirroring > during installation? > Regards > > On Fri, Dec 19, 2008 at 8:11 AM, iman habibi <iman.habibi at gmail.com > <mailto:iman.habibi at gmail.com>> wrote: > > Hello All > Im new in solaris 10 zfs structure.my machine is ultra-sparc server > with 5 scsi hards. > data protection for my solaris operating system is important for > me,so i want all of my hards participate in one pool and build raidz > construction. > in solaris 10 installation process,when it shows the zfs > configuration(rpool name and size,...) i saw that it takes just one > of my hards for building pool,not all of them.but i want to make all > of my five hards to raidz structure. > should i add other hards to default pool(rpool) after installation? > can i have one pool with five hard drives and build raidz on it so > that my operating system installed on it and has redundancy and data > protection?if yes how? > Regards > Iman > > > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Iman, Sure, just select both disks during the install, like the screen below. If you don''t see all the disks on the system during the initial install, then either their is an underlying configuration problem or you just need to scroll down to see all the disks. Cindy Select Disks On this screen you must select the disks for installing Solaris software. Start by looking at the Suggested Minimum field; this value is the approximate space needed to install the software you''ve selected. For ZFS, multiple disks will be configured as mirrors, so the disk you choose, or the slice within the disk must exceed the Suggested Minimum value. NOTE: ** denotes current boot disk Disk Device Available Space ============================================================================= [X] ** c0t0d0 34730 MB [X] c0t1d0 34730 MB (F4 to edit) Maximum Root Size: 34730 MB Suggested Minimum: 9854 MB iman habibi wrote:> Dear All > thanks for your guide > I dont remember that in the installation process,after selecting zfs > file system,it let me to select additional disks or not? > can i select another c0txdy for creating mirror? or it must done after > installation? > Regards > iman > > On Fri, Dec 19, 2008 at 9:11 AM, Tomas ?gren <stric at acc.umu.se > <mailto:stric at acc.umu.se>> wrote: > > On 19 December, 2008 - Andrew Gabriel sent me these 1,7K bytes: > > > Just to add -- this is a boot disk restriction. > > Solaris 10 supports RAIDZ just fine, but not as a boot disk. Boot > disks > > can only be mirrored. So you could use a couple of disks for a > pair of > > mirrored boot disks, and then create a new RAIDZ zpool from the > > remaining 3 disks to use for data. > > Or use something like: > > +-----+ +-----+ +-----+ +-----+ +-----+ > |Boot |-M-|Boot | | ??? | | ??? | | ??? | > +-----+ +-----+ +-----+ +-----+ +-----+ > | | | | | | | | | | > |data |-r-|data |-r-|data |-r-|data |-r-|data | > | | | | | | | | | | > | | | | | | | | | | > +-----+ +-----+ +-----+ +-----+ +-----+ > > That is, mirror the first part of two disks for OS, then the rest of > those disks and the other disks for raidz. The rest of the 3 other disks > can be used for whatever.. > > /Tomas > -- > Tomas ?gren, stric at acc.umu.se <mailto:stric at acc.umu.se>, > http://www.acc.umu.se/~stric/ <http://www.acc.umu.se/%7Estric/> > |- Student at Computing Science, University of Ume? > `- Sysadmin at {cs,acc}.umu.se <http://umu.se> > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org <mailto:zfs-discuss at opensolaris.org> > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss