Thin Reclamation of a disk, a disk group, or an enclosure

Use the vxdisk reclaim command to trigger online Thin Reclamation on one or more disks, disk groups, or enclosures. By default, the vxdisk reclaim command performs Thin Reclamation on the disks where the VxVM volume is on a "mounted" VxFS file system. The reclamation skips disks that do not have a VxFS file system mounted.

Use the -o full option of the vxdisk reclaim command to also reclaim disk space in unmarked space on the disks.

You can only perform Thin Reclamation on LUNS which have the thinrclm attribute.

See Identifying thin and thin reclamation LUNs .

Example of reclamation for disks. The following example triggers reclamation on LUNs disk1 and disk2:

# vxdisk reclaim disk1 disk2

In the above example, suppose the disk1 contains a VxVM volume vol1 with a VxFS file system. If the VxFS file system is not mounted, the command skips reclamation for disk1.

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.