Preparing the storage medium