3Ware 9650SE-2LPB-10 CLI Guide - Page 72

/cx/ux del [noscan] [quiet], /cx/ux start rebuild disk=p<p:-p...> [ignoreECC

Page 72 highlights

Chapter 2. CLI Syntax Reference /cx/ux del [noscan] [quiet] This command allows you to delete a unit. Deleting a unit not only removes the specified unit from the controller's list of managed units, but also destroys the DCB (Disk Configuration Block) metadata. After deleting a unit, ports (or disks) associated with the unit will be part of the free pool of managed disks. Warning: This is a destructive command and should be used with care. All data on the specified unit will be lost after executing this command. noscan is used to not inform the operating system of this change. The default is to inform the operating system. quiet is used for non-interactive mode. No confirmation is given and the command is executed immediately. This is useful for scripting purposes. Example of interactive mode: //localhost> /c0/u0 del Deleting /c0/u0 will cause the data on the unit to be permanently lost. Do you want to continue ? Y|N [N]: /cx/ux start rebuild disk=p [ignoreECC] This command allows you to rebuild a degraded unit using the specified disk=p. Rebuild only applies to redundant arrays such as RAID 1, RAID 5, RAID 6, RAID 10, and RAID 50. During rebuild, bad sectors on the source disk will cause the rebuild to fail. RAID 6 arrays are less susceptible to failing since two copies of the data exist. You can allow the operation to continue by using ignoreECC. The rebuild process is a background task and will change the state of a unit to REBUILDING. Various show commands also show the percent completion as rebuilding progresses. Note that the disk used to rebuild a unit (specified with disk=p) must be a SPARE or a unconfigured disk. You must first remove the degraded drive(s) before starting the rebuild. Refer to the command "/cx/px remove [noscan] [quiet]" on page 81 for details. Also refer to the command "/cx rescan [noscan]" on page 43 to add new drives or to retry the original drive. If you are rebuilding a RAID 50, RAID 6, or RAID 10 unit, multiple drives can be specified if more than one sub-array is degraded. When you issue this command, the specified rebuild will begin if schedules are disabled; otherwise it will pause until the next scheduled rebuild. A file system check is recommended following rebuild when using the ignoreECC option. 66 3ware Serial ATA RAID Controller CLI Guide

  • 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
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103

Chapter 2. CLI Syntax Reference
66
3ware Serial ATA RAID Controller CLI Guide
/c
x
/u
x
del
[noscan] [quiet]
This command allows you to delete a unit. Deleting a unit not only removes
the specified unit from the controller's list of managed units, but also destroys
the DCB (Disk Configuration Block) metadata. After deleting a unit, ports (or
disks) associated with the unit will be part of the free pool of managed disks.
noscan
is used to not inform the operating system of this change. The default
is to inform the operating system.
quiet
is used for non-interactive mode. No confirmation is given and the
command is executed immediately. This is useful for scripting purposes.
Example of interactive mode:
//localhost> /c0/u0 del
Deleting /c0/u0 will cause the data on the unit to be
permanently lost.
Do you want to continue ? Y|N [N]:
/c
x
/u
x
start rebuild disk=
p<p:-p...>
[ignoreECC]
This command allows you to rebuild a degraded unit using the specified
disk=p
. Rebuild only applies to redundant arrays such as RAID 1, RAID 5,
RAID 6, RAID 10, and RAID 50.
During rebuild, bad sectors on the source disk will cause the rebuild to fail.
RAID 6 arrays are less susceptible to failing since two copies of the data exist.
You can allow the operation to continue by using
ignoreECC
.
The rebuild process is a background task and will change the state of a unit to
REBUILDING. Various show commands also show the percent completion as
rebuilding progresses.
Note that the disk used to rebuild a unit (specified with
disk=p
) must be a
SPARE or a unconfigured disk. You must first remove the degraded drive(s)
before starting the rebuild. Refer to the command “/cx/px remove [noscan]
[quiet]” on page 81 for details. Also refer to the command “/cx rescan
[noscan]” on page 43 to add new drives or to retry the original drive.
If you are rebuilding a RAID 50, RAID 6, or RAID 10 unit, multiple drives
can be specified if more than one sub-array is degraded.
When you issue this command, the specified rebuild will begin if schedules
are disabled; otherwise it will pause until the next scheduled rebuild. A file
system check is recommended following rebuild when using the ignoreECC
option.
Warning:
This is a destructive command and should be used with care. All data on
the specified unit will be lost after executing this command.