The next step S5 is a loop of repetition for all the subblocks, in the internal of the loop, first in the step S5-1, the logical sector number is obtained from the physical address with reference to the physical address table 302, and in the step S5-2, information such as logical sector number and physical address is written on the block map 304.