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-1018181.1
Update Date:2011-05-31
Keywords:

Solution Type  Technical Instruction Sure

Solution  1018181.1 :   How to delete a RAID volume on Sun Fire[TM] V215/V245/T1000/T2000 at the OBP level  


Related Items
  • Sun Fire V245 Server
  •  
  • Sun Fire T2000 Server
  •  
  • Sun Fire V215 Server
  •  
  • Sun Fire T1000 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>CMT Servers
  •  
  • GCS>Sun Microsystems>Servers>Entry-Level Servers
  •  

PreviouslyPublishedAs
229537


Description
This document describes the procedure to delete a RAID volume on Sun Fire[TM] V215/V245/T1000/T2000 if there is no bootable Solaris[TM] Operating System installed



Steps to Follow
To create and delete RAID volumes normally it is recommended to boot into Solaris OS and use the 'raidctl' command.

However sometimes it is useful to be able to delete a volume while at the OBP level for troubleshooting or when there is no access to Solaris OS (for example when a system is being redeployed and you would like to remove the previously setup RAID devices before performing a clean installation). In these cases you can use the 'delete-volume' command at the OBP level to remove any unwanted volumes that are previously created.

follow these steps:
1. Set the auto-boot parameter to false, set the fcode-debug parameter to true and perform a reset-all:

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

2. After completing the reset, 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 the controller path is different on the different servers and that /disk is removed from the path used):

- for Sun Fire V215/V245:

{1} ok show-disks
a) /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk
b) /pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/cdrom
c) /pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/disk
q) NO SELECTION
Enter Selection, q to quit: q
{1} ok
{1} ok select /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1

- for Sun Fire T2000 using the PCI-X SAS controller:

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

- for Sun Fire T2000 using the onboard LSI1064E controller select the following path:

{0} ok select /pci@780/pci@0/pci@9/scsi@0

- for Sun Fire T1000 (dual-disk configuration is necessary for RAID) the disk controller path you'll need to select is:

{0} ok select /pci@7c0/pci@0/pci@8/scsi@2

3. After selecting the controller path, use the 'show-volumes' command to display the volumes that currently exist:

{1} ok show-volumes
Volume 0 Target 0  Type IM (Integrated Mirroring)
Optimal  Enabled
2 Members                                         143112591 Blocks, 73 GB
Disk 1
Primary  Online
Target 4        FUJITSU MAY2073RCSUN72G 0401
Disk 0
Secondary  Online
Target 1        FUJITSU MAY2073RCSUN72G 0401

4. Use the volume number from the previous step and the OBP command 'delete-volume' to remove the existing RAID volume. Please note that deleting the volume WILL DESTROY the data on the volume member drives:

{1} 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:

{1} ok show-volumes
No volumes to show

- you can then restore the NVRAM settings for normal operation:

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

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. In format choose each of the drives that were affected by the change, select 'type' then '0' (auto-config) and then 'label' for each drive to ensure they are properly labeled. Refer to  <Document: 1002561.1>  for more details. 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'

For more information on RAID with the Sun Fire V215/V245 refer to <Document: 1006930.1>  

For more details on RAID with the Sun Fire T1000/T2000 refer to <Document: 1012950.1>  



Product
Sun Fire V215 Server
Sun Fire V245 Server
Sun Fire T2000 Server
Sun Fire T1000 Server

Internal Comments
This document contains normalized content and is managed by the the Domain Lead(s) of the respective domains. To notify content owners of a knowledge gap contained in this document, and/or prior to updating this document, please contact the domain engineers that are managing this document via the "Document Feedback" alias(es) listed below:

[email protected]

normalized, raid, disk, delete, raidctl, OBP, v215, v245, T1000, T2000, Problem Solved = Delete RAID Volume
Previously Published As
87963

Change History
Date: 2011-05-31
User name: Dencho Kojucharov
Action: Currency check
Comments: audited by Entry-Level SPARC Content Lead
Date: 2009-11-19
User name: Dencho Kojucharov
Action: Updated
Comments: Currency check, audited by Entry-Level SPARC Content Lead
Date: 2007-11-26
User Name: 29589
Action: Approved
Comment: Validated.
Version: 8
Date: 2007-11-19

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