Use the vxassist make command to create a volume.
vxassist [-b] [-o notrackalign] -g<DynamicDiskGroupName> make [<VolumeName>] <length>[type={mirror|raid5|stripe}[,log]] [<alloc_attributes...>] [Column=N] [StripeUnit=<width>] [Site=<sitename1>[,<sitename2>,...]] [DriveLetter={A|B|..|Z}|DrivePath=<DrivePath>] [<[!]diskname | p#c#t#l#> ...]
The following attributes apply:
Note: |
The default volume type is a concatenated volume. The created volume is not formatted (no file system is created on the volume). You need to use the operating system format command to format the volume. |
Note: |
Dynamic disks belonging to a Microsoft Disk Management Disk Group do not support track alignment. |
Examples
vxassist -gDG2 make 100 DriveLetter=E Harddisk1
The above command line sequence creates a simple 100-MB volume in dynamic disk group DG2. The volume's drive letter is E. The volume would be created on Harddisk1.
vxassist -gDG2 make 100 type=mirror,log DriveLetter=F
The above command line sequence makes a mirrored 100-MB volume with a DRL log. The volume is assigned the drive letter F.
vxassist -gDG2 make 120 type=raid5 DriveLetter=X Column=3 Harddisk2 Harddisk3 Harddisk5
The above command line sequence creates a 120-MB RAID-5 volume with the drive letter X. The volume is striped across Harddisk2, Harddisk3, and Harddisk5. All RAID-5 volumes require at least three columns. If you do not indicate a column number for a RAID-5 volume, the command fails.
vxassist -b -gDG2 make 100 type=stripe DriveLetter=X Column=3
The above command line sequence makes a striped volume that is assigned drive letter X. The -b option allows the command to run in the background.
vxassist -gDG2 make DbVolume 100
The resulting path name for the volume is:
\Device\HarddiskDmVolumes\DG2\DbVolume.
vxassist -gDG2 make Vol1 100m mirror=2, port
The above command line sequence makes a two mirrored 100-MB volumes that are connected to the same port.
vxassist -gDG2 make Vol1 100m mirror=2, port port:p2 port:p3
The above command line sequence makes two mirrored 100-MB volumes that are connected to port:p2 and port:p3.
To create a volume for a site that uses the site-aware allocation feature, refer to: