1. An image forming apparatus comprising:at least one storage device including first and second storage areas; and
a controller having one or more processor which executes instructions stored in one or more memory, the controller being configured to:
format the first storage area and not format the second storage area, based on detection of an access error to the first storage area; and
recover data of the second storage area and not recover data of the first storage area, based on detection of an access error to the second storage area.