HP MSA 2040 CLI Reference Guide
set disk-parameters 151
set disk-parameters
set drive-parameters (Deprecated)
Use set disk-parameters.
Description Sets parameters that affect disk operation. Two features controlled by these parameters are disk
Self-Monitoring Analysis and Reporting Technology (SMART) and drive spin down.
• Disks equipped with SMART technology can alert the controller of impending disk failure. When
SMART is enabled, the system checks for SMART events one minute after a restart and every five
minutes thereafter. SMART events are recorded in the event log. Changes to the SMART setting
take effect after a rescan or a controller restart.
• The drive spin down feature monitors disk activity within system enclosures and spins down
inactive disks, based on user-specified settings. This command sets spin-down parameters for
available disks and global spares. To set spin-down parameters for a vdisk, use set vdisk.
NOTE: Drive spin down affects disk operations as follows:
• Spun-down disks are not polled for SMART events.
• Operations requiring access to disks may be delayed while the disks are spinning back up.
Syntax
set disk-parameters
[smart enabled|disabled|on|off|detect-only]
[spin-down enabled|disabled|on|off]
[spin-down-delay
delay
]
Parameters smart enabled|disabled|on|off|detect-only
Optional. Sets whether SMART is enabled or disabled for disks:
• disabled or off: Disables SMART for all disks in the system and for all disks added to the
system.
• enabled or on: Enables SMART for all disks in the system and for all disks added to the system.
This is the default.
• detect-only: Detects but does not change the SMART setting of each disk in the system, and
for each new disk added to the system.
spin-down enabled|disabled|on|off
Optional. Sets whether available disks and global spares will spin down after a period of inactivity
shown by the spin-down-delay parameter.
• disabled or off: Drive spin down for available disks and global spares is disabled. This is the
default.
• enabled or on: Drive spin down for available disks and global spares is enabled. If the
spin-down-delay parameter either is not specified or is specified with the value 0, the
spin-down delay will be set to 15 minutes.
spin-down-delay
delay
Optional. Sets the period of inactivity after which available disks and global spares will spin down.
Setting the delay to 1–360 minutes will enable spin down; specifying the value 0 will set the delay to
15 m i nu t e s. T he de f au lt is 15 m in ut e s.
Example Enable SMART and drive spin down, and set the spin-down delay to 10 minutes:
# set disk-parameters smart on spin-down on spin-down-delay 10
Success: Command completed successfully. (2012-01-21 11:59:37)
See also • show disk-parameters