SUMMARY: raidctl on T2000

From: Sid Wilroy (sidwilroy@gmail.com)
Date: Mon May 22 2006 - 18:29:50 EDT


Thanks to Torsten and Tom Lieuallen for replying -

Some disk background:
The T2000s come with 2 SAS internal drives 0 1 . SAS is serial attached
SCSI; like SATA serial ATA. Just remember that parallel drives send data in
parallel down the EIDE ribbon; while serial is a single data path and is
much faster and more reliable.
SAS is more reliable and supports a much higher rpm drive than SATA..

Before anything we'll need to apply the firmware patch to the LSI raid/SAS
controller:
122165-02
and it wouldn't be a bad idea to install the firmware for the SC -

First thing we need to drop down to the OK prompt ha create our mirror (we
could also boot net)

uadmin 2 0 - will sync the filesystem and bring the server to the OK prompt
- you could do a shutdown -y -g0 -i0 now for a cleaner init shutdown..

# uadmin 2 0
syncing file systems... done
Program terminated
{14} ok

Wanted to go into the SC controller or could do (ok setenv auto-boot? false)
#. will get you to the sc prompt.

sc>
sc> bootmode bootscript="false to autoboot? tru to fcode-debug?"
sc> poweron -c
The Host System Power is already running
sc> console -f
Enter #. to return to ALOM.
 {14} ok printenv
Variable Name Value Default Value

ttya-rts-dtr-off false false
ttya-ignore-cd true true
local-mac-address? true true
fcode-debug? false false
scsi-initiator-id 7 7
oem-logo No default
oem-logo? false false
oem-banner No default
oem-banner? false false
ansi-terminal? true true
screen-#columns 80 80
screen-#rows 34 34
ttya-mode 9600,8,n,1,- 9600,8,n,1,-
output-device virtual-console virtual-console
input-device virtual-console virtual-console
auto-boot-on-error? false false
load-base 16384 16384
auto-boot? false true
network-boot-arguments
boot-command boot boot

As you can see autoboot is set to false. We need to select the device path
to our 2 internal SAS drives. Remove the disk at the end..

ok show-disks
a) /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk
b) /pci@7c0/pci@0/pci@1/pci@0/ide@8/cdrom
c) /pci@7c0/pci@0/pci@1/pci@0/ide@8/disk
q) NO SELECTION
Enter Selection, q to quit: a
/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/disk has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
         for creating devalias mydev for /pci@7c0/pci@0/pci@1/pci@0
,2/LSILogic,s
as@2/disk
{14} ok select /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2
{14} ok 0 1 create-im-volume
Target 0 size is 143243264 Blocks, 73 GB Target 1 size is 143243264 Blocks,
73 GB The volume can be any size from 1 MB to 69943 MB What size do you
want? [69943] Volume size will be 143243264 Blocks, 73 GB PhysDisk 0 has
been created for target 0 PhysDisk 1 has been created for target 1 Volume
has been created {14} ok show-volumes Volume 0 Target 0 Type IM (Integrated
Mirroring)
  Degraded Enabled Resync In Progress
  2 Members 143243264 Blocks, 73 GB
  Disk 0
    Primary Online
    Target 4 FUJITSU MAV2073RCSUN72G 0301
  Disk 1
    Secondary Online Out Of Sync
    Target 1 FUJITSU MAV2073RCSUN72G 0301
{14} ok

So we select location 0 and 1 to create a mirror volume..
Format now see the 2 drives as one.

format:
      2. c2t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>
          /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@0,0

You will need to reinstall the OS:
ok>boot cdrom
Only Solaris 10 is supported on the T2000. Once you have installed the OS,
several patched are required for the T1 multicore chip.
Patches I applied - Always look on sunsolve for new revs: Always a good idea
to install patches in single usermode
118822-30 - kernel
118918-17 - Crypto patch
119578-22 - niagara fma
119850-14 - mpt panics
119981-09 - libc_psr patch
120824-04 - prtdiag

# raidctl -l
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
------------------------------------------------------
c2t0d0 IM OK c2t0d0 OK
                                c2t1d0 OK
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:55 EDT