Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2227244.1
Update Date:2017-01-26
Keywords:

Solution Type  Problem Resolution Sure

Solution  2227244.1 :   Removing a Virtual Drive for a Non-OS Drive with "MegaCli64 CfgLdDel Ln a0" Raises "Virtual Disk n is an OS drive - cannot be deleted without force option."  


Related Items
  • Big Data Appliance X4-2 Hardware
  •  
Related Categories
  • PLA-Support>Eng Systems>BDA>Big Data Appliance>DB: BDA_EST
  •  




In this Document
Symptoms
Cause
Solution


Created from <SR 3-14075044781>

Applies to:

Big Data Appliance X4-2 Hardware - Version All Versions and later
Linux x86-64

Symptoms

It might be necessary to remove a virtual drive if the mappings for the drives show disks in the wrong slots.

In the case here, removing a virtual drive which is not an OS drive fails as below.

# MegaCli64 CfgLdDel Ln a0
Virtual Disk n is an OS drive - cannot be deleted without force option.

Exit Code: 0x01

 

Example output with virtual drive 11 looks like:

# MegaCli64 CfgLdDel L11 a0
Virtual Disk 11 is an OS drive - cannot be deleted without force option.

Exit Code: 0x01

 

Cause

The cause is not known.

Solution

1. First run bdacheckhw and bdachecksw to fully verify that the OS disks are not mapped to the virtual drive raising the error with the "MegaCli64 CfgLdDel Ln a0" command.

2. Once fully confirmed via bdacheckhw and bdachecksw that the OS disks are not mapped to the virtual drive being removed, use the force option.

For example:

# MegaCli64 CfgLdDel Ln -force a0
Adapter 0: Deleted Virtual Drive-10(target id-10)

Exit Code: 0x00

 

Example output with virtual drive 11 looks like:

# MegaCli64 CfgLdDel L11 -force a0
Adapter 0: Deleted Virtual Drive-11(target id-11)

Exit Code: 0x00

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback