Managing Network Adapters

Deleting a Virtual Drive

 

Command or Action

Purpose

 

Step 3

Server /chassis/storageadapter #

You are prompted to confirm the action. Enter yes

 

clear-foreign-config

to confirm.

 

 

Note

If you do not enter yes, the action is

 

 

 

aborted.

This example shows how to clear all foreign configurations on the MegaRAID controller in slot 3:

Server# scope chassis

Server /chassis # scope storageadapter SLOT-3

Server /chassis/storageadapter # clear-foreign-config

Are you sure you want to clear all foreign configurations on this controller?

All data on the drive(s) will be lost.

Enter 'yes' to confirm -> yes

Server /chassis/storageadapter #

Deleting a Virtual Drive

Important This task deletes a virtual drive, including the drives that run the booted operating system. So back up any data that you want to retain before you delete a virtual drive.

Before You Begin

You must log in with admin privileges to perform this task.

Procedure

 

Command or Action

Purpose

 

Step 1

Server# scope chassis

Enters the chassis command mode.

Step 2

Server /chassis # scope storageadapter slot

Enters command mode for an installed storage

 

 

card.

 

Step 3

Server /chassis/storageadapter # scope

Enters command mode for the specified virtual

 

virtual-drive drive-number

drive.

 

Step 4

Server /chassis/storageadapter/virtual-drive

You are prompted to confirm the action. Enter

 

# delete-virtual-drive

yes to confirm.

 

 

Note

If you do not enter yes, the action is

 

 

 

aborted.

This example shows how to delete virtual drive 3.

Server# scope chassis

Server /chassis # scope storageadapter SLOT-3

Server /chassis/storageadapter # scope virtual-drive 3

Server /chassis/storageadapter/virtual-drive # delete-virtual-drive

 

Cisco UCS C-Series Servers Integrated Management Controller CLI Configuration Guide, Release 1.5

118

OL-28893-01

Page 134
Image 134
Cisco Systems UCSCPCIEBTG, 57712 manual Deleting a Virtual Drive, Clear-foreign-config, # delete-virtual-drive