[opensuse-kubic] Confusing results after updating fstab
Hello! I'm trying to set some filesystem optimizations on my MicroOS box -- namely space_cache=v2, discard=async, and compress=zstd:1. However, I discovered when I added those to my fstab and ran `transactional-update initrd`, only `/var` and `/var/lib/docker/btrfs` picked up on these mount options. See https://gist.github.com/steelcowboy/1c27196730554ca8cbb21e01643f2bc7 Is it possible to do this for other mounts? And if so, are there any mounts that I should avoid these options on for any reason? Thanks for your help! Jim --------------------------------------------------- James Heald Production Engineer Facebook james.r.heald@gmail.com -- To unsubscribe, e-mail: opensuse-kubic+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kubic+owner@opensuse.org
Am 15.09.20 um 04:02 Uhr schrieb Jim Heald:
Hello!
I'm trying to set some filesystem optimizations on my MicroOS box -- namely space_cache=v2, discard=async, and compress=zstd:1. However, I discovered when I added those to my fstab and ran `transactional-update initrd`, only `/var` and `/var/lib/docker/btrfs` picked up on these mount options. See https://gist.github.com/steelcowboy/1c27196730554ca8cbb21e01643f2bc7
Is it possible to do this for other mounts? And if so, are there any mounts that I should avoid these options on for any reason?
These mount options are only valid per partition, i.e. all subvolumes will share the same value. If you also add these options to the read-only root file system, then you will get the expected result. Cheers, Ignaz -- To unsubscribe, e-mail: opensuse-kubic+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kubic+owner@opensuse.org
participants (2)
-
Ignaz Forster
-
Jim Heald