Guest User

Untitled

a guest
Nov 19th, 2023
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.20 KB | None | 0 0
  1. To check the status of drives, use the following:
  2.  
  3. /usr/local/sbin/smartctl -a /dev/ad0 for first ATA/SATA drive
  4. /usr/local/sbin/smartctl -a /dev/da0 for first SCSI drive
  5. /usr/local/sbin/smartctl -a /dev/ada0 for first SATA drive
  6.  
  7. To include drive health information in your daily status reports,
  8. add a line like the following to /etc/periodic.conf:
  9. daily_status_smart_devices="/dev/ad0 /dev/da0"
  10. substituting the appropriate device names for your SMART-capable disks.
  11.  
  12. To enable drive monitoring, you can use /usr/local/sbin/smartd.
  13. A sample configuration file has been installed as
  14. /usr/local/etc/smartd.conf.sample
  15. Copy this file to /usr/local/etc/smartd.conf and edit appropriately
  16.  
  17. To have smartd start at boot
  18. echo 'smartd_enable="YES"' >> /etc/rc.conf
  19. root@generic:/home/chrisdavidson # echo 'smartd enabled="YES"' >> /etc/rc.conf
  20. root@generic:/home/chrisdavidson # smartctl -a /dev/da0
  21. smartctl 7.4 2023-08-01 r5530 [FreeBSD 13.2-RELEASE-p4 arm64] (local build)
  22. Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
  23.  
  24. === START OF INFORMATION SECTION ===
  25. Model Family: Western Digital Red
  26. Device Model: WDC WD30EFRX-68EUZN0
  27. Serial Number: WD-WMC4N0H8K7Y2
  28. LU WWN Device Id: 5 0014ee 60543a017
  29. Firmware Version: 82.00A82
  30. User Capacity: 3,000,592,982,016 bytes [3.00 TB]
  31. Sector Sizes: 512 bytes logical, 4096 bytes physical
  32. Rotation Rate: 5400 rpm
  33. Device is: In smartctl database 7.3/5528
  34. ATA Version is: ACS-2 (minor revision not indicated)
  35. SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
  36. Local Time is: Mon Nov 20 02:39:44 2023
  37. SMART support is: Available - device has SMART capability.
  38. SMART support is: Enabled
  39.  
  40. === START OF READ SMART DATA SECTION ===
  41. SMART overall-health self-assessment test result: PASSED
  42.  
  43. General SMART Values:
  44. Offline data collection status: (0x00) Offline data collection activity
  45. was never started.
  46. Auto Offline Data Collection: Disabled.
  47. Self-test execution status: ( 0) The previous self-test routine completed
  48. without error or no self-test has ever
  49. been run.
  50. Total time to complete Offline
  51. data collection: (41520) seconds.
  52. Offline data collection
  53. capabilities: (0x7b) SMART execute Offline immediate.
  54. Auto Offline data collection on/off support.
  55. Suspend Offline collection upon new
  56. command.
  57. Offline surface scan supported.
  58. Self-test supported.
  59. Conveyance Self-test supported.
  60. Selective Self-test supported.
  61. SMART capabilities: (0x0003) Saves SMART data before entering
  62. power-saving mode.
  63. Supports SMART auto save timer.
  64. Error logging capability: (0x01) Error logging supported.
  65. General Purpose Logging supported.
  66. Short self-test routine
  67. recommended polling time: ( 2) minutes.
  68. Extended self-test routine
  69. recommended polling time: ( 417) minutes.
  70. Conveyance self-test routine
  71. recommended polling time: ( 5) minutes.
  72. SCT capabilities: (0x703d) SCT Status supported.
  73. SCT Error Recovery Control supported.
  74. SCT Feature Control supported.
  75. SCT Data Table supported.
  76.  
  77. SMART Attributes Data Structure revision number: 16
  78. Vendor Specific SMART Attributes with Thresholds:
  79. ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
  80. 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
  81. 3 Spin_Up_Time 0x0027 186 172 021 Pre-fail Always - 5691
  82. 4 Start_Stop_Count 0x0032 062 062 000 Old_age Always - 38782
  83. 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
  84. 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
  85. 9 Power_On_Hours 0x0032 025 025 000 Old_age Always - 55050
  86. 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
  87. 11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
  88. 12 Power_Cycle_Count 0x0032 063 063 000 Old_age Always - 37194
  89. 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 113
  90. 193 Load_Cycle_Count 0x0032 188 188 000 Old_age Always - 38828
  91. 194 Temperature_Celsius 0x0022 127 115 000 Old_age Always - 23
  92. 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
  93. 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
  94. 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
  95. 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
  96. 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0
  97.  
  98. SMART Error Log Version: 1
  99. No Errors Logged
  100.  
  101. SMART Self-test log structure revision number 1
  102. Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
  103. # 1 Extended offline Completed without error 00% 55039 -
  104. # 2 Extended offline Completed without error 00% 54895 -
  105. # 3 Extended offline Completed without error 00% 54872 -
  106. # 4 Short offline Completed without error 00% 54768 -
  107. # 5 Extended offline Completed without error 00% 54727 -
  108. # 6 Extended offline Completed without error 00% 54703 -
  109. # 7 Extended offline Completed without error 00% 54559 -
  110. # 8 Extended offline Completed without error 00% 54535 -
  111. # 9 Extended offline Completed without error 00% 54400 -
  112. #10 Extended offline Completed without error 00% 54368 -
  113. #11 Extended offline Completed without error 00% 54223 -
  114. #12 Extended offline Completed without error 00% 54199 -
  115. #13 Extended offline Completed without error 00% 54056 -
  116. #14 Extended offline Completed without error 00% 54032 -
  117. #15 Extended offline Completed without error 00% 53888 -
  118. #16 Extended offline Completed without error 00% 53864 -
  119. #17 Extended offline Completed without error 00% 53720 -
  120. #18 Extended offline Completed without error 00% 53696 -
  121. #19 Extended offline Completed without error 00% 53553 -
  122. #20 Extended offline Completed without error 00% 53529 -
  123. #21 Extended offline Completed without error 00% 53363 -
  124.  
  125. SMART Selective self-test log data structure revision number 1
  126. SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
  127. 1 0 0 Not_testing
  128. 2 0 0 Not_testing
  129. 3 0 0 Not_testing
  130. 4 0 0 Not_testing
  131. 5 0 0 Not_testing
  132. Selective self-test flags (0x0):
  133. After scanning selected spans, do NOT read-scan remainder of disk.
  134. If Selective self-test is pending on power-up, resume after 0 minute delay.
  135.  
  136. The above only provides legacy SMART information - try 'smartctl -x' for more
Advertisement
Add Comment
Please, Sign In to add comment