Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009
Table A-6
Creating volumes (continued)
DescriptionCommand
Creates a striped or RAID-5 volume.
See “Creating a striped volume”
on page 294.
See “Creating a RAID-5 volume”
on page 297.
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 296.
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 300.
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 303.
See “Starting a volume” on page 314.
Example:
# vxvol -g mydg start r5vol
vxvol [-g diskgroup] start volume
Using Veritas Volume Manager commands
About Veritas Volume Manager commands
562