I am a newbie on Solaris. We recently purchased a Sun Sparc M3000 server. It comes with 2 identical hard drives. I want to setup a raid 1. After searching on google, I found that the hardware raid was not working with M3000. So I am here to look for help on how to setup ZFS to use raid 1. Currently one hard drive is installed with Solaris 10 10/09, I want to setup ZFS raid 1 without reinstalling Solaris, it that possible, and how can I do that. Thank you for any help! -- This message posted from opensolaris.org
+------------------------------------------------------------------------------ | On 2010-11-15 08:48:55, Frank wrote: | | I am a newbie on Solaris. | We recently purchased a Sun Sparc M3000 server. It comes with 2 identical hard drives. I want to setup a raid 1. After searching on google, I found that the hardware raid was not working with M3000. So I am here to look for help on how to setup ZFS to use raid 1. Currently one hard drive is installed with Solaris 10 10/09, I want to setup ZFS raid 1 without reinstalling Solaris, it that possible, and how can I do that. If you have a zfsroot (rpool) you can just google for "zfs rpool mirror attach". It is trivial. Amounts to prvtoc disk1 | disk2 ; zpool attach disk2 disk1 ; installgrub disk2. If you have a UFS root you''ll need to migrate. See the Solaris 10 sysadmin docs for that process. Alternatively you can use SVM to set up a mirror, but SVM is dead weight going forward. -- bdha cyberpunk is dead. long live cyberpunk.
> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- > bounces at opensolaris.org] On Behalf Of Bryan Horstmann-Allen > | > | I am a newbie on Solaris. > | We recently purchased a Sun Sparc M3000 server. It comes with 2identical> hard drives. I want to setup a raid 1. After searching on google, I foundthat> the hardware raid was not working with M3000. So I am here to look forhelp> on how to setup ZFS to use raid 1. Currently one hard drive is installedwith> Solaris 10 10/09, I want to setup ZFS raid 1 without reinstalling Solaris,it that> possible, and how can I do that. > > If you have a zfsroot (rpool) you can just google for "zfs rpool mirrorattach".> It is trivial. Amounts to prvtoc disk1 | disk2 ; zpool attach disk2 > disk1 ; installgrub disk2.There is no installgrub for sparc systems. There''s some other bootloader process instead... See the ZFS Best Practices Guide, and the ZFS Troubleshooting Guide. I don''t know what prvtoc is. Also, you should be glad you didn''t have the hardware raid anyway. Because now you have to learn about ZFS software raid. The preferred and recommended thing to do is ZFS raid instead. There are many threads on this... Basically ZFS is able to do things that hardware can''t do, because ZFS has knowledge of the disk blocks and filesystem, while hardware only has knowledge of the disk blocks. End result is: ZFS raid is both faster and more reliable than hardware raid.
On Nov 15, 2010, at 8:48 AM, Frank wrote:> I am a newbie on Solaris. > We recently purchased a Sun Sparc M3000 server. It comes with 2 identical hard drives. I want to setup a raid 1. After searching on google, I found that the hardware raid was not working with M3000. So I am here to look for help on how to setup ZFS to use raid 1. Currently one hard drive is installed with Solaris 10 10/09, I want to setup ZFS raid 1 without reinstalling Solaris, it that possible, and how can I do that.The process is documented in the ZFS Administration Guide. http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfsadmin.pdf -- richard