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:
- Change another disk format like NTFS, exFAT.
- 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
- https://www.easeus.com/partition-master/file-is-too-large-for-destination-file-system.html
- https://www.easeus.com/partition-master/copy-file-larger-than-4gb-to-usb-drive.html
- https://kb.sandisk.com/app/answers/detail/a_id/289/~/transferring-a-4gb-or-larger-file-to-a-usb-flash-drive-or-memory-card