A data recording apparatus includes a determining unit that determines
whether a storable area is present in the first storage device. The
storable area is a combination of a plurality of empty areas having
contiguous physical addresses with a total data volume larger than that
of a volume of the data. When the determining unit determines that the
storable area is present, a first storage unit stores the data in the
storable area, and a second storage unit stores the data that has been
stored by the first storage unit in the storable area as a lump into the
second storage device.