A system administrator is managing a high-traffic file server and needs to optimize I/O performance. A key requirement is to reduce unnecessary disk writes caused by access time updates. However, for compliance reasons, the access times for files must still be updated when they are read. The access time updates for directories, on the other hand, are not required. Which mount option should be used in /etc/fstab to achieve this specific configuration?
The correct mount option is nodiratime. This option specifically disables the updating of inode access times on directories, which reduces I/O overhead. It still allows atime updates for files, fulfilling the compliance requirement mentioned in the scenario. The noatime option would be incorrect because it disables atime updates for both files and directories. The ro option mounts the filesystem in read-only mode, which prevents all writes but is not what is required. The noexec option is a security measure that prevents the execution of programs on the filesystem and is unrelated to access time updates.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the difference between `nodiratime` and `noatime`?
Open an interactive chat with Bash
How are access times (atimes) managed in Linux filesystems?
Open an interactive chat with Bash
Where and how do you configure the `nodiratime` option in `/etc/fstab`?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .