A system, method and a computer program product for emulating a tape-based
storage system to provide data storage. The system includes a data
storage medium storing a data set which represents the data layout of the
emulated tape-based medium, and an interface for providing access to a
non-tape-based data storage medium, using tape-based media commands and
using the data set. The fist data set includes filemark location data and
block number data for mapping between filemark locations and block
numbers of the emulated tape-based storage medium and the non-tape-based
data storage medium.