Cisco Catalyst IOS XE Release 16.9.1 gives you the ability to monitor the health of the device through CLIs. You can monitor
internal hot-spots, flash wear-outs, and hardware failure of the SATA device and alert your users about a SATA failure. These
users can then backup data and obtain a new SATA device.
A linux deamon smartd starts when the SATA is inserted into the . By default, the polling interval is set to 2 days for offline
test, 6 days for short test and 14 days for long test. The warnings and error messages are saved in /crashinfo/tracelogs/smart_errors.log
and are also sent to the IOSd console.
The S.M.A.R.T. feature and smartd daemon are enabled by default when the SATA device is detected by the switch.
Note |
If the SATA is not detected after insertion, check the existing file system on the device. If it is not EXT based, SATA will
not be detected. In that case, change the filesystem to EXT and reinsert the SATA.
|
The following CLI shows the logs from the smartd daemon:
Switch# more crashinfo:tracelogs/smart_errors.log
%IOSXEBOOT-4-SMART_LOG: (local/local): Mon Jan 4 00:13:10 Universal 2016
INFO: Starting SMART deamon
You can monitor the overall health of the device through the following CLI:
Switch# more flash:smart_overall_health.log
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-4.4.131] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED