I'm trying to configure my fstab for two NVMe drives I have: one for the root and the other for data, and I'm using ext4 as the filesystem. I've seen a lot of different options out there. Currently, I'm leaning towards "defaults,noatime,discard=async,nofail,x-systemd.device-timeout=5". Also, I'm wondering if I should use "errors=remount-ro" on my data NVMe as well. What do you think?
1 Answer
I'm not sure there's one best setup, but I can share what I use! The options for my root partition were set up by the installer, so I trust that those are good defaults. For my backup drive, I looked up some options online. Here's what I've got in my fstab:
- For root: `UUID=f8d9eafa-3830-4726-8ba1-b591a475dace / ext4 errors=remount-ro 0 1`
- For backup: `UUID=8310cbe5-5a0d-4321-bc51-d390fff228b5 /mnt/backup ext4 auto,nofail 0 2`
Both drives are NVMe, and I haven't encountered any issues so far!

Now I need to check what `auto` does...