Bash examples for expanding storage in a Veritas environment. These scripts are sanitized operational tooling for a Linux Infrastructure Engineer portfolio: they show the flow, guardrails, logging, and validation patterns used in controlled infrastructure change work.
Veritas Volume Manager (VxVM) manages disks, disk groups, volumes, plexes, and subdisks. It is the storage virtualization layer used to initialize SAN LUNs, add capacity to disk groups, and grow volumes.
Veritas Cluster Server (VCS) manages application availability through service groups and resources. During storage changes, freezing the relevant service group can prevent unexpected automated failover actions while operators perform controlled work.
## Safety Notes
- Default mode is always dry-run.
- Real execution requires `--execute`.
- Mutating scripts require an interactive `EXECUTE` confirmation after `--execute`.
- Disk names are never assumed. Candidate disks must be supplied explicitly.
- Disks are initialized only when VxVM reports the expected `online invalid` state.
- Filesystem growth is conservative and depends on detected filesystem type.
- Exact Veritas and filesystem commands can differ by product version, OS, and site standards.
Use these scripts as examples and adapt them to local runbooks, naming standards, multipath stack, Veritas release, filesystem type, and change-control policy before live use.