Added section about relatime

This commit is contained in:
2024-06-25 23:14:14 +08:00
parent 3a0a411586
commit 8c77d65341

View File

@ -12,7 +12,8 @@ file-o-bot is inspired by the Autoclass feature of Google Cloud Storage buckets.
## Limitations
1. `atime` is disabled on most Linux systems because of it's performance impact to disk performance. The filesystem attempts a write every time it wants to record a new `atime` value, leading to 1000s of writes and reads that cripple the disk. Want to check if your filesystem supports this? Run `$ mount | grep your_mount_path`. If `noatime` is there, you can't use file-o-bot.
1. `atime` is disabled on most Linux systems because of it's performance impact to disk performance. The filesystem attempts a write every time it wants to record a new `atime` value, leading to 1000s of writes and reads that cripple the disk. Want to check if your filesystem supports this? Run `$ mount | grep your_mount_path`.
1. The other option for modern Linux systems is the `relatime` value. `relatime` only updates the access time if the value is older than modified or status change time. It still provides an inaccurate access time value though.
1. This requires a POSIX-compliant storage path for each of the storage mediums, which means you have to configure the mounting separately and maintain them accordingly. There is no fail-safe here.
## Installation