Should I format this drive as ext4 or exFAT for Linux?
Asked by
LibraryOfMaps
I'm wiping a drive now and may clone another drive onto it later. Its current filesystem is ext3/ext4, so I'm wondering whether I should format it as ext4 again or use exFAT instead. Are there any Linux-specific issues to consider? I don't expect to use the drive with other operating systems.
Answers
Double-check the target drive before formatting. Device names and drive numbering arenโt guaranteed to stay the same between boots, so identify the disk carefully and use filesystem UUIDs for persistent mounts. If you clone a filesystem, be aware that the clone may also copy its UUID, which can cause confusion if both drives are connected.
Reply to this answer
If the drive will mainly be used with Linux, ext4 is the better choice. It supports journaling and recovery features that exFAT doesnโt, while exFAT is mainly useful when you need the drive to work easily with Windows or other operating systems. Also, if youโre going to clone a disk onto it, the cloning process will usually replace the existing filesystem anyway.
Reply to this answer
After formatting, make sure the filesystem is owned by the user who needs to write to it. You may need to adjust ownership and permissions with chown or chmod. Some graphical disk utilities also provide a โtake ownershipโ option that handles this for you.
Reply to this answer
Add your answer
Answers are reviewed before publication.
LibraryOfMaps: That makes sense. I donโt need compatibility with other operating systems, so Iโll stick with ext4.