6 restore the configuration data from file, 7 manage foreign configuration information, 8 delete specified virtual drives – Avago Technologies MegaRAID Fast Path Software User Manual
Page 247
![background image](https://www.manualsdir.com/files/864360/content/doc247.png)
LSI Corporation Confidential
|
July 2011
Page 247
MegaRAID SAS Software User Guide
Chapter 5: MegaRAID Command Tool
|
Configuration-Related Options
5.13.6
Restore the Configuration Data
from File
Use the command in the following table to read the configuration from the file and
load it on the selected controllers. You can restore the read/write properties and RAID
configuration using hot spares.
5.13.7
Manage Foreign Configuration
Information
Use the command in the following table to manage configurations from other
controllers, called foreign configurations, for the selected controllers. You can scan,
preview, import, and clear foreign configurations.
NOTE: The actual status of virtual drives and drives can differ from the information displayed in
the –Scan option. LSI suggests that you run the –Preview option before you import a foreign
configuration.
5.13.8
Delete Specified Virtual Drives
Use the command in the following table to delete one, multiple, or all virtual drives on
the selected controllers.
Table 78: Restore Configuration Data from File
Convention
MegaCli –CfgRestore –f FileName -aN
Description
Reads the configuration from the file, and loads it on the controller. MegaCLi
can store or restore all read and write controller properties, all read and write
properties for virtual drives, and the RAID configuration, including hot
spares. Note the following:
• MegaCLi does not validate the setup when restoring the RAID
configuration.
• The -CfgSave option stores the configuration data and controller
properties in the file. Configuration data has only the device ID and
sequence number information of the drives used in the configuration. The
CfgRestore
option fails if the same device IDs of the drives are not
present.
Table 79: Manage Foreign Configuration Information
Convention
MegaCli -CfgForeign -Scan | [-SecurityKey sssssssssss] | -Dsply [x] | [-SecurityKey sssssssssss] | -Preview [x] | [-SecurityKey
sssssssssss] | -Import [x] | [-SecurityKey sssssssssss] | -Clear [x] | [-SecurityKey sssssssssss] -aN|-a0,1,2|-aALL
Description
Manages foreign configurations. The options for this command follow:
-Scan
: Scans and displays available foreign configurations.
-SecurityKey
: This key is based on a user-provided string. The controller uses the security key to lock and unlock access to
the secure user data. This key is encrypted into the security key blob and stored on the controller. If the security key is
unavailable, user data is irretrievably lost. You must be careful to never lose the security key.
-Preview
: Provides a preview of the imported foreign configuration. The foreign configuration ID (FID) is optional.
-Dsply
: Displays the foreign configuration.
-Import
: Imports the foreign configuration. The FID is optional.
-Clear [FID]
: Clears the foreign configuration. The FID is optional.
Table 80: Delete Specified Virtual Drives
Convention
MegaCli –CfgLDDel –Lx|-L0,1,2|-Lall
-aN|-a0,1,2|-aALL
Description
Deletes the specified virtual drives on the selected controllers. You can
delete one virtual drive, multiple virtual drives, or all of the selected virtual
drives on selected controllers.
- MegaRAID SAS 9240-4i MegaRAID SAS 9240-8i MegaRAID SAS 9260-16i MegaRAID SAS 9260-4i MegaRAID SAS 9260-8i MegaRAID SAS 9261-8i MegaRAID SAS 9280-16i4e MegaRAID SAS 9280-4i4e MegaRAID SAS 9280-8e MegaRAID SafeStore Software MegaRAID SAS 9361-4i MegaRAID SAS 9361-8i MegaRAID SAS 9266-4i MegaRAID SAS 9266-8i MegaRAID SAS 9270-8i MegaRAID SAS 9271-4i MegaRAID SAS 9271-8i MegaRAID SAS 9271-8iCC MegaRAID SAS 9286-8e MegaRAID SAS 9286CV-8e MegaRAID SAS 9286CV-8eCC MegaRAID CacheCade Pro 2.0 Software MegaRAID SAS 9341-4i MegaRAID SAS 9341-8i MegaRAID SAS 9380-8e MegaRAID SAS 9380-4i4e