![]() Which will print out general device statistics table and physical event counters table: Device Statistics (GP Log 0x04)ġ = General Statistics (rev 2) =ġ 0x018 6 13095790289 Logical Sectors Writtenġ 0x020 6 677113980 Number of Write Commandsġ 0x028 6 6489046492 Logical Sectors Readġ 0x030 6 74059526 Number of Read CommandsĤ = General Errors Statistics (rev 1) =Ĥ 0x008 4 0 Number of Reported Uncorrectable ErrorsĤ 0x010 4 0 Resets Between Cmd Acceptance and CompletionĦ = Transport Statistics (rev 1) =Ħ 0x008 4 23933 Number of Hardware ResetsĦ 0x018 4 0 Number of Interface CRC Errorsħ = Solid State Device Statistics (rev 1) =ħ 0x008 1 0 Percentage Used Endurance IndicatorĠx0001 4 0 Command failed due to ICRC errorĠx0004 4 0 R_ERR response for host-to-device data FISĠx0007 4 0 R_ERR response for host-to-device non-data FISĠx0008 4 0 Device-to-host non-data FIS retriesĠx0009 4 1 Transition from drive PhyRdy to drive PhyNRdyĠx000a 4 2 Device-to-host register FISes sent due to a COMRESETĠx000b 4 0 CRC errors within host-to-device FISĠx000d 4 0 Non-CRC errors within host-to-device FISĠx000f 4 0 R_ERR response for host-to-device data FIS, CRCĠx0010 4 0 R_ERR response for host-to-device data FIS, non-CRCĠx0012 4 0 R_ERR response for host-to-device non-data FIS, CRCĠx0013 4 0 R_ERR response for host-to-device non-data FIS, non-CRC The most comprehensive health status information about your hard drive can be obtained by:.# 2 Offline Completed without error 00% 5006. # 1 Vendor (0x50) Completed without error 00% 5007. Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error SMART Self-test log structure revision number 1 Smartctl 6.2 r3841 (local build)Ĭopyright (C) 2002-13, Bruce Allen, Christian Franke, = START OF READ SMART DATA SECTION = The self-test results can be later retrieved by: After running the above command the smartctl command will indicate how long you need to wait for test to be finished.Please wait 1 minutes for test to complete. Offline, short, long, conveyance, force, vendor,N, select,M-N, pending,N, afterselect, To initiate a health self-test, run the following command using one of the below arguments: The smartctl command also allows a system administrator to run a self-test to determine the hard drive’s condition.SMART overall-health self-assessment test result: PASSED To check a hard drive’s overall health, we can use the -H option.By omitting the grep portion of this command, you can also find other information such as age of the hard drive. In this example, the hard drive has been powered on for 12,131 hours. # smartctl -attributes "$" | grep Power_On_Hours To view the “power on” hours (the total runtime) of a hard drive, use the following command.You can substitute this device file with that of any disk you wish to test. In these examples, we are using /dev/sda as hard disk drive. To install smartmontools on Arch Linux and Manjaro: $ sudo pacman -S smartmontoolsĪfter the package is installed, move on to the section below to see how to use the smartctl command. To install smartmontools on CentOS, Fedora, AlmaLinux, and Red Hat: $ sudo dnf install smartmontools To install smartmontools on Ubuntu, Debian, and Linux Mint: $ sudo apt install smartmontools You can use the appropriate command below to install the program with your system’s package manager. To use the smartctl command on Linux, you’ll first need to install the smartmontools software package. Install smartmontools on major Linux distros $ – requires given linux commands to be executed as a regular non-privileged user # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command Privileged access to your Linux system as root or via the sudo command. Requirements, Conventions or Software Version Used How to check total running time of a hard disk in Linux Software Requirements and Linux Command Line Conventions Category ![]()
0 Comments
Leave a Reply. |