Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)
Table A-6
Creating volumes (continued)
DescriptionCommand
Creates a striped or RAID-5 volume.
See “Creating a striped volume”
on page 317.
See “Creating a RAID-5 volume”
on page 321.
Example:
# vxassist -b -g mydg make \
mysvol 20g layout=stripe \
stripeunit=32 ncol=4
vxassist -b [-g diskgroup] make \
volume length layout={stripe|raid5} \
[stripeunit=W] [ncol=N] \
[attributes]
Creates a volume with mirrored data
plexes on separate controllers.
See “Mirroring across targets,
controllers or enclosures” on page 319.
Example:
# vxassist -b -g mydg make \
mymcvol 20g layout=mirror \
mirror=ctlr
vxassist -b [-g diskgroup] make \
volume length layout=mirror \
mirror=ctlr [attributes]
Creates a volume from existing plexes.
See “Creating a volume using vxmake”
on page 324.
Example:
# vxmake -g mydg -Uraid5 \
vol r5vol \
plex=raidplex,raidlog1,\
raidlog2
vxmake -b [-g diskgroup] \
-Uusage_type vol volume \
[len=length] plex=plex,...
Initializes and starts a volume for use.
See “Initializing and starting a volume”
on page 326.
See “Starting a volume” on page 350.
Example:
# vxvol -g mydg start r5vol
vxvol [-g diskgroup] start volume
Using Veritas Volume Manager commands
About Veritas Volume Manager commands
528