Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1008139.1
Update Date:2009-11-18
Keywords:

Solution Type  Technical Instruction Sure

Solution  1008139.1 :   How to delete a RAID volume on the Sun Fire[TM] T2000 at the OBP level  


Related Items
  • Sun Fire T2000 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>CMT Servers
  •  

PreviouslyPublishedAs
211192


Description
How do I delete a RAID volume on a Sun Fire[TM] T2000 when there is no bootable Solaris[TM] Operating System installed?


Steps to Follow
Without access to a Solaris[TM] 10 Operating System install with the proper patches it is not possible to run the 'raidctl -d' command that is used to delete a RAID volume.

To work around this you can use the delete-volume command at the OBP level to remove any volumes that require removal.

follow these 5 steps:
---------------------

*1- set the following NVRAM parameters then perform a reset-all:

{0} ok setenv fcode-debug? true
fcode-debug? =          true
{0} ok setenv auto-boot? false
auto-boot? =            false
{0} ok reset-all

*2- after the reset completes you need to select the controller that has the volume you wish to remove. If you do not know the controller you can use the show-disks command to find it (notice that /disk is removed from the path used):

{0} 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,sas@2/disk
{0} ok
{0} ok select /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2

NOTE: Make sure correct path is chosen from the two possibilties below:

Path select instructions for T2000/Ontario (pn 501-6843):
{0} ok select /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2 <- same path as above example

Path select instructions for RoHS T2000+/Ontario+ (pn 501-7501):
{0} ok select /pci@780/pci@0/pci@9/scsi@0

*3- after selecting the controller use the show-volumes command to display the volumes that currently exsist:

{0} ok show-volumes
Volume 0 Target 1  Type IS (Integrated Striping)
Optimal  Enabled
3 Members                                         429729792 Blocks, 220 GB
Disk 0
Member 0  Online
Target 4        FUJITSU MAV2073RCSUN72G 0301
Disk 1
Member 1  Online
Target 2        FUJITSU MAV2073RCSUN72G 0301
Disk 2
Member 2  Online
Target 3        FUJITSU MAV2073RCSUN72G 0301 

*4- using the volume number that you found in the previous step use delete-volume to remove the RAID volume from the controller:

{0} ok 0 delete-volume
The volume and its data will be deleted
Are you sure (yes/no)?  [no] yes
Volume 0 has been deleted

*5- use the show-volumes command again to confirm that the volume has been properly deleted:

{0} ok show-volumes
No volumes to show

-you can then set the fcode-debug? variable back to false and reset-all the system.

Please Note: Just like when you create a RAID volume, when you delete a RAID volume you need to boot into Solaris and use the format utility to label the disks so that they have proper labels for use by Solaris. Choose each of the drives that were affected by the change, choose 'type' then '0' (auto-config) and then 'label' for each drive to ensure they are properly labeled. If there is no bootable Solaris OS on this system then you may boot single user mode off a dvd/cd or a Solaris network image to perform this action. e.g., 'boot net -s'



Product
Sun Fire T2000 Server

T2000, RAID, delete, remove, OBP
Previously Published As
85309

Change History
Date: 2009-11-17
User Name: Anthony Rulli
Action: currency check, audited by Anthony Rulli, Entry-Level SPARC Content Team

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback