Veritas Storage Foundation Intelligent Storage Provisioning 5.0 Solutions Guide, HP-UX 11i v3, First Edition, May 2008
14 Volume creation solutions
Using storage attribute tags with volumes
be combined with a multipathing capability to provide resilience against the
failure of one of the paths to an enclosure:
# vxassist -g mydg -P mypool make strpvol 2g \
capability=’DataMirroring,MirrorsOnSeparateComponents,\
MultipathingThroughMultiplePaths’
If no storage can be allocated that fulfills the requested capability, the command
fails.
Using hardware mirroring with volumes
ISP allows you to create a striped volume from LUNs that are mirrored in the
array hardware. The inbuilt rules also ensure that this redundancy is retained
when the volume is grown or shrunk. The following example demonstrates how
to create a 10-gigabyte striped-mirror volume with 8 columns using
prefabricated mirrors to form each column:
# vxassist -g mydg -P mypool make strpvol 2g \
capability=’Striping(ncols=8),PrefabricatedDataMirroring’
Using storage attribute tags with volumes
A storage attribute allows the properties of a LUN to be defined in an arbitrary
conceptual space. For example, attributes can describe properties such as:
■ Disk access name
■ Disk media name
■ Manufacturer
■ Model type
■ Physical location, such as rack number, frame number, floor, building, or site
■ Hardware RAID configuration
■ Failover properties
■ Performance properties
■ Cost per gigabyte
You can use disk tags to create storage attributes in addition to those that are
intrinsically associated with the disk hardware, and which are automatically
discovered or assigned by VxVM. Disk tags are administered by using the
vxdisk
command or the VEA graphical user interface. For example, the
vxdisk settag
command can been used to assign tags and optional values to each disk:
# vxdisk -g mydg settag Room=room1 mydg01 mydg02 mydg03 mydg04
# vxdisk -g mydg settag Room=room2 mydg05 mydg06 mydg07 mydg08