15 drive-related options, 1 display drive information, 2 set the drive state to online – Avago Technologies MegaRAID Fast Path Software User Manual
Page 254: 3 set the drive state to offline

Page 254
LSI Corporation Confidential
|
July 2011
MegaRAID SAS Software User Guide
Chapter 5: MegaRAID Command Tool
|
Drive-Related Options
5.15
Drive-Related Options
You can use the commands in this section to select settings for the drives and perform
actions on them.
5.15.1
Display Drive Information
Use the command in the following table to display information about the drives on the
selected controllers.
5.15.2
Set the Drive State to Online
Use the command in the following table to set the state of a drive to Online.
In an Online state, the drive is working normally and is a part of a configured virtual
drive.
5.15.3
Set the Drive State to Offline
Use the command in the following table to set the state of a drive to Offline.
In the offline state, the virtual drive is not available to the RAID controller.
Table 97: Display Drive Information
Convention
MegaCli –PDInfo -PhysDrv[E0:S0,E1:S1....]
-aN|-a0,1,2|-aALL|
Description
Provides information about the drives connected to the enclosure and
controller slot. This includes information such as the enclosure number, slot
number, device ID, sequence number, drive type, capacity (if a drive), foreign
state, firmware state, inquiry data, device world-wide name, device firmware
level, device write-cache setting, device negotiated transfer speed (link
speed) for each active or passive port, device’s disk group membership, if the
device has flagged a S.M.A.R.T. alert, the status of each physical port on the
physical device (if it is active, passive or disabled) and firmware version of the
device.
For SAS devices, this includes additional information, such as the SAS
address of the drive. For SAS expanders, this command includes additional
information, such as the number of devices connected to the expander.
-Physdrv[E0:S0,...]
: Specifies the physical drive enclosure and the
slots for the drives about which to provide information.
Table 98: Set Drive State to Online
Convention
MegaCli –PDOnline -PhysDrv[E0:S0,E1:S1....]
-aN|-a0,1,2|-aALL
Description
Changes the drive state to Online.
-Physdrv[E0:S0,...]
: Specifies the physical drive enclosure and the
slots for the drives.
Table 99: Set Drive State to Offline
Convention
MegaCli –PDOffline -PhysDrv[E0:S0,E1:S1....]
-aN|-a0,1,2|-aALL
Description
Changes the drive state to Offline.
-Physdrv[E0:S0,...]
: Specifies the physical drive enclosure and the
slots for the drives.
- 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