Admin:Veritas

Veritas Storage Foundation is the storage software we use on the HA cluster, and database servers. It contains two main parts, VxFS (a filesystem), and VxVM (a volume manager).

Cheat sheet
% vxprint -u Disk group: int TY NAME        ASSOC        KSTATE   LENGTH dg int         int          -        - ^-- the diskgroup, a collection of related disks. Most systems only has one diskgroup.
 * List existing disks and volumes:

dm int01       c0t1d0s2     -        956g ^-- a physical disk. "c0t1d0" is the Solaris name, while "int01" is what Vx calls it.

v sql          fsgen        ENABLED  800g ^-- A top-level volume. pl sql-01      sql          ENABLED  800g sd int01-02    sql-01       ENABLED  156g sd int01-03    sql-01       ENABLED  643g ^-- Volumes are built on top of a plex (pl), which can contain multiple subdisks (sd). This volume has two subdisks, which probably means it was resized at some point in    the past.

v sql-innodb   fsgen        ENABLED  10g pl sql-innodb-01 sql-innodb ENABLED  10g sd int01-01    sql-innodb-01 ENABLED 10g
 * Add 100G to the 'sql' volume. This will automatically resize the filesystem as well.
 * 1) /etc/vx/bin/vxresize sql +100g
 * Create a new volume:
 * 1) vxassist make myvol 150g
 * Create a filesystem on it:
 * 1) mkfs -Fvxfs /dev/vx/rdsk/int/myvol
 * Mount it:
 * 1) mount /dev/vx/dsk/int/myvol /myvol
 * Delete a volume:
 * 1) vxassist remove volume myvol

Documentation

 * VxVM admin guide
 * VxFS admin guide