CompTIA Linux+ (XK0-004) — Question 98
A systems administrator is enabling quotas on the /home directory of a Linux server. The administrator makes the appropriate edits to the /etc/fstab file and attempts to issue the commands to enable quotas on the desired directory. However, the administrator receives an error message stating the filesystem does not support quotas. Which of the following commands should the administrator perform to proceed?
Answer options
- A. mount ג€"o remount /home
- B. quotacheck -cg
- C. edquota /home
- D. quotaon /home
Correct answer: A
Explanation
The correct command is 'mount -o remount /home' because it ensures that the filesystem is remounted with the updated options from /etc/fstab, enabling quota support. The other options are not applicable at this stage; 'quotacheck' checks for quota inconsistencies, 'edquota' edits quota settings, and 'quotaon' activates quotas but requires the filesystem to already support them.