Previous  |  Next  >  
Product: Storage Foundation Guides   
Manual: Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide   

Appendix: Command Summary

This appendix summarizes the usage and purpose of important commands for the VERITAS Intelligent Storage Provisioning (ISP) feature of VERITAS Volume Manager (VxVM).

References are included to longer descriptions in the remainder of this book. For detailed information about an individual command, refer to the appropriate manual page in the 1M section. Further examples can be found in Examples of Using ISP.

Creating and Administering Storage Pools

Command Description

vxpool [-g diskgroup] create \
storage_pool [dm=dm1[,dm2...] \ [description="description"] \
\[autogrow=1|2] \
[selfsufficient=1|2|3] \
[rules=
rule[,rule ...]

Creates a storage pool. See Creating a Storage Pool.

vxpool [-g diskgroup] adddisk \
storage_pool dm=dm1[,dm2,...]

Adds one or more disks to a storage pool. See Adding Disks to a Storage Pool.

vxpool [-g diskgroup] rmdisk \
storage_pool dm=dm1[,dm2,...]

Removes one or more disks from a storage pool. See Removing Disks from a Storage Pool.

vxpool [-g diskgroup] assoctemplate\
storage_pool template=t1[,t2,...]

Associates one or more templates with a storage pool. See Associating Templates with a Storage Pool.

vxpool [-g diskgroup] \
assoctemplateset\
storage_pool \
template_set=
ts1[,ts2,...]

Associates one or more template sets with a storage pool. See Associating Template Sets with a Storage Pool.

vxpool [-g diskgroup] distemplate\
storage_pool template=t1[,t2,...]

Dissociates one or more templates from a storage pool. See Dissociating Templates from a Storage Pool.

vxpool [-g diskgroup] print \
storage_pool [storage_pool ...]

Displays information about storage pools. See Displaying Information About Storage Pools.

vxpool [-g diskgroup] getpolicy \
storage_pool

Displays policies for a storage pool. See Displaying Storage Pool Policies.

vxpool [-g diskgroup] setpolicy storage_pool \
[autogrow={1|pool}|{2|diskgroup}] [selfsufficient={1|pool}|\
{2|diskgroup}|{3|host}]

Sets policies on a storage pool. See Changing the Policies on a Storage Pool.

vxpool [-g diskgroup] list

Lists storage pools in a disk group. See Listing Storage Pools Within a Disk Group.

vxpool [-g diskgroup] rename \
storage_pool new_name

Renames a storage pool. See Renaming a Storage Pool.

vxpool [-g diskgroup] [-r] delete \
storage_pool

Deletes a storage pool. See Deleting a Storage Pool.

Creating and Administering Application Volumes

Command Description

vxvoladm [-g diskgroup] [-b] \
maxsize [
storage_specification] \
[
attribute=value ...]

Determines the maximum volume size. See Determining the Maximum Volume Size.

vxvoladm [-g diskgroup] [-b] make \
volume length [storage_specification] \
[
attribute=value ...]

Creates a volume. See Creating Volumes.

vxvoladm [-g diskgroup] [-b] make \
volume length \
capability='DataMirroring' \
init=active

Creates a volume with 2 mirrors and makes it immediately available for use. See Creating a Mirrored Volume.

vxvoladm [-g diskgroup] make \
volume length \
capability='Striping(ncols=
N)'

Creates a striped volume with N columns. See Creating a Striped Volume.

vxvoladm [-g diskgroup] make \
volume length \
capability='PrefabricatedRaid5' \
rules='confineto \
"VendorName"="Name"'

Creates a RAID-5 volume on a device that is exported by an array made by a specified vendor. See Creating a RAID-5 Volume on Prefabricated Storage.

vxvoladm -M make < filename

Creates multiple volumes from a specification file. See Creating Multiple Volumes as a Volume Group.

vxvoladm [-g diskgroup] maxgrow \
volume [storage_specification] \
[
attribute=value ...]

Determines the maximum growable size of a volume. See Determining the Maximum Size of a Volume.

vxvoladm [-g diskgroup] \
{growby | growto}\
volume length [storage_specification] \
[
attribute=value ...]

Grows a volume. See Increasing the Size of a Volume to a Specified Length and Increasing the Size of a Volume by a Specified Amount.

vxvoladm [-g diskgroup] \
{shrinkby | shrinkto}\
volume length [storage_specification] \
[
attribute=value ...]

Shrinks a volume. See Reducing the Size of a Volume to a Specified Length and Reducing the Size of a Volume by a Specified Amount.

vxvoladm [-g diskgroup] evacuate \
disk volume length !dm:dmname ...

Evacuates a volume from one or more specified disks. See Evacuating a Volume.

vxvoladm [-g diskgroup] remove \
volume
volume

Deletes a volume. See Removing a Volume.

vxvoladm [-g diskgroup] verify \
volume

Verifies the intent of a volume. See Verifying the Intent of a Volume.

 ^ Return to Top Previous  |  Next  >  
Product: Storage Foundation Guides  
Manual: Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide  
VERITAS Software Corporation
www.veritas.com