Dear Admins My machine is ultra-sparc and has 6 H.D.D .I want to run an application server(Dns server),with perfect redundancy and data protection for my operating system and application files and folders. i install bind on /opt. so during solaris 10 installation i choose two disks for mirroring in zpool and making root file system.but i want to have raidz with 4 reamining disks and a file system like /opt to have safer protection for my application files and folders. but /opt exist in first zpool with two disks under /. what is the best plan for data protection in my server? both for my operating system and application software that install in /opt with 6 scsi hard disks? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081227/97878517/attachment.html>
iman habibi wrote:> Dear Admins > > My machine is ultra-sparc and has 6 H.D.D .I want to run an > application server(Dns server),with perfect redundancy and data > protection for my operating system and application files and folders. > i install bind on /opt. > so during solaris 10 installation i choose two disks for mirroring in > zpool and making root file system.but i want to have raidz with 4 > reamining disks and a file system like /opt to have safer protection > for my application files and folders. > but /opt exist in first zpool with two disks under /. > what is the best plan for data protection in my server? both for my > operating system and application software that install in /opt with 6 > scsi hard disks? >What''s wrong with a mirror for /opt? -- Ian.
Seems a lot simpler to create a multi-way mirror. Then symlink your /opt/BIND or whatever off to new place. # zpool create opt-new mirror c3t40d0 c3t40d1 c3t40d2 c3t40d3 # zpool status pool: opt-new state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM opt-new ONLINE 0 0 0 mirror ONLINE 0 0 0 c3t40d0 ONLINE 0 0 0 c3t40d1 ONLINE 0 0 0 c3t40d2 ONLINE 0 0 0 c3t40d3 ONLINE 0 0 0 errors: No known data errors There is no problem with having more than 2 disks in a mirror. If you have an old system with a bunch of old disk I could see good reason to be this paranoid. -- This message posted from opensolaris.org
Dear Admin I have a server with 6 HDD,in fresh installation i select two disks for mirroring and create rpool and installing solaris10,but i need further space than default rpool`s file systems for installing my application. (for example mysql).so i decide create another pool (named tank) with 4 remaining disks in raidz mode.but my question here? can i install my application in new pool (tank) or should better install my application in its default location for example /opt or /usr then symlink its folder to this new pool? or better mount new pool to default /usr or /opt? i would be appreciated if u guide me about best solution in these situation. Regards On Tue, Dec 30, 2008 at 1:59 AM, Vincent Fox <vincent_b_fox at yahoo.com>wrote:> Seems a lot simpler to create a multi-way mirror. > Then symlink your /opt/BIND or whatever off to new place. > > # zpool create opt-new mirror c3t40d0 c3t40d1 c3t40d2 c3t40d3 > # zpool status > pool: opt-new > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > opt-new ONLINE 0 0 0 > mirror ONLINE 0 0 0 > c3t40d0 ONLINE 0 0 0 > c3t40d1 ONLINE 0 0 0 > c3t40d2 ONLINE 0 0 0 > c3t40d3 ONLINE 0 0 0 > > errors: No known data errors > > There is no problem with having more than 2 disks in a mirror. > If you have an old system with a bunch of old disk I could see > good reason to be this paranoid. > -- > This message posted from opensolaris.org > _______________________________________________ > 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/20081230/175dfd84/attachment.html>
> <div id="jive-html-wrapper-div"> > Dear Admin<br>I have a server with 6 HDD,in fresh > installation i select two disks for mirroring and > create rpool and installing solaris10,but i need > further space than default rpool`s file systems for > installing my application. (for example mysql).so i > decide create another pool (named tank) with 4 > remaining disks in raidz mode.but my question > here?<br> > can i install my application in new pool (tank) or > should better install my application in its default > location for example /opt or /usr then symlink its > folder to this new pool? or better mount new pool to > default /usr or /opt?<br> > i would be appreciated if u guide me about best > solution in these situation.<br>Regards<br><br><divIf the install-point of the software defaults to /opt/mysql you could just as easily mount a new filesystem in tank mounted onto the point you need it. Example: zfs create -o mountpoint=/opt/mysql tank/mysql I don''t see a distinction that MATTERS between these choices. Pick one. You ask as though you think there''s some deep decision being made here when there isn''t. I would personally choose a 3-disk RAID-1 or a 4-disk RAID10 set for tank over RAIDZ any day. Safety matters most to me these days not disk space. With a 3-disk mirror you''d have a disk left over to be hot spare for failure in either rpool or tank. If you put all 4 into a RAID-10 set you''d have better performance and more space with a bit less safety. Choose. -- This message posted from opensolaris.org
>Dear Admin >u said: >choose a 3-disk RAID-1 or a 4-disk RAID10 >set for tank over RAIDZ aWith a 3-disk mirror you''d have a disk left over >to be hot spare for failure in either rpool or tank. >why do u prefer raid1 with one spare rather than raidz? >i heard raidz has better redundancy than raid 1 or 5?! >doesnt raidz support failover when one of my disk crach? >Regards[/i]A RAIDZ set would allow 1 disk failure before it becomes non-redundant and if a 2nd disk fails you would lose all data. RAIDZ is similar to RAID5 in that it only takes a double-disk failure to lose everything. Of course you could have RAIDZ2 which is akin to RAID6. A 3-disk mirror set with 2 disks failing you would still have data. You need to read more on RAID terminology. Twice in my career I have had 2 disks fail in a RAID5 set before a hot spare could be added and all data was lost. Perfect paranoia is perfect awareness. -- This message posted from opensolaris.org