You are not logged in.
What is the best filesystem to use to install Arch on a USB 3.0 thumbdrive for use on a laptop with a battery?
I want to minimize disk access to reduce flash wear. I have a battery so data loss due to power failure is not a concern.
The relevant ArchWiki section only says to use ext4 without journaling, but doesn't mention F2FS. Someone on the ArchWiki talk page mentioned using XFS for better performance, and XFS supports COW reflinks. There is also Btrfs which supports COW and filesystem compression, leading to less disk writes and better performance.
Offline
Ext4 is best all-rounder jack of all cards, Ext3 is good for reducing flash wear. xfs is very good at recovering but it wears the drive like it's being sanded... just use ext3
Offline
Ext3 is basically Ext4 w/o journal
F2FS is simply less tested, there're therefore inherent stability concerns and some features are missing (discussed in arch wiki) - same could be said for btrfs ![]()
https://wiki.archlinux.org/title/F2FS#Compression
nb. that F2FS will lose all its benefits once the filesystem gets "sufficiently full" (the alternative would be that it'd get dog slow)
Offline
I recommend exFAT. This way, you can use Ventoy and have one USB which will be recognised cross platform with the ArchISO, Clonezilla and other useful system tools on one USB e.g. GParted, Rescuezilla. If you're just using Linux, ext4 will work well too.
What is the best filesystem to use to install Arch on a USB 3.0 thumbdrive for use on a laptop with a battery?
I want to minimize disk access to reduce flash wear. I have a battery so data loss due to power failure is not a concern.
The relevant ArchWiki section only says to use ext4 without journaling, but doesn't mention F2FS. Someone on the ArchWiki talk page mentioned using XFS for better performance, and XFS supports COW reflinks. There is also Btrfs which supports COW and filesystem compression, leading to less disk writes and better performance.
Last edited by skinman1401 (2025-07-30 21:35:57)
Offline
I don't think the OP is looking for static (installation) system but wants to *install* arch on the usb key.
No FAT iteration is suitable for that (complete lack of POSIX features)
Offline
It's not 100% clear what the OP wants here, I agree. However, if the OP (or anyone else for that matter) likes the option of having one bootable USB which contains an ArchISO and recovery/system tools - exFAT and Ventoy are worth exploring.
I don't think the OP is looking for static (installation) system but wants to *install* arch on the usb key.
No FAT iteration is suitable for that (complete lack of POSIX features)
Last edited by skinman1401 (2025-07-31 07:24:38)
Offline
As I understand the question (maybe I have misunderstood it completely) my answer is stick to the installation guide and wiki recommendations regarding this subject. The ext4 file system can be tuned to minimize read/writes by editing your /etc/fstab and change realtime to lazytime, or noatime. You can also reduce read/writes with tuning down journaling, or turn it off. I won't recommend turning it completely off, but it is an option. All of this can also be done directly on the filesystem by using the tune2fs command. You can also reduce read/writes by mounting /tmp as a tmpfs (RAM filesystem) to direct temporary file writes to memory instead of disk. This will also improve the performance. Or you can go all the way, if you've got enough ram on your LapTop: Set the thumb-drive up to boot the whole arch linux root partition into tmpfs. Then you will run your whole system completely in ram. But then again: You have just moved the wear and tear from your thumb-drive to your ram.
In the end: Ask yourself what is it you really want to do with your Arch Linux installation. Search the forums- and wiki pages for suitable information. And then decide how to get a best suitable Arch Linux installation up and running. That is my personal recommendation.
Last edited by close2zero (2025-08-02 23:55:10)
while true; do mount /dev/close2zero /mnt/clarity; done
Offline
Instead of a USB flash drive, which are absolutely terrible, consider a cheap SATA or NVME SSD in an enclosure with TRIM support. I have a portable install on a 512 GB NVME in a UGREEN enclosure which works quite well, and cost me about $40 with Amazon deals. NVME means it's a very compact device, and I can always use the drive internally and boot the same install if I want. The enclosure is tool-free, supports TRIM and UAS, and I have run systems off it for months at a time, so I know it's reliable. I have two of these.
I always use ext4 for the OS install which (especially on Arch) I consider disposable. ext4 is fast, very robust against corruption (and easy to fix), and has the lowest disk writes I have experienced.
Last edited by topcat01 (2025-08-03 19:43:09)
Offline
i think ext4 is best option stable and idiot immune btrfs is still experimental xfs is for server. ext3 is solid option too, but i prefer ext4.
Offline
btrfs non-raid5/6 (i.e., single, raid 0, 1) are totally solid and and I use them a lot for important data. However, I don't need it for the OS drive as it's easier to fix Arch than messing with rollbacks (IMO). ext4 is good enough for OS.
Offline
I think you should probably use EXT4 or ExFAT. Not many other viable options. F2FS *is said* to have better performance on Flash drives, but it's not worth the reliability. Even the wiki says this.
asyync1024
Offline
As was said earlier, exfat is not an option.
Offline
As was said earlier, exfat is not an option.
Oh yeah, sorry for the oversight. I completely forgot that the user might want to install arch ON the USB, not WITH the USB on the laptop. (I think even if the user wanted to install with the USB, he would probably would not be able to do with EXT4 anyway?)
In that case, EXT4 in my opinion, is completely a valid, and most reliable option.
For minimizing disk writes etc, See Choosing and tuning your file system and Reduce disk reads/writes
Edit: Fixed typo.
Last edited by LinuxLover471 (2025-08-06 03:20:20)
asyync1024
Offline