In more concrete terms, a change-premitted range that extends from the sector in which writing or reading instructed by a host device is to be carried out and as far as the next used area is collectively acquired; and when an abnormality is detected in a write destination sector when writing data, if there is a spare area in the change-permitted range following that secondary defect sector, and mo