Which command would you use to view the SMART error log for a device such as /dev/sda?

Study for the Google Data Center Technician Exam. Utilize flashcards and multiple choice questions, complete with hints and detailed explanations. Get prepared for your certification!

Multiple Choice

Which command would you use to view the SMART error log for a device such as /dev/sda?

Explanation:
To view the SMART error log, use the log option that targets errors specifically. The SMART error log records recent I/O errors the drive has reported, along with details that can help diagnose issues. For /dev/sda, run: sudo smartctl -l error /dev/sda. This directly prints the error log. The other options provide different information: -a shows all SMART data (broader than just errors), -t long starts a long self-test (not a log), and -l selftest shows the self-test log rather than the error log.

To view the SMART error log, use the log option that targets errors specifically. The SMART error log records recent I/O errors the drive has reported, along with details that can help diagnose issues. For /dev/sda, run: sudo smartctl -l error /dev/sda. This directly prints the error log. The other options provide different information: -a shows all SMART data (broader than just errors), -t long starts a long self-test (not a log), and -l selftest shows the self-test log rather than the error log.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy