![]() ![]() That done, you can manually #Run a test and #View test results, or you can use #smartd to automatically run tests and email notifications. You can use #smartctl to check for and enable SMART support. SMART support must be available and enabled on each storage device to effectively use these tools. Install the smartmontools package to use these tools. The smartmontools package contains two utility programs for analyzing and monitoring storage devices: smartctl and smartd. 1.1.3 Generate table with attributes of all disks.If Selective self-test is pending on power-up, resume after 0 minute delay. Note: revision number not 1 implies that no selective self-test has ever been runĪfter scanning selected spans, do NOT read-scan remainder of disk. SMART Selective self-test log data structure revision number 0 # 1 Extended offline Interrupted (host reset) 00% 1822. Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error SMART Self-test log structure revision number 1 Vendor Specific SMART Attributes with Thresholds: SMART Attributes Data Structure revision number: 16 SMART capabilities: (0x0003) Saves SMART data before enteringĮrror logging capability: (0x01)Ğrror logging supported. Self-test execution status: ( 32) The self-test routine was interruptedĬapabilities: (0x79) SMART execute Offline immediate. Offline data collection status: (0x00) Offline data collection activity ![]() SMART support is: Available - device has SMART capability. SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s) User Capacity: 120,034,123,776 bytes ĭevice is: Not in smartctl database ĪTA Version is: ACS-4 (minor revision not indicated) # sudo smartctl -a /dev/sdaĮxample output: # sudo smartctl -a /dev/sdaĬopyright (C) 2002-19, Bruce Allen, Christian Franke, = START OF INFORMATION SECTION = If it indicates failing use -a option to get more information. If the device reports failing health status, this means either that the device has already failed or could fail very soon. The result PASSED indicates that the disk drive is good. SMART overall-health self-assessment test result: PASSED Smartctl 7.1 r5022 (local build)Ĭopyright (C) 2002-19, Bruce Allen, Christian Franke, = START OF READ SMART DATA SECTION = H – Check the device to report its SMART health status. ata – the device type is ATA, use scsi for SCSI device type. To test overall-health of the drive, type: # sudo smartctl -d ata -H /dev/sda Status: "Next check of 1 device will start at 08:36:42"ĬGroup: /system.slice/rviceĪug 12 08:06:42 Gandalf smartd: Device: /dev/sda, openedĪug 12 08:06:42 Gandalf smartd: Device: /dev/sda, PNY CS900 120GB >Īug 12 08:06:42 Gandalf smartd: Device: /dev/sda, not found in sma>Īug 12 08:06:42 Gandalf smartd: Device: /dev/sda, can't monitor Cu>Īug 12 08:06:42 Gandalf smartd: Device: /dev/sda, can't monitor Of>Īug 12 08:06:42 Gandalf smartd: Device: /dev/sda, is SMART capable>Īug 12 08:06:42 Gandalf smartd: Monitoring 1 ATA/SATA, 0 SCSI/SAS and 0 >Īug 12 08:06:42 Gandalf smartd: Device: /dev/sda, previous self-te>Īug 12 08:06:42 Gandalf smartd: Device: /dev/sda, state written to>Īug 12 08:06:42 Gandalf systemd: Started Self Monitoring and Reporting Techn> Loaded: loaded (/lib/systemd/system/rvice enabled vendor>Īctive: active (running) since Thu 08:06:42 CEST 22s ago rvice - Self Monitoring and Reporting Technology (SMART) Daem>.You should get the following output: # systemctl status smartd You can check the status of the smartd with the following command: systemctl status smartd After i nstalling Smartctl, start the Smartctl service using the following command: # sudo systemctl start smartd
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |