Also see sun info doc 17003 ================================ Luxadm Commands ================================== luxadm -v display 220000203713ec0f (www # from messages error) Record cxtxdx Record seral # (same as printed on the font of the drive) Record location (this is the actual name of the array ie. one on phantom) =================================================================================== Configuration: Min. # of disks allowed = 5 Front (2 disks) Rear (3 disks) ----------------- ----------------- | | | |I|X| | |X| |x| | |I|X| | |X| ----------------- ----------------- Max 7 front 7 rear Max 11 front 11 rear ------------------------- ------------------------- |1|2|3|4|5|6|7|I|8|9|0|1| |1|2|3|4|5|6|7|I|8|9|0|1| ------------------------- ------------------------- =================================================================================== Replacing a Disk on an A5000 under Volume Manager Control --------------------------------------------------------- When replacing a failed disk under Veritas Volume Manager control in the A5000 (Photon), you cannot simply pull out the disk and replace it with a new one like you can any other type of drive. Because of the fact that each disk has a unique world-wide number (WWN), the following procedure must be followed to correctly remove and replace any disk in an StorEdge A5000 (aka Sun Enterprise Network Array 5000(SENA5000) aka Photon). If the correct procedure is not followed, you may get the message: device cxtxxdxsx online failed : device path not valid from volume manager when attempting to get the new disk online. Replacement Procedure --------------------- The following procedure illustrates the correct sequence of commands needed to replace a disk in an A5000 array if Volume Manager is being used. 1) Inform Volume Manager you wish to remove the failed disk: # vxdiskadm - option 4 (Remove a disk for replacement) 2) Offline the disk device: # vxdiskadm - option 11 (Disable (offline) a disk device) - enter disk name(e.g. disk01) 3) Reconfigure DMP to "un-busy" the remaining node objects so the disk can be released from the OS: # vxdctl enable LOOK FOR DEVICE luxadm led_blink /dev/rdsk/c0t19d0s2 luxadm led_off /dev/rdsk/c0t19d0s2 4) Remove the failed disk device and device nodes: *** NOTE! Pay close attention to the following sequence *** a) enter luxadm command(see below) b) confirm disk selection by pressing "Return" ONCE; WAIT for next prompt! c) status reported on stopping and offlining drive d) next prompt appears e) physically REMOVE drive from enclosure f) confirm disk has been removed by pressing "Return" # luxadm remove_device (box_name,[f,r]slot#) Where... box_name = name of A5000 enclosure(e.g. myA5k) f = front side of enclosure r = rear side of enclosure slot# = drive slot number(0-6 or 0-10) For Example... # luxadm remove_device myA5k,f2 If this is a multi-initiated array (i.e., if there are more than one systems connected to this disk drive), you must perform the previous command on every system connected to the array. 5) Insert the new disk device and recreate device nodes: *** NOTE! Pay close attention to the following sequence *** a) enter luxadm command(see below) b) confirm disk selection by pressing "Return" ONCE; WAIT for next prompt! c) next prompt appears d) physically INSERT new drive into enclosure e) confirm disk has been inserted by pressing "Return" I/O will be suspended when the disk is inserted while the loop reconfigures itself. # luxadm insert_device (box_name,[f,r]slot#) Where... box_name = name of A5000 enclosure(e.g. myA5k) f = front side of enclosure r = rear side of enclosure slot# = drive slot number(0-6 or 0-10) For Example... # luxadm insert_device myA5k,f2 Again, on a multi-initiated array, this command must be performed on all systems connected to the array. 6) Inform Volume Manager of the configuration changes with the command # vxdctl enable 7) Bring the disk back online in Volume Manager: # vxdiskadm - option 5 (Replace a failed or removed disk) - enter disk name(e.g. disk01) - enter disk device(e.g. c#t#d#) - when complete, enter "q" for quit 8) The volume can now be restored if needed.