Veritas File System (VxFS) supports reclamation of free storage on a Thin Storage LUN.
See Thin Reclamation of a file system.
See the Veritas Storage Foundation Advanced Features Administrator's Guide.
You reclaim free storage 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.
You can specify the following thin reclamation options with the fsadm command:
aggressive |
Initiates Thin Storage aggressive reclamation. |
analyse|analyze |
Initiates the analyze reclaim option. |
auto |
Initiates the auto reclaim option. |
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 default reclamation of free storage to the Thin Storage LUN on a VxFS file system mounted at /mnt1
:
# fsadm -R /mnt1
The following example performs aggressive reclamation of free storage to the Thin Storage LUN on a VxFS file system mounted at /mnt1
:
# fsadm -R -o aggressive /mnt1
After performing the reclaim operation, you can verify that the storage was reclaimed using the vxdisk -o thin list command.
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.