SanDisk Corp. agreed to buy Fusion-io Inc. for about $1.3 billion, the latest sign of consolidation among suppliers of data storage gear aimed at corporate buyers.

The deal unites two pioneers in the use of chips known as flash memory, which first became popular in portable consumer devices but are quickly replacing disk drives for many applications in corporate data centers.