HP P4000 HP Smart Array SAS controllers for Integrity servers support guide - Page 56

Clearing the logical drive configuration, Adding a spare disk drive

Page 56 highlights

# saconfig /dev/ciss4 -D 0 Deleting logical drive 0 will cause gap saconfig (/dev/ciss4): Current driver state is READY # saconfig /dev/ciss4 -D 1 Deleting logical drive 1 will cause gap between logical drives 0 and 2 saconfig (/dev/ciss4): Current driver state is READY Example 3-4 Deleting multiple logical drives in reverse drive number order # saconfig /dev/ciss4 -D 2 Are you sure you want to delete logical drive 2 on SmartArray RAID controller /dev/ciss4? (y/[n]): y Logical drive 2 deleted # saconfig /dev/ciss4 -D 1 Are you sure you want to delete logical drive 1 on SmartArray RAID controller /dev/ciss4? (y/[n]): y Logical drive 1 deleted # saconfig /dev/ciss4 -D 0 Are you sure you want to delete logical drive 0 on SmartArray RAID controller /dev/ciss4? (y/[n]): y Logical drive 0 deleted Clearing the logical drive configuration WARNING! All data on the logical drives and the physical disks connected to the specified Smart Array Controller is lost when you enter the saconfig /dev/cissX -D all command. To clear all logical drives that are configured from the physical disks attached to a Smart Array Controller, use the saconfig /dev/cissX -D all command. For example: # saconfig /dev/ciss7 -D all Are you sure you want to clear configuration on SmartArray RAID controller /dev/ciss7? (y/[n]): y Logical drive 0 deleted Logical drive 1 deleted Configuration cleared Adding a spare disk drive To add a spare physical disk to an existing logical drive, use the saconfig /dev/cissX -A -s command. For example: # saconfig /dev/ciss5 -A 0 -s 2I:1:16 Spare drive 2I:1:16 added to Logical drive 0 You can add multiple spare physical disks to a logical drive, depending on the number of physical disks in the array that are not in use. Deleting a spare disk drive To delete a spare physical disk from an existing logical drive, use the saconfig /dev/cissX -D -s command. For example: # saconfig /dev/ciss5 -D 0 -s 2I:1:16 Spare drive 2I:1:16 deleted from Logical drive 0 The following example deletes all spare disks of logical drive 0 at once: 56 Configuration

  • 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
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142

#
saconfig /dev/ciss4 -D 0
Deleting logical drive 0 will cause gap
saconfig (/dev/ciss4): Current driver state is READY
#
saconfig /dev/ciss4 -D 1
Deleting logical drive 1 will cause gap between logical drives 0 and 2
saconfig (/dev/ciss4): Current driver state is READY
Example 3-4 Deleting multiple logical drives in reverse drive number order
#
saconfig /dev/ciss4 -D 2
Are you sure you want to delete logical drive 2 on SmartArray RAID controller
/dev/ciss4? (y/[n]):
y
Logical drive 2 deleted
#
saconfig /dev/ciss4 -D 1
Are you sure you want to delete logical drive 1 on SmartArray RAID controller
/dev/ciss4? (y/[n]):
y
Logical drive 1 deleted
#
saconfig /dev/ciss4 -D 0
Are you sure you want to delete logical drive 0 on SmartArray RAID controller
/dev/ciss4? (y/[n]):
y
Logical drive 0 deleted
Clearing the logical drive configuration
WARNING!
All data on the logical drives and the physical disks connected to the specified
Smart Array Controller is lost when you enter the
saconfig /dev/ciss
X
-D all
command.
To clear all logical drives that are configured from the physical disks attached to a Smart Array
Controller, use the
saconfig /dev/ciss
X
-D all
command.
For example:
#
saconfig /dev/ciss7 -D all
Are you sure you want to clear configuration on
SmartArray RAID controller /dev/ciss7? (y/[n]):
y
Logical drive 0 deleted
Logical drive 1 deleted
Configuration cleared
Adding a spare disk drive
To add a spare physical disk to an existing logical drive, use the
saconfig /dev/ciss
X
-A
<Logical drive #>
-s
<physical drive id>
command.
For example:
#
saconfig /dev/ciss5
A 0
s 2I:1:16
Spare drive 2I:1:16 added to Logical drive 0
You can add multiple spare physical disks to a logical drive, depending on the number of physical
disks in the array that are not in use.
Deleting a spare disk drive
To delete a spare physical disk from an existing logical drive, use the
saconfig /dev/ciss
X
-D
<Logical Drive #>
-s
<physical drive id>
command.
For example:
#
saconfig /dev/ciss5
D 0
s 2I:1:16
Spare drive 2I:1:16 deleted from Logical drive 0
The following example deletes all spare disks of logical drive 0 at once:
56
Configuration