Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- To check the status of drives, use the following:
- /usr/local/sbin/smartctl -a /dev/ad0 for first ATA/SATA drive
- /usr/local/sbin/smartctl -a /dev/da0 for first SCSI drive
- /usr/local/sbin/smartctl -a /dev/ada0 for first SATA drive
- To include drive health information in your daily status reports,
- add a line like the following to /etc/periodic.conf:
- daily_status_smart_devices="/dev/ad0 /dev/da0"
- substituting the appropriate device names for your SMART-capable disks.
- To enable drive monitoring, you can use /usr/local/sbin/smartd.
- A sample configuration file has been installed as
- /usr/local/etc/smartd.conf.sample
- Copy this file to /usr/local/etc/smartd.conf and edit appropriately
- To have smartd start at boot
- echo 'smartd_enable="YES"' >> /etc/rc.conf
- root@generic:/home/chrisdavidson # echo 'smartd enabled="YES"' >> /etc/rc.conf
- root@generic:/home/chrisdavidson # smartctl -a /dev/da0
- smartctl 7.4 2023-08-01 r5530 [FreeBSD 13.2-RELEASE-p4 arm64] (local build)
- Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
- === START OF INFORMATION SECTION ===
- Model Family: Western Digital Red
- Device Model: WDC WD30EFRX-68EUZN0
- Serial Number: WD-WMC4N0H8K7Y2
- LU WWN Device Id: 5 0014ee 60543a017
- Firmware Version: 82.00A82
- User Capacity: 3,000,592,982,016 bytes [3.00 TB]
- Sector Sizes: 512 bytes logical, 4096 bytes physical
- Rotation Rate: 5400 rpm
- Device is: In smartctl database 7.3/5528
- ATA Version is: ACS-2 (minor revision not indicated)
- SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
- Local Time is: Mon Nov 20 02:39:44 2023
- SMART support is: Available - device has SMART capability.
- SMART support is: Enabled
- === START OF READ SMART DATA SECTION ===
- SMART overall-health self-assessment test result: PASSED
- General SMART Values:
- Offline data collection status: (0x00) Offline data collection activity
- was never started.
- Auto Offline Data Collection: Disabled.
- Self-test execution status: ( 0) The previous self-test routine completed
- without error or no self-test has ever
- been run.
- Total time to complete Offline
- data collection: (41520) seconds.
- Offline data collection
- capabilities: (0x7b) SMART execute Offline immediate.
- Auto Offline data collection on/off support.
- Suspend Offline collection upon new
- command.
- Offline surface scan supported.
- Self-test supported.
- Conveyance Self-test supported.
- Selective Self-test supported.
- SMART capabilities: (0x0003) Saves SMART data before entering
- power-saving mode.
- Supports SMART auto save timer.
- Error logging capability: (0x01) Error logging supported.
- General Purpose Logging supported.
- Short self-test routine
- recommended polling time: ( 2) minutes.
- Extended self-test routine
- recommended polling time: ( 417) minutes.
- Conveyance self-test routine
- recommended polling time: ( 5) minutes.
- SCT capabilities: (0x703d) SCT Status supported.
- SCT Error Recovery Control supported.
- SCT Feature Control supported.
- SCT Data Table supported.
- SMART Attributes Data Structure revision number: 16
- Vendor Specific SMART Attributes with Thresholds:
- ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
- 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
- 3 Spin_Up_Time 0x0027 186 172 021 Pre-fail Always - 5691
- 4 Start_Stop_Count 0x0032 062 062 000 Old_age Always - 38782
- 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
- 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
- 9 Power_On_Hours 0x0032 025 025 000 Old_age Always - 55050
- 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
- 11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
- 12 Power_Cycle_Count 0x0032 063 063 000 Old_age Always - 37194
- 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 113
- 193 Load_Cycle_Count 0x0032 188 188 000 Old_age Always - 38828
- 194 Temperature_Celsius 0x0022 127 115 000 Old_age Always - 23
- 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
- 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
- 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
- 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
- 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0
- SMART Error Log Version: 1
- No Errors Logged
- SMART Self-test log structure revision number 1
- Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
- # 1 Extended offline Completed without error 00% 55039 -
- # 2 Extended offline Completed without error 00% 54895 -
- # 3 Extended offline Completed without error 00% 54872 -
- # 4 Short offline Completed without error 00% 54768 -
- # 5 Extended offline Completed without error 00% 54727 -
- # 6 Extended offline Completed without error 00% 54703 -
- # 7 Extended offline Completed without error 00% 54559 -
- # 8 Extended offline Completed without error 00% 54535 -
- # 9 Extended offline Completed without error 00% 54400 -
- #10 Extended offline Completed without error 00% 54368 -
- #11 Extended offline Completed without error 00% 54223 -
- #12 Extended offline Completed without error 00% 54199 -
- #13 Extended offline Completed without error 00% 54056 -
- #14 Extended offline Completed without error 00% 54032 -
- #15 Extended offline Completed without error 00% 53888 -
- #16 Extended offline Completed without error 00% 53864 -
- #17 Extended offline Completed without error 00% 53720 -
- #18 Extended offline Completed without error 00% 53696 -
- #19 Extended offline Completed without error 00% 53553 -
- #20 Extended offline Completed without error 00% 53529 -
- #21 Extended offline Completed without error 00% 53363 -
- SMART Selective self-test log data structure revision number 1
- SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
- 1 0 0 Not_testing
- 2 0 0 Not_testing
- 3 0 0 Not_testing
- 4 0 0 Not_testing
- 5 0 0 Not_testing
- Selective self-test flags (0x0):
- After scanning selected spans, do NOT read-scan remainder of disk.
- If Selective self-test is pending on power-up, resume after 0 minute delay.
- The above only provides legacy SMART information - try 'smartctl -x' for more
Advertisement
Add Comment
Please, Sign In to add comment