IBM Support

FILE device type inefficient space usage for directory data.

Question & Answer


Question

Backing up or archiving directories to a unique storage pool of device type FILE (commonly done using the dirmc or archmc option in the client options file) can result in inefficient space usage on the Tivoli Storage Manager/IBM Spectrum Protect Server

Cause

The minimum blocksize used for Tivoli Storage Manager/IBM Spectrum Protect Server FILE device types is 256K. When aggregation is not possible, each object, no matter how small will occupy/require a full block of space in the FILE storage pool. For example a 700 byte directory backed up as a single object will require a full 256K block of space in the device type FILE volume. All the space in the 256K block not occupied by the 700 bytes of the directory data is lost (physically not available for use).

Answer

To configure a file storage pool to more efficiently use space when small objects like directories are being stored to it, define or update the file pool with the option dataformat=nonblock. This will cause the allocations into this pool to be based upon the object size and not the normal 256K blocksize.

Alternatively there are a few other options that can be considered in an effort to avoid this inefficient space usage situation:

  • Do not place storage pools used solely for directory data in device type FILE storage pools.
  • Do not use a dirmc or archmc option to send directories to a unique device type FILE storage pool.
  • Ensure that directory data is backed up in such a way that it can be aggregated. Running a backup with the -dirsonly option and then with the -filesonly option may help accomplish this. Over time (depending upon the nature of the client environment and the way directory objects may change), running standard incremental backups will result in changed directories not being able to be aggregated together. Therefore this problem cannot be completely avoided when running normal incremental backups (of both files and directory data) to a FILE storage pool.

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Supported Versions","Edition":"Edition Independent","Line of Business":{"code":"LOB26","label":"Storage"}}]

Product Synonym

TSM

Document Information

Modified date:
17 June 2018

UID

swg21225710