問題文
After a power failure a server drops to an administrative shell instead of completing startup, reporting that a filesystem could not be mounted. What is the appropriate first action?
選択肢
- Re-create the filesystem, since a failed mount after a power loss indicates irrecoverable damage, and the data is restored from the most recent backup afterwards.
- Run the consistency check on the mounted filesystem, because checking it while mounted is safe as long as the system is in the administrative shell and no other process is running, and this avoids the need to unmount the root filesystem.
- Remove the failing entry from the mount table so the system boots, and investigate later, and a completed startup gives the operator a working shell to work from.
- Identify which entry failed and run a consistency check on that filesystem while it is unmounted, then retry the startup.