I am trying to copy a 6GB file, but it won't copy.
|
|
This is due to FAT32 limitation. Files larger than 4GB can NOT be stored on a FAT32 volume. Formatting the flash drive as exFAT or NTFS will resolve this issue. WARNING: Backup your data. Formatting will delete all the data in your device. |
|||||
|
|
If you don't want to reformat your USB drive you can
This will create the following files:
The filesize of Before you can access the file you need to merge it first. On Linux system you can do so with:
The corresponding command on Windows systems is:
Along with many other useful GNU utilities, |
|||||
|
Linux onlyIf you intend to use the drive only with Ubuntu (and other linux distros), it is a good idea to use a linux file system, for example ext4. This way you might get higher read/write speed (depending on which process is the bottleneck), and you will get higher flexibility concerning ownership and permissions.
Full compatibility with Linux, Windows and MacOSWindows has problems with linux file systems, and I think MacOS has problems with NTFS. So if you want 'full compatibility' for reading and writing, only FAT32 and UDF remain.
This link describes how to create and use UDF, Using the UDF as a successor of FAT for USB sticks WindowsSo if you want full read/write access from Ubuntu and Windows, I would suggest that you use NTFS. (It is possible to use exFAT with some special tools, but I recommend NTFS.)
MacOSIn MacOS it is possible to use FAT32 and UDF. You can also use ext4 with a workaround, Ubuntu Server with an SSH server in a virtual machine. (I think the same workaround would work also with Windows.) This may be worthwhile when you intend to access a lot of files via the drive and its file system, but maybe not with a small USB2 pendrive. See this link, |
|||||||||||||||||||||
|
|
Having had a simular issue and unwilling to reformat the USB stick, I just used an archiver. More or less all modern GUIs (such as File Roller, 7Zip, etc.) or CLIs allow for splitting the archive file. Set the split limit below the FAT boundary (that somewhat 4GB), for speed you can choose a low compression rate, even "store", i.e. do not compress at all, an voila! |
||||
|
|