IBM Support

Move Container fails with ANR0203E insufficient space in directory

Question & Answer


Question

Why does a MOVE CONTAINER process fail with an ANR0203E insufficient space in directory message when QUERY STGPOOL output show there is available space in the pool.

Cause

Move container processing will always move data from the specified source container into a newly allocated destination container of the same size. If there is not enough space in any of the storage pool directories to allocate the new destination container, then the process will fail with:

ANR0203E MOVE CONTAINER process NNN terminated for /mnt/mpatho/02/00000000000002c9.dcf- insufficient space in directory *All*

QUERY STGPOOL output for the destination container pool may show that free space should exist somewhere in the pool:

tsm: SERVER1>QUERY STGPOOL CONTAINER

Storage   Device      Storage  Estimated  Pct   Pct  High Low  Next Storage
Pool Name Class Name  Type     Capacity   Util  Migr Mig  Mig   Pool
                                                      Pct  Pct
--------- ---------- --------- --------- ----- ----- ---- --- -----------
CONTAINER            DIRECTORY 106,450 G  66.6


The 66.6% Pct Util value with an estimated capacity of 106G+ indicates that free space is available, however, SHOW SDPOOL output (an undocumented diagnostic command) indicates that there is no free space in the filesystems that the storage pool container directories are defined in (FsFreeSpace). The available free space in the pool is within previously allocated containers (CntrFreeSpace):

tsm: SERVER1>SHOW SDPOOL

SD Pool PTFM-VE (25):
  Needs Refresh:         False
  Maximum Size:              0
  FsCapacity:        109025280 MB
 
FsFreeSpace:               0 MB
  CntrAllocSpace:    108980607 MB
  CntrUsedSpace:      72545862 MB
 
CntrFreeSpace:      36434745 MB
  PoolCapacity:      108980607 MB
  PoolFree:           36434745 MB
  Reserved Space:            0 MB
  Last Space Check: 01/13/16 14:38:12


Because there is not enough free space at the filesystem level (FsFreeSpace: 0MB) a new container cannot be allocated and the MOVE CONTAINER fails with the ANR0203E.

Answer

To process a MOVE CONTAINER successfully in such a situation, increase the available free space for the existing filesystems, or add a new filesystem/stgpooldir to the pool.

[{"Product":{"code":"SSEQVQ","label":"IBM Spectrum Protect"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.3;7.1.4","Edition":"Edition Independent","Line of Business":{"code":"LOB26","label":"Storage"}}]

Product Synonym

ITSM TSM ADSM IBM SPECTRUM PROTECT

Document Information

Modified date:
17 June 2018

UID

swg21975514