Table of ContentsLibraryView in Frames

Defining an aggregate reallocation scan

After reallocation is enabled on your storage system, you define a reallocation scan for the aggregate on which you want to perform a reallocation scan.

Considerations

Because blocks in an aggregate Snapshot copy will not be reallocated, consider deleting aggregate Snapshot copies before performing aggregate reallocation to allow the reallocation to perform better.

Volumes in an aggregate on which aggregate reallocation has started but has not successfully completed will have the active_redirect status. Read performance of such volumes may be degraded until aggregate reallocation has successfully completed. Volumes in an aggregate that has previously undergone aggregate reallocation have the redirect status. For more information, see the na_vol(1) man page.

Step

  1. On the storage system’s command line, enter the following command: reallocate start -A [-i interval] aggr_name

    • -i interval is the interval, in hours, minutes, or days, at which the scan is performed. The default interval is 24 hours. You specify the interval as follows: [m | h | d]

      For example, 30m is a 30-minute interval.

      The countdown to the next scan begins only after the first scan is complete. For example, if the interval is 24 hours and a scan starts at midnight and lasts for an hour, the next scan begins at 1:00 a.m. the next day—24 hours after the first scan is completed.

    • aggr_name is the name of the aggregate on which you want to perform a reallocation scan.

    Example

    The following example initiates an aggregate reallocation scan that runs every 24 hours. reallocate start -A my_aggr