How to Repair and Restore Unallocated Space on a USB/SD Card
Recover unallocated space on USB drive.
Case1: How to recover your pen drive in windows. USB/SD Card Stops Working or stop Showing the actual size of pen drive or any external storage device. Unallocated
Reason:
The most common reasons are deletion and virus attack.
Suppose, you may accidentally delete the partition on the USB or some application or program is corrupted then this will cause you this type of problem. Recover unallocated space on usb drive
It is also possible that we were doing some operations that required you to delete partitions but you didn’t aware about it. But, it’s not that surprising that virus attacks may bring various negative results, including a USB becoming unallocated.
If you are facing same issue with your Pen Drive and have no intention to perform data recovery. You can create a new partition using the allocated space directly to make the space usable.
My pen drive is 16 Gb but now it is showing only 6kb
How to Repair it.
- Press start button search for cmd and enter
- You will see terminal on your screen
Type in terminal –
diskpart
You will see popup on your screen , continue it by selecting yes option
New terminal (diskpart) will open , this is where you will repair your pen drive
Type these commands one by one
List disk
It will list all disk and partition available on your system
Now select your pen drive
##select the number mentioned in front of your pen drive
select disk 3
Now check once again that you have selected the correct disk, otherwise you will delete the wrong partition fro your system
## * will now be mentioned in front of selected partition
list disk
After confirming it type it
clean
once again
clean
After cleaning process
create partition primary
Case 2: Recovering Pen drive space using Linux (Ubuntu, Centos etc)
- Insert the Pen drive
- Open Terminal and Type
lsblk
You will see the list of disk , partition that are mounted on this system
3. The pen drive usually mounted as last because mounting talk place alphabetically so most probably my system been mounted on sda (usb is mounted on sdb)
sudo mkfs.fat /dev/sdb
One message will popup ie. mkfs.fat: Device partition expected, not making filesystem on entire device ‘/dev/sdb’ (use -I to override)
4. Final command will be like this.
sudo mkfs.fat -I /dev/sdb
The Bottom Line
Conclusively, It is easy to recover unallocated space on a USB or any external storage Device. We can fix an unallocated USB/SD card/pen drive by establishing a new volume. No third party tools are necessary to resolve this type of issue USB issue.