Restore Lost Capacity Of Your USB Drives and SD Cards
I was playing with the Pi hole on one of my old Raspberry Pi and noticed that my 32 GB SanDisk Micro SD card was showing only 100 MB as space. I tried multiple method to recover the card space but was unable to get it back.
Clean & format the SD Card:
Following method worked to get the space to it’s orginal:
- Open run(Win+R) and type ‘diskpart’, Enter
- Type ‘list disk’, Enter
- Type ‘select disk #’, Enter (to select a disk, where # is the number of the disk Windows screw-balled. Usually, the device is disk 1, but it’s always best to make sure.)
- Type ‘select partition 1’, Enter
- Type ‘delete partition’, Enter
- Type ‘partition’, Enter
- Type ‘clean’, Enter:
- Type ‘create partition primary’, Enter
- Type ‘format’, Enter, this will format your drive
Full MicroSD card space recovered: