D-Link DSN-540 CLI User's Guide for DSN-1100-10 - Page 64

Disk Commands

Page 64 highlights

5.6 Disk Commands Disk commands and properties let you perform disk-related activities, such as viewing a drive's capacity or free space, link speed, or a number of an enclosure containing a drive. Table 5-10 provides an alphabetical list of the commands in the Disk context and Table 5-11 provides an alphabetical list of the properties in the Disk context (although some properties may be unique to SAS or SATA drive types). Both tables include a description of the command or property, the global action commands that can be used with the command or property, and the return parameter (if any). In Table 5-10, for example, DownDrive is used with the global action command Do. Table 5-10. Disk Commands Command Description DownDrive Downs the drive InitDrive Initializes the drive Associated Global Action Commands Do Do Return Parameter No Return Value No Return Value Table 5-11. Disk Properties Property ActualLinkSpeed ATAVersion DriveNumber DriveType EnclosureNumber Extents FreeSpaceSize PhysicalCapacity Pool Pool SASChannelNumber SATAQueueDepth SATAQueueingSupport SerialNumber SlotNumber State Supports48BitAddress SupportedLinkSpeeds Tasks Vendor VendorModel Description Associated Global Action Commands Returns the actual link speed Show Returns the ATA version Show Returns the drive number Show Returns the type of drive Show Returns the enclosure the disk is in Show Lets you access all the extents on the disk Show/Show[ID]/Push[ID]/Select[ID] Returns the amount of free space Show Returns the total drive capacity Show Lets you access the pool to which the disk belongs Show/Push/Select Sets the pool to which the disk belongs Set Returns the channel number of the SAS drive Show Returns the SATA queue depth Show Returns the SATA queuing support setting Show Returns the serial number Show Returns the slot number in which the disk is installed Show Returns the drive state Show Returns TRUE if the drive supports 48-bit Show addressing or FALSE if the drive does not support it Returns supported link speeds Show Returns an array of all the tasks for this disk Show/Show[ID]/Push[ID]/Select[ID] Returns the drive manufacturer Show Returns the vendor model Show Return Parameter Value Value Value Value Value ContextList Value Value Context Context Value Value Value Value Value Value Value Value ContextList Value Value 54 Chapter 5 Supported CLI Commands and Properties

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97

54
Chapter 5
Supported CLI Commands and Properties
5.6
Disk Commands
Disk
commands and properties let you perform disk-related activities, such as viewing a
drive’s capacity or free space, link speed, or a number of an enclosure containing a drive.
Table 5-10 provides an alphabetical list of the commands in the
Disk
context and Table
5-11 provides an alphabetical list of the properties in the
Disk
context (although some
properties may be unique to SAS or SATA drive types). Both tables include a description of
the command or property, the global action commands that can be used with the command
or property, and the return parameter (if any). In Table 5-10, for example,
DownDrive
is
used with the global action command
Do
.
Table 5-10. Disk Commands
Command
Description
Associated Global Action Commands
Return Parameter
DownDrive
Downs the drive
Do
No Return Value
InitDrive
Initializes the drive
Do
No Return Value
Table 5-11. Disk Properties
Property
Description
Associated Global
Action Commands
Return
Parameter
ActualLinkSpeed
Returns the actual link speed
Show
Value
ATAVersion
Returns the ATA version
Show
Value
DriveNumber
Returns the drive number
Show
Value
DriveType
Returns the type of drive
Show
Value
EnclosureNumber
Returns the enclosure the disk is in
Show
Value
Extents
Lets you access all the extents on the disk
Show/Show[ID]/Push[ID]/Select[ID]
ContextList
FreeSpaceSize
Returns the amount of free space
Show
Value
PhysicalCapacity
Returns the total drive capacity
Show
Value
Pool
Lets you access the pool to which the disk belongs
Show/Push/Select
Context
Pool
Sets the pool to which the disk belongs
Set
Context
SASChannelNumber
Returns the channel number of the SAS drive
Show
Value
SATAQueueDepth
Returns the SATA queue depth
Show
Value
SATAQueueingSupport
Returns the SATA queuing support setting
Show
Value
SerialNumber
Returns the serial number
Show
Value
SlotNumber
Returns the slot number in which the disk is
installed
Show
Value
State
Returns the drive state
Show
Value
Supports48BitAddress
Returns TRUE if the drive supports 48-bit
addressing or FALSE if the drive does not support it
Show
Value
SupportedLinkSpeeds
Returns supported link speeds
Show
Value
Tasks
Returns an array of all the tasks for this disk
Show/Show[ID]/Push[ID]/Select[ID]
ContextList
Vendor
Returns the drive manufacturer
Show
Value
VendorModel
Returns the vendor model
Show
Value