VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

57
Administering Application Volumes
4
This chapter describes how to perform maintenance tasks on volumes that you have created using
VERITAS Intelligent Storage Provisioning (ISP). This includes resizing and changing the
capabilities of volumes without taking them offline.
The operations in this chapter use the vxvoladm command. For full details, see the
vxvoladm(1M) manual page.
For details of how to display information about volumes, monitor and control tasks, and using the
vxresize command to resize a volume and an underlying file system, see the “Administering
Volumes” chapter of the VERITAS Volume Manager Administrators Guide.
Resizing Volumes Online
Increasing or decreasing the size of a volume is an operation that can be performed while a volume
is online. The following vxvoladm operations are available for resizing a volume:
growto — Increase volume size to a specified length.
growby — Increase volume size by a specified length.
shrinkto — Reduce volume size to a specified length.
shrinkby — Reduce volume size by a specified length.
You can specify the length argument in sectors, kilobytes, megabytes, gigabytes or as a percentage
by adding the unit of measure as a suffix (s, m, k, g, %) to the length value. If no unit is specified,
sectors are assumed.
Caution If you use vxvoladm to resize a volume, do not shrink it below the size of the file
system that is located on it. If you do not shrink the file system first, you risk
unrecoverable data loss. If you have a VxFS file system, shrink the file system first, and
then shrink the volume. Other file systems may require you to back up your data so that