A method, apparatus, system, and computer program product for deduplicating data. Data is stored by a computer system in storage domains in a storage system. Deduplication is performed by the computer system within each storage domain in the storage domains using a hash table that includes entries for all of the storage domains. Cross-deduplication between the storage domains is avoided in the storage system.