
Command-Line Invocation and Application Notes
These commands are supported on SCSI, SAS, and Fibre Channel Disks. They let you query whether the selected disk is currently spun up, spun down, or in a transitional state.
Spin Up
The -spinup command sends the SCSI START UNIT command to the selected disk, which causes it to spin up. If the drive is already spun up, then the command will be ignored. This version of the spin-up command waits for the disk to complete the spin-up process before returning the results.
# ./smartmon-ux -spinup /dev/rdsk/c4t16d0s0
SMARTMon-UX [Release 1.36, Build 8-JUN-2008] - Copyright 2001-2008 SANtools(R), Inc. http://www.SANtools.com
Discovered SEAGATE ST3146855SS S/N "3LN27XJ9" on /dev/rdsk/c4t16d0s0 (Not Enabling SMART)(140014 MB)
The disk is now spun up
Program Ended.
(The reported results for this and subsequent commands, with exception of the spin inquiry, will be the same regardless of whether the disk is currently up, down, or in a transitional state)
Spin Up Immediate
The -spinupi command sends the SCSI START UNIT IMMEDIATE command to the selected disk. Results are similar to START UNIT, but the command is sent to the disk, and does not wait for the drive to spin up before it returns.
# ./smartmon-ux -spinup /dev/rdsk/c4t16d0s0
SMARTMon-UX [Release 1.36, Build 8-JUN-2008] - Copyright 2001-2008 SANtools(R), Inc. http://www.SANtools.com
Discovered SEAGATE ST3146855SS S/N "3LN27XJ9" on /dev/rdsk/c4t16d0s0 (Not Enabling SMART)(140014 MB)
Successfully instructed the disk to spin up
Program Ended.
Spin Down
The -spindown command sends the SCSI STOP UNIT command to the selected disk, which causes it to spin down. If the drive is already spun down, then the command will be ignored. This version of the spin-down command waits for the disk to complete the spin-down process before returning the results.
# ./smartmon-ux -spindown /dev/rdsk/c4t16d0s0
SMARTMon-UX [Release 1.36, Build 8-JUN-2008] - Copyright 2001-2008 SANtools(R), Inc. http://www.SANtools.com
Discovered SEAGATE ST3146855SS S/N "3LN27XJ9" on /dev/rdsk/c4t16d0s0 (Not Enabling SMART)(140014 MB)
The disk is now spun down
Program Ended.
(The reported results for this and subsequent commands, with exception of the spin inquiry, will be the same regardless of whether the disk is currently up, down, or in a transitional state)
Spin Down Immediate
The -spindowni command sends the SCSI STOP UNIT IMMEDIATE command to the selected disk. Results are similar to STOP UNIT, but the command is sent to the disk, and does not wait for the drive to spin down before it returns.
# ./smartmon-ux -spindowni /dev/rdsk/c4t16d0s0
SMARTMon-UX [Release 1.36, Build 8-JUN-2008] - Copyright 2001-2008 SANtools(R), Inc. http://www.SANtools.com
Discovered SEAGATE ST3146855SS S/N "3LN27XJ9" on /dev/rdsk/c4t16d0s0 (Not Enabling SMART)(140014 MB)
Successfully instructed the disk to spin down
Program Ended.
Spin Inquiry
The -spinq command queries the disk to see if it is up, down, or transitioning.
# ./smartmon-ux -spinq /dev/rdsk/c4t16d0s0
SMARTMon-UX [Release 1.36, Build 8-JUN-2008] - Copyright 2001-2008 SANtools(R), Inc. http://www.SANtools.com
Discovered SEAGATE ST3146855SS S/N "3LN27XJ9" on /dev/rdsk/c4t16d0s0 (Not Enabling SMART)(140014 MB)
The disk is spun up
Program Ended.
Page url: http://www.santools.com/santool/index.html?spincontrol_widget.htm