From: maamiin on
Hi.

We have SunFire V445 server with 8 HDD-s.
Now we want to install latest Solaris 10 to this server (clean system)
and do Raid 1+0 config.
current hdd config (format cmd):
c1t0d0s0
c1t1d0s0
c1t2d0s0
c1t3d0s0
c1t4d0s0
c1t5d0s0
c1t6d0s0

Is this possible to set 4-disk sets to RAID0 stripes and these two
sets to RAID 1 mirror?


I'm total newbie in SOLARIS, so any step-by-step tutorial is welcome.
I have experience with Linux and windows systems only.
From: ITguy on
> We have SunFire V445 server with 8 HDD-s.
> Now we want to install latest Solaris 10 to this server (clean system)
> and do Raid 1+0 config.
> current hdd config (format cmd):
> c1t0d0s0
> c1t1d0s0
> c1t2d0s0
> c1t3d0s0
> c1t4d0s0
> c1t5d0s0
> c1t6d0s0
>
> Is this possible to set 4-disk sets to RAID0 stripes and these two
> sets to RAID 1 mirror?
>
> I'm total newbie in SOLARIS, so any step-by-step tutorial is welcome.
> I have experience with Linux and windows systems only.

Instead of mirroring a pair of 4 disk RAID0 stripes, create a stripe
across 4 RAID1 mirrors. From the "raidctl" man page:

The following command creates a RAID 10 volume on controller 0:

# raidctl -C "(0.0.0 0.1.0)(0.2.0 0.3.0)" -r 10 0

So to create a RAID 10 using all 8 disks on controller 0 it would be:

# raidctl -C "(0.0.0 0.1.0)(0.2.0 0.3.0)(0.4.0 0.5.0)(0.6.0
0.7.0)" -r 10 0

Just boot single user mode from the DVD to create the RAID set. Once
the RAID is configured, you can reboot the system and run the normal
Solaris installation. The new RAID volume will show up as the only
disk, as all physical disks will be in the RAID set. Use "raidctl"
with no arguments to view the RAID config.
From: Michael Weis on
Hi,

maamiin wrote at 09.09.2009 09:18
> Hi.
>
> We have SunFire V445 server with 8 HDD-s.
> Now we want to install latest Solaris 10 to this server (clean system)
> and do Raid 1+0 config.
> ...
>
> Is this possible to set 4-disk sets to RAID0 stripes and these two
> sets to RAID 1 mirror?

it is possible, but you also can use ZFS. When installing Solaris, use
text-mode. Then choose ZFS as Root-filesystem. Use 2 Disks for
mirroring. Later you can add other disks mirrored in the zfs pool. zfs
then stripes over all mirrors, so, in fact, you have a RAID 1+0
configuration. There are some disadvantages at this tims with zfs. But
it is a very simple and flexible way to do mirroring with performance
concerns in mind.

>
> I'm total newbie in SOLARIS, so any step-by-step tutorial is welcome.
> I have experience with Linux and windows systems only.

<http://docs.sun.com/app/docs/doc/820-7011>

Cheers,

Michael
From: ITguy on
> it is possible, but you also can use ZFS. When installing Solaris, use
> text-mode. Then choose ZFS as Root-filesystem. Use 2 Disks for
> mirroring. Later you can add other disks mirrored in the zfs pool. zfs
> then stripes over all mirrors


Is this supported?? I thought ZFS root pools were still limited to
simple mirrors, but from the URL: "The pool created with slices can be
mirrored but not a RAID-Z or non-redundant configuration of multiple
disks." I guess this would be a redundant configuration...

http://docs.sun.com/app/docs/doc/820-7010/zfsboot-2?a=view
From: Michael Weis on
ITguy wrote at 11.09.2009 01:25
>> it is possible, but you also can use ZFS. When installing Solaris, use
>> text-mode. Then choose ZFS as Root-filesystem. Use 2 Disks for
>> mirroring. Later you can add other disks mirrored in the zfs pool. zfs
>> then stripes over all mirrors
>
>
> Is this supported?? I thought ZFS root pools were still limited to
> simple mirrors, but from the URL: "The pool created with slices can be
> mirrored but not a RAID-Z or non-redundant configuration of multiple
> disks." I guess this would be a redundant configuration...
>
> http://docs.sun.com/app/docs/doc/820-7010/zfsboot-2?a=view


Sorry, you're right! Multiple vdevs in rpool is not supported, even if
this would be a redundant configuration. I just tried it:

s10u7:~# zpool add rpool mirror c1t5d0 c1t6d0
cannot add to 'rpool': root pool can not have multiple vdevs or separate
logs

Nice weekend,

Michael