Reclaiming space on a file system

Table: fsadm options for administering thin reclamation lists the fsadm command options that administer thin reclamation.

Table: fsadm options for administering thin reclamation

Option

Description

-o aggressive | -A

Initiates Thin Storage aggressive reclamation. Aggressive reclamation is not supported on SSD devices.

-o analyse|analyze

Initiates the analyze reclaim option.

-o auto

Initiates the auto reclaim option.

-o ssd

Initiates the TRIM command on an underlying SSD trim-capable device.

-o thin

Initiates thin reclamation on the underlying Thin Reclaim-capable device.

-P

Performs multi-threaded Thin Storage reclamation. By default, the fsadm command performs single-threaded Thin Storage reclamation. To use multi-threaded Thin Storage Reclamation, the array must support multiple concurrent reclaim operations.

-R

Performs reclamation of free storage to the Thin Storage LUN on a VxFS file system .

See the fsadm_vxfs(1M) manual page.

To perform aggressive space reclamation

  1. Ensure you mounted the VxFS file system.

    See the mount(1M) manual page.

    If you must mount the VxFS file system, see the mount_vxfs(1M) manual page.

  2. Perform aggressive reclamation of free storage to the Thin Storage LUN on the VxFS file system that is mounted at /mnt1:
    # /opt/VRTS/bin/fsadm -R -o aggressive /mnt1

To perform space reclamation

  1. Ensure you mounted the VxFS file system.

    See the mount(1M) manual page.

    If you must mount the VxFS file system, see the mount_vxfs(1M) manual page.

  2. Perform space reclamation on the VxFS file system that is mounted at /mnt1:
    # /opt/VRTS/bin/fsadm -R /mnt1