| Summary: | mount: norelatime is being ignored | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Need Real Name <lsof> |
| Component: | util-linux | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | gansalmon, itamar, jonathan, kernel-maint, kzak, lsof, madhu.chinakonda |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-24 11:50:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Need Real Name
2011-11-24 08:32:08 UTC
Did you read mount(8) man page? # findmnt /boot TARGET SOURCE FSTYPE OPTIONS /boot /dev/sda1 ext4 rw,relatime,user_xattr,barrier=1,data=ordered # mount -o remount,strictatime /boot # findmnt /boot TARGET SOURCE FSTYPE OPTIONS /boot /dev/sda1 ext4 rw,user_xattr,barrier=1,data=ordered The 'norealatime' only removes MS_RELATIME from the syscall mount(2) flags, so kernel will follow the default -- the default is realatime :-) You have to use strictatime to overwrite the default and enable full atime updates. This seems a little counter-intuitive. So when I explicitly state the opposite of a mount option, I don't get it? Should this also fail because rw is default? mount -o remount,ro |