beautypg.com

Volume:delete – Dell Acceleration Appliances for Databases User Manual

Page 121

background image

Options

--repair

Repair, after servicing.

--minor

<integer>

Supply a code for the minor version, to be used with the

–-repair

option.

--if-not-exists

or

-ne

If an object with the given identifier already exists, skip creation.

--local

or

-l

Create a volume on this node only, if in a cluster.

–-node

or

-n

Issue this command to one or more nodes in the cluster.

--cluster

Issue this command to all nodes in the cluster.

(See

help –-all

for details on all other options.)

Arguments

id

Identifier for the new volume

capacity_gb

Size of the volume to be created, in GB or percentage of available space

pool

Pool to create the volume in

Examples

This creates a volume on the

mynode

host, called

newvolume

. It has a capacity of 8GB, using the

xperfpool

storage pool:

> volume:create --url mynode newvolume 8 xperfpool

This creates a series of 10 volumes, each with 50GB, belonging to the MYPOOL storage pool:

> each (seq 10) { volume:create vol${1} 50 MYPOOL }

volume:delete

Deletes a volume by ID or UUID. In HA mode, this command also deletes associated volumes on
other cluster nodes.

This will destroy any user data currently on the volume, as well as initiator access to it. Before
deleting a volume, make sure there is no initiator traffic on the volume.

Syntax

volume:delete [options] volume(s)

121