Previous Topic: set (Volume Management)--Set Volume InformationNext Topic: volume create Command Output Specification


create (Volume Management)--Create a New Volume for an Application

Create a new application or global volume

Syntax
vol create <name> (mkfs=<fs> | fs=<fs>) [ <prop>=<val> ]* [ -n ] [--prefill] [ --batch ] 
Options
<name>

Name of the volume to create. The format of <name> is the following: <application>:[<class>.]<volume>, _GLOBAL:<volume>

or _GLOBAL_RO:<volume>.

<fs>

File system type (for example, ext3)

<prop>=<val>

Volume parameters. The following parameters may be set:

size

Volume size, units may be specified (for example, 128M[B], 2G[B]). If units are not specified, it is assumed that the value is in MB. Default is 1G

comment

Volume comment. This parameter is not supported if the 'link' parameter is specified.

fs_options

Additional file system options used to format the volume (See notes below for specifics)

link

Name of application user or global volume to which the volume is to be linked. The format of the link is the following:

<application>:<volume>

or _GLOBAL:<volume>.

-n

Skip verification that volume reference is in the class descriptor if adding an application singleton class volume.

--prefill

Allocate ALL blocks of volume.

--batch

Display output in UDL format.

Notes:

Examples
vol create my-app:data fs=ext3

create 1G application user volume

vol create my-app:data fs=ext3 fs_options="-j -J size=180 -m 0"

create 1G application user volume specifying journal size and reserved blocks.

vol create my-app:DBASE.boot fs=ext3 size=256M -n

create 256M application singleton class boot volume and don't check that volume reference exists in the class descriptor of DBASE.

vol create my-app:data fs=ext3-snapshot size=1G fs_options="vol_group_name=VGVOL data_percentage=75"

create 1G application user volume of type ext3-snapshot.

This section contains the following topics:

volume create Command Output Specification