How to Recover Lost Space on a USB Flash Drive

Recover Lost Space on a USB Flash Drive: Missing space on your USB drive after formatting? Is your USB drive showing the wrong capacity? You may have encountered this issue after using tools to burn an ISO to a USB. Don’t worry,recovering lost space on a USB flash drive is straightforward!

recover lost space on usb

Recovering Lost Space on a USB Flash Drive

This comprehensive guide explains why USB storage capacity may go missing and provides simple instructions to fix the issue on both Windows and Linux systems. Whether your USB drive is showing the wrong capacity, appears to be a corrupted flash drive, or has missing storage, these easy-to-follow steps will help you restore it to its full capacity and functionality. Read on to understand what causes this problem and learn how to recover lost space on a USB drive quickly and effectively.

Why Does USB Drive Storage Space Go Missing?

When you burn an ISO to a USB drive using tools like Balena Etcher, the drive's filesystem is reconfigured to match the ISO file. This process often leaves the remaining storage space unallocated, rendering it unusable for traditional storage purposes. In some cases, your USB may even appear as a corrupted flash drive with reduced capacity.

For example, tools like dd (Disk Dump) overwrite the USB’s original partition table, limiting its usable size to the ISO file's size. This is particularly problematic for USB drives with significantly larger capacities. To fix this, you need to reallocate the unallocated space by creating a new partition.

Recover Lost Space on a USB Drive (Windows)

To recover lost space on a USB flash drive, use Windows Disk Management to create a new volume from the unallocated space. Assign a drive letter to the new volume, then format it with a file system of your choice. Here’s how:

  1. Access the Windows run box by pressing the Win+R keys. Then type diskmgmt.msc and press Enter to open Disk Management.
    diskmgmt.msc
  2. Next, to create a New Volume from the remaining space on your USB drive:
    1. Locate your USB Disk from the list.
    2. Right-click the Unallocated Space and select New Simple Volume.

    Create New Simple Volume in Unallocated Space

  3. When prompted, click Next to start the "New Simple Volume Wizard".
    Create Simple Volume
  4. Specify a Simple Volume size or leave it as is to use the remaining disk space. Click Next to use all of the remaining space.
    Specify Size of New Volume
  5. Assign a drive letter or leave it as is. Click Next.
    Assign Drive Letter
  6. Finally, to format and create the partition:
    1. Select a File system.
    2. Create a Volume label.
    3. Click Next.

    Format and Create Partition

  7. Click Finish to complete the creation of the new partition.
    Click Finish to create the partition and recover lost space on a USB or fix a corrupted flash drive

If all went well, you should now have access to the once missing space on your USB drive via the newly created volume and related assigned drive letter.

Recover USB Drive Space in Linux Using Parted

  1. Open a terminal window (Ctrl+Alt+T in Ubuntu/Debian).
  2. Run parted with superuser privileges and specify your USB drive:
    sudo parted /dev/sdX

    (Replace /dev/sdX with your actual USB device letter.)

  3. List existing partitions and find unallocated space:
    print
  4. Create a new partition in the unallocated space using the mkpart command:
    mkpart primary ext4 START END

    Explanation:

    • START = the starting point of the unallocated space (e.g., 1MiB or the next free sector after the last partition).
    • END = the endpoint of the partition (usually the maximum available space, e.g., 100% of remaining free space).

    You can see exact values from the print command output. For example, if your unallocated space starts at 1MiB and ends at 15.5GiB, you would type:

    mkpart primary ext4 1MiB 15.5GiB
  5. Exit parted by typing quit.

After creating the partition, format it with your desired filesystem (e.g., mkfs.ext4 /dev/sdX1).

Tip: Always double-check the device name using lsblk or fdisk -l to avoid accidentally formatting the wrong drive.

Troubleshooting USB Lost Storage Space

  • Eject and reconnect the USB drive: Sometimes a simple reconnection resolves detection issues.
  • Check Device Manager (Windows): Open Device Manager and look for any warning icons or driver issues under the USB or disk drives section. If necessary, update or reinstall the device drivers.
  • Use lsblk or fdisk -l (Linux): These commands list all connected drives and partitions. Verify that your USB drive is recognized correctly and identify its device name.
  • Restart your computer: Rebooting can help resolve system-level issues with USB detection.
  • Test the USB drive on another computer: If the issue persists, it may indicate a problem with the USB drive itself.
  • Run a diagnostic tool: Use tools like chkdsk (Windows) or fsck (Linux) to check for and repair errors on the USB drive.
  • Check for Fake USB Drives: Some USB drives, especially those purchased at a discount or from unverified sources, may have falsified storage capacities. Use tools like H2testw to verify the actual capacity.

Frequently Asked Questions (FAQ)

Why does my USB drive show less space than it should after formatting?

This usually happens when an ISO is burned onto the USB drive, and the remaining storage becomes unallocated or unusable. The partition table may be overwritten, limiting the drive’s capacity. Reallocating the unallocated space can fix the issue.

Can I recover lost space on my USB drive in both Windows and Linux?

Yes, you can recover lost space on your USB drive using Disk Management on Windows or the parted command-line tool on Linux. Both systems offer methods to create a new partition and restore the missing space.

What should I do if my USB drive is still not showing the full capacity?

Try troubleshooting by ejecting and reconnecting the USB, checking the device manager (on Windows), running disk-checking tools like CHKDSK or fsck, and ensuring the drive is genuine. If the problem persists, it could indicate hardware failure.

How do I verify if my USB drive is a fake?

If your USB drive shows incorrect storage capacity or behaves unpredictably, use tools like H2testw to test for fake drives. This tool will help confirm the actual capacity of the drive.

Final Thoughts on How to Restore Capacity on a USB

Recovering lost space on a USB flash drive is a simple process that can be done using the right tools, whether you’re using Windows or Linux. Whether your drive appears to be corrupted or just showing the wrong capacity after burning an ISO, you can use the methods outlined in this guide to recover lost space and restore your USB to its full capacity.