Shrinking a Pnfs Database

All Pnfs Databases are Gdbm Files compatible with gdbm version 1.7.3 and higher. The specification of gdbm claims that a database never shrinks automatically when deleting records, BUT unused space is reused before the database is extended.
So, under normal conditions it should not become necessary to shrink a pnfs database because filesystems tend to increase over time.
But if you really need the space you may write your own small tool which uses the gdbm_reorganize function. Make sure the dbserver for the reorganized database is not running. Or you may use some pnfs tools to shrink the database.

Using PNFS tools to shrink a database

The available tools to modify the database were not intended to be used by a user directy, with the result, that they are neither convenient nor for easy to use.