Provided are a method, system, and program for maintaining an aggregate
including active files in a storage pool in a random access medium. An
active-only storage pool is configured in a random access device. The
active-only storage pool is intended to include only active files and not
inactive versions of files. A plurality of files in the active-only
storage pool are associated with a precursor aggregate in the active-only
storage pool. One file associated with the precursor aggregate in the
active only storage pool is deactivated to produce an inactive version of
the deactivated file. The precursor aggregate is associated with the
inactive version of the file in response to the deactivation. A
determination is made of the inactive version of at least one file in the
precursor aggregate. The determined inactive version of the at least one
file is deleted from the active only storage pool.