HP XP P9500 HP StorageWorks P9000 RAID Manager Reference Guide (T1610-96034, M - Page 153

Examples, raidcom delete ldev, Syntax, Options and parameters, OPEN-V, External volume: 01-02

Page 153 highlights

Examples Creating an LDEV: 100 of size 10GB in a parity group: 33-16. Location in the parity group: automatic allocation, LDEV Emulation type: OPEN-V raidcom add ldev -parity_grp_id 33-16 -ldev_id 100 -capacity 10G Creating LDEV of command devices following these items. Parity group: 33-16, The location of the parity group: automatic allocation, Emulation type: OPEN-V, Size: 10GB (Corrected), LDEV: 110. raidcom add ldev -parity_grp_id 33-16 -ldev_id 100 -offset_capacity 10G -command_device y Creating LDEV following these items. Parity group: 33-16, The location of the parity group: automatic allocation, Emulation type: OPEN-V, Size: 10M cylinder (Cylinder specification), LDEV: 120. raidcom add ldev -parity_grp_id 33-16 -ldev_id 100 -cylinder 10m Creating an LDEV of position in the external volume: allocated automatically, emulation type: OPEN-V, External volume: 01-02, Capacity: 200MB, and LDEV number: 200. raidcom add ldev -external_grp 01-02 -ldev_id 200 -capacity 200m Creating a V-VOL of Capacity: 300MB and LDEV number: 300, to a pool for Thin Provisioning/Smart Tiers. raidcom add ldev -pool 4 -ldev_id 300 -capacity 300m Creating a V-VOL of Capacity: 300MB and LDEV number: 400, to a pool for Snapshot. raidcom add ldev -pool snap -ldev_id 400 -capacity 300m raidcom delete ldev Deletes the specified LDEVs or the V-VOLs. A device group can also be specified instead of an LDEV. This command is executed asynchronously with the command input. Check the completion of this process on the raidcom get command_status command. Syntax raidcom delete ldev {-ldev_id | -grp_opt -device_grp_name []} Options and parameters Option -ldev_id (0-65279) Description Specifies an LDEV number (0-65279). For example: • -ldev_id 200 -grp_opt Specifies the device information extracted from the LDEV belonging to the device group. Specify "ldev" (fixed). The information of LDEV belonging to the device group is used. -device_grp_name Specifies the name of device group (max. 32 characters) to be operated. [] To operate an LDEV in the device group, specify the device name of LDEV (max. 32 characters) within the device group. If the device name is omitted, all the LDEVs belonging in the device group are operated. Examples Deleting an LDEV: 200. raidcom delete ldev -ldev_id 200 Deleting an LDEV belonging to the device group: grp1. raidcom delete ldev 153

  • 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
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205

Examples
Creating an LDEV: 100 of size 10GB in a parity group: 33-16.
Location in the parity group: automatic allocation, LDEV Emulation type: OPEN-V
raidcom add ldev -parity_grp_id 33-16 -ldev_id 100 -capacity 10G
Creating LDEV of command devices following these items. Parity group: 33-16, The location of
the parity group: automatic allocation, Emulation type: OPEN-V, Size: 10GB (Corrected), LDEV:
110.
raidcom add ldev -parity_grp_id 33-16 -ldev_id 100 -offset_capacity 10G -command_device y
Creating LDEV following these items. Parity group: 33-16, The location of the parity group: automatic
allocation, Emulation type: OPEN-V, Size: 10M cylinder (Cylinder specification), LDEV: 120.
raidcom add ldev -parity_grp_id 33-16 -ldev_id 100 -cylinder 10m
Creating an LDEV of position in the external volume: allocated automatically, emulation type:
OPEN-V, External volume: 01-02, Capacity: 200MB, and LDEV number: 200.
raidcom add ldev
external_grp 01-02 -ldev_id 200 -capacity 200m
Creating a V-VOL of Capacity: 300MB and LDEV number: 300, to a pool for Thin
Provisioning/Smart Tiers.
raidcom add ldev -pool 4 -ldev_id 300 -capacity 300m
Creating a V-VOL of Capacity: 300MB and LDEV number: 400, to a pool for Snapshot.
raidcom add ldev -pool snap -ldev_id 400 -capacity 300m
raidcom delete ldev
Deletes the specified LDEVs or the V-VOLs. A device group can also be specified instead of an
LDEV.
This command is executed asynchronously with the command input. Check the completion of this
process on the raidcom get command_status command.
Syntax
raidcom delete ldev {-ldev_id <ldev#> | -grp_opt
<group option> -device_grp_name <device group name> [<device name>]}
Options and parameters
Description
Option
Specifies an LDEV number (0-65279).
For example:
-ldev_id 200
-ldev_id <ldev#>
(0-65279)
Specifies the device information extracted from the LDEV belonging to the device group. Specify
“ldev” (fixed). The information of LDEV belonging to the device group is used.
-grp_opt <group
option>
Specifies the name of device group (max. 32 characters) to be operated.
To operate an LDEV in the device group, specify the device name of LDEV (max. 32 characters)
within the device group.
If the device name is omitted, all the LDEVs belonging in the device group are operated.
-device_grp_name
<device group name>
[<device name>]
Examples
Deleting an LDEV: 200.
raidcom delete ldev -ldev_id 200
Deleting an LDEV belonging to the device group: grp1.
raidcom delete ldev
153