If your Memory Card not Showing actual Space. i.e. You Have 32 GB Memory card or Pen drive but Showing 2 Gb or Only 1 GB. Sometimes pendrive converted to two drives.
If you Will Try and try to format it for repair, You will fail to Repair.
Yes, You can repair these types of Memory Card or Pendrive by Format, But If you will go to Normal Formatting You can Not do any thing.
You Have to format with special tool name "SD Card Formatter"
Steps For Repair SD Card
Download and Install Tool.
Open this tool and Connect SD Card.
Click on Formatt