Skip to content

[Solved][Linux] An error “File too large” happened when we put data in USB flash drive

Last Updated on 2021-06-18 by Clay

Today, when I copying some data from my computer to my USB flash drive, I got an error: “File too large”.

I can not believe my eyes! I used the instruction “df” to check my USB flash drive, but it displayed 32GB available space.

Of course! My flash drive is brand new!

For double confirmation, I used instruction “du” to get my data size (It is a compression file) and it is only 9GB.

Nothing seems to be wrong. What exactly happened?


Disk format

After I searching the information of this problem in Internet, I found this situation: The format of my USB flash drive is FAT32. The size of a single file cannot exceed 4GB!

To solve this problem, we have two ways:

  1. Change another disk format like NTFS, exFAT.
  2. Split compression file, limit the max size is 2GB.

If you want to use the instruction to split compress the file, maybe you can refer the article the link I gave at the end of the article.


References


Read More

Tags:

Leave a Reply