Create a new application or global volume
vol create <name> (mkfs=<fs> | fs=<fs>) [ <prop>=<val> ]* [ -n ] [--prefill] [ --batch ]
Name of the volume to create. The format of <name> is the following: <application>:[<class>.]<volume>, _GLOBAL:<volume>
or _GLOBAL_RO:<volume>.
File system type (for example, ext3)
Volume parameters. The following parameters may be set:
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
Volume comment. This parameter is not supported if the 'link' parameter is specified.
Additional file system options used to format the volume (See notes below for specifics)
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>.
Skip verification that volume reference is in the class descriptor if adding an application singleton class volume.
Allocate ALL blocks of volume.
Display output in UDL format.
Notes:
The value specified for the fs_options parameter is a space separated list, is file system specific, and is valid only with the mkfs parameter. The following are the options available for each supported filesystem:
<any option> - any option understood by mkfs.<filesystem>. The options will be passed directly to the mkfs tool for the chosen filesystem.
vol_group_name - string specifying the name of the LVM volume group to create on the volume. If not specified, a volume group name is randomly generated.
data_percentage - percentage of the volume that is used to store data, remaining portion of the volume is for snapshots. If not specified, 80% of the volume is used for data.
<any option> - any option understood by mkfs.ext3. The options will be passed directly to the mkfs tool and will be used for the data volume.
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.
|
Copyright © 2013 CA.
All rights reserved.
|
|