chvolumegroup

Use the chvolumegroup command to change volume group properties.

Syntax

Read syntax diagramSkip visual syntax diagram chvolumegroup -namevolumegroup_name-ownershipgroupowner_id | owner_name-noownershipgroupvolumegroup_namevolumegroup_id

Parameters

-name volumegroup_name
(Optional) Specifies a new volume group name. The value must be an alphanumeric string.
-ownershipgroup owner_id | owner_name
(Optional) The name or ID of the ownership group to which the object is being added.
-noownershipgroup
(Optional) If specified, the object is removed from the ownership group to which it belongs.
volumegroup_name | volumegroup_id
(Required) Specifies the volume group name or group ID for the volume you want to modify. The value must be a number for the volume group ID, and an alphanumeric string for the volume group name.

Description

This command changes volume group properties.

An invocation example

chvolumegroup -name newname1 1

The resulting output:

No feedback

An invocation example changing the ownership of a volume group

chvolumegroup -ownershipgroup 2 myvolumegroup

The following output is displayed:

No feedback

An invocation example moving the volume group to no ownership

chvolumegroup -noownershipgroup myvolumegroup

The following output is displayed:

No feedback