SUMMARY: HSG60;Init container after recreating RAID partition?

From: Uwe Richter <ur_at_minet.uni-jena.de>
Date: Tue, 21 Aug 2001 11:00:54 +0200 (MET DST)

Hello all,

the intended recreation of a HSG60 RAID set partition without touching
the others has been done now - without initializing the (whole) RAID set
as suggested in the DOC (surely missunderstood by me).

Many thanks to Alan Rollow from "dec.com" and Edward J. Branley !!

Here are the steps I took successfully
(the original question is appended below):

- Have HSG60 RAID set ("myraid") partition (number 5) that is to be
  replaced by a smaller one beginning at the same position in
  the RAID set.
  The unit number will be the same. System is Tru64 V5.1 PK#2.

- mytrunix$ addvol /dev/disk/dsk18c myfiles.dom # adding a temp. spare
  mytrunix$ rmvol /dev/disk/dsk17c myfiles.dom # removing the HSG partition
  hsg60>>> SET d5 DISABLE_ACCESS_PATH=ALL
  mytrunix$ hwmgr -scan scsi -bus 7 # device [7/0/5] cleared
  hsg60>>> DELETE d5
  hsg60>>> DESTROY_PARTITION myraid PARTITION=5
  hsg60>>> CREATE_PARTITION myraid SIZE=16
  hsg60>>> ADD UNIT d5 myraid PARTITION=5 DISABLE_ACCESS_PATH=ALL
                                           NOWRITE_PROTECT
  hsg60>>> SET d5 ENABLE_ACCESS_PATH=mytrunix1A1
  mytrunix$ hwmgr -scan scsi -bus 7 # [7/0/5] reappears as dsk19
  mytrunix$ disklabel -r /dev/rdisk/dsk19c
  mytrunix$ disklabel -rw /dev/rdisk/dsk19c
  mytrunix$ addvol /dev/disk/dsk19c myfiles.dom
  mytrunix$ rmvol /dev/disk/dsk18c myfiles.dom # remove the temp. spare

- DO NOT "INITIALIZE myraid" after "DESTROY_PARTITION myraid PARTITION=5" !
- The controller configuration is stored in it's NVRAM.
- The "SAVE_CONFIGURATION" feature at RAID set initializing time will
  instruct the HSG to save later configuration changes, too - to
  accomplish a possible controller replacement.


My original question was:
> Hello all,
>
> I'm just beeing unsure about a sentence in the HSG60 DOC, so please
> let me ask if this should really done this way:
>
> - I have a single HSG60 with a partitioned RAID set
> - I want destroy one RAID set partition and create a new one smaller in
> size.
> - The HSG60 CLI Reference Guide V8.5
> (http://www.compaq.com/products/storageworks/acs/documentation.html)
> intructs in section "INITIALIZE":
>
> "After a partition is destroyed, the container from which it was
> created must be initialized."
>
> My doubts/questions are:
> - Do I destroy no only this RAID set partition but also the others
> if I apply the "INITIALIZE myraidset" command ?
>
> - What about the (single) controller configuration data, instructed to
> be written to disks with "INITIALIZE myraidset SAVE_CONFIGURATION"
> I gave at RAID set creation time? Are these controller configuration
> data not updated dynamically as a new partition is created?
>

Many thanks for your valuable help!

Uwe


-- 
Uwe Richter
Jena University, Faculty of Mathematics & Computer Science
Ernst-Abbe-Platz 1-4, Room#1219, D-07740 Jena, Germany
eMail: ur_at_inf.uni-jena.de   Tel. : +49.3641.9.46044
Received on Tue Aug 21 2001 - 09:01:48 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT