Reference Guide
Table Of Contents
- Dell EMC PowerEdge RAID Controller Command Line Interface Reference Guide
- Contents
- Overview
- Accessing the command prompt
- Working with the PERC Command Line Interface Tool
- System commands
- Controller commands
- Drive commands
- Virtual drives commands
- Add virtual drives commands
- Delete virtual drives commands
- Delete non-RAID disks
- Virtual drive show commands
- Preserved cache commands
- Change virtual drive properties commands
- Virtual drive initialization commands
- Virtual drive erase commands
- Virtual drive migration commands
- Virtual drive consistency check commands
- Background initialization commands
- Foreign configurations commands
- BIOS-related commands
- Drive group commands
- BBU commands
- Enclosure commands
- PHY commands
- Logging commands
- PERC CLI command examples
- Getting a complete list of CLI commands
- Checking controller availability
- Viewing controllers
- Viewing free space information
- Viewing disk1 information
- Viewing controller, virtual disk, and drivers information
- Checking for preserved cache
- Deleting preserved cache
- Viewing expansion information
- Viewing expansion size
- Viewing the foreign configuration
- Importing the foreign configuration
- Viewing BBU information
- Viewing physical drive details for the specified slot in the controller
- Viewing the boot drive for the controller
- Setting virtual drive as boot drive
- Locating a drive
- Stopping a locate operation
- Snapdump commands
- Getting help
- Documentation resources
Input example:
perccli /c1/p0 show all
Logging commands
The PERC Command Line Tool supports the following commands to generate and maintain log files:
perccli /cx delete events
perccli /cx show events [[type= <sincereboot| sinceshutdown| includedeleted| latest=x|
ccincon vd=<0,1,...>] filter=<[info],[warning],[critical],[fatal]> file=<filepath>
[logfile[=filename]]
perccli /cx show eventloginfo
The detailed description for each command follows.
perccli /cx delete events
This command deletes all records in the event log.
Input example:
perccli /c0 delete events
perccli /cx show events [[type= <sincereboot| sinceshutdown|
includedeleted| latest=x| ccincon vd=<0,1,...>] filter=<[info],[warning],
[critical],[fatal]> file=<filepath> [logfile[=filename]]
This command prints the system log to a text file and saves the file in the specified location.
Input example:
perccli /c0 show events file=C:\Users\Administrator\Documents\eventreport
Option
Value Range Description
Type
latest=x
Dumps the latest x number of events, if any exist. The event data
will be written to the file in reverse order which includes deleted
events.
ccincon Dumps if any CC (ConsistencyCheck) errors logged on a VD.
sincereboot Dumps all the events since last adapter reboot.
sinceshutdown Dumps all the events since last controller shutdown.
includedeleted Dumps all events, including deleted events.
Filter
info Informational message. No user action is necessary.
warning Some component may be close to a failure point.
critical A component has failed, but the system has not lost data.
fatal A component has failed, and data loss has occurred or will occur.
File - A file that collects all events.
Logfile - If the file name is not specified, it logs to storSAS.log to provide.
perccli /cx show eventloginfo
This command shows the history of log files generated.
Working with the PERC Command Line Interface Tool
49