how to hardware RAID 1 on T5120

Hi,

I have t5120 sparc and I have 2 146 G drives in the system. I will be installing solaris 10 and also want the system mirrored using Hardware RAID "1"

The System did come preinstalled as it comes from sun. I did not do much on it.

I booted system using boot cdrom -s

gave format command

it showed disks below,

# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@0/pci@0/pci@2/scsi@0/sd@0,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@0/pci@0/pci@2/scsi@0/sd@1,0
Specify disk (enter its number): ^D

then I tried below, I wonder if the output is normal ?

# raidctl
Controller: 1
Disk: 0.0.0
Disk: 0.1.0

I was expecting below

# raidctl
No RAID volumes found.

Anyways, from the position , system is in, how to configure RAID 1 and I will be installing the Solaris 10 again with repartitioning according to my needs, ( I do not mind destrying the disk data)

I tried raid1 using raidctl command earlier and it showed some errors

Boot device: /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/storage@2/disk@0:f File and args:
SunOS Release 5.10 Version Generic_127127-11 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Configuring devices.
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
Corrupt label - bad geometry

            Label says 286718976 blocks; Drive says 286607360 blocks

and
then when I tried to install solaris 10 after earlier config of RAID 1 there was below error,

After saying NO to remote services

One or more disks are found, but one of the
following problems exists:

Hardware failure
Unformatted disk.

I have then deleted RAID Volume and rebooted system to see the same system disk set up as original.

Please let me know how to proceed from above setup

Thanks

I don't know if the RAID 1 is working properly

when I boot disk it works
when I boot disk1 it does not work

are there OBP parameters those need to be changed for booting from disk1 ?
Thanks

You don't appear to have a raid volume created.

we use HW RAID on one of our T2000s and the output from raidctl shows the following:

r# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
------------------------------------------------------
c0t0d0 IM OK c0t0d0 OK
c0t1d0 OK
# uname -a
SunOS XXXXX 5.10 Generic_125100-09 sun4v sparc SUNW,Sun-Fire-T200
#

you may want to boot from cdrom again into single user and tell is to build the raid volume.

for the boot devices aliases, you need to check what that alias is pointing to.

here's the detail on doing this...

C H A P T E R 3 - Managing Disk Volumes

first thanks for replying, it was my first post on this forum ! :slight_smile: always nice to see replies.

Now it shows

Now I do not know how to test on this if it works fine. what would be best way to confirm that yes my RAID 1 (HW) works fine..:wink:

pull out one of the disk and check if your system is still ok and accessible. check raidctl and it should tell that a controller device as "missing" plug back in the removed disk and synchronization takes place automatically

:b: Thanks I will check on that !