Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

To reclaim space on disk1, use the following command:
# vxdisk -o full reclaim disk1
The above command reclaims unused space on disk1 that is outside of the vol1.
The reclamation skips the vol1 volume, since the VxFS file system is not mounted,
but it scans the rest of the disk for unused space.
Example of reclamation for disk groups. The following example triggers
reclamation on the disk group oradg:
# vxdisk reclaim oradg
Example of reclamation for an enclosure. The following example triggers
reclamation on the enclosure=EMC_CLARiiON0:
# vxdisk reclaim EMC_CLARiiON0
You can also trigger Thin Reclamation on a VxFS file system.
Thin Reclamation takes considerable amount of time when you reclaim thin
storage on a large number of LUNs or an enclosure or disk group.
See Monitoring Thin Reclamation using the vxtask command on page 347.
Thin Reclamation of a file system
Veritas File System (VxFS) supports reclamation of free storage on a Thin Storage
LUN. Free storage is reclaimed using the fsadm command or the vxfs_ts_reclaim
API. You can perform the default reclamation or aggressive reclamation. If you
used a file system for a long time and must perform reclamation on the file system,
Symantec recommends that you run aggressive reclamation. Aggressive
reclamation compacts the allocated blocks, which creates larger free blocks that
can potentially be reclaimed.
See the fsadm_vxfs(1M) and vxfs_ts_reclaim(3) manual pages.
Thin Reclamation is only supported on file systems mounted on a VxVM volume.
The following example performs reclamation of free storage to the Thin Storage
LUN on a VxFS file system mounted at /mnt1:
# fsadm -R /mnt1
Veritas File System also supports reclamation of a portion of the file system using
the vxfs_ts_reclaim() API.
See the Veritas File System Programmer's Reference Guide.
Administering volumes
Reclamation of storage on thin reclamation arrays
346