Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2513

General discussion • Missing SMART vendor attributes

$
0
0
I purchased some used nvme's to use with a Pimoroni nvme base.
My PI 5's are working fine.
However, I wanted to monitor the SMART counters to see how many GB's are written and life expectancy.
On a linux system, I'd normally do
smartclt -A /dev/nvme0
And I'd be able to see the manufacturers SMART counters.

However, the above command does not report these on my Pi5?

Does anyone know why this is?
I don't seem to be able to find this info anywhere?

I know that the nvme devices themselves will report this info (before I set them up I got a baseline reading using an external nvme to SSD adapter connected to my normal desktop machine)

What I get:
root@pi5-2:/home/pi# smartctl -A /dev/nvme0
smartctl 7.3 2022-02-28 r5338 [aarch64-linux-6.6.74+rpt-rpi-2712] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF SMART DATA SECTION ===
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 29 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 0%
Data Units Read: 645,536 [330 GB]
Data Units Written: 1,713,652 [877 GB]
Host Read Commands: 2,495,388
Host Write Commands: 1,971,635
Controller Busy Time: 103
Power Cycles: 35
Power On Hours: 9
Unsafe Shutdowns: 35
Media and Data Integrity Errors: 0
Error Information Log Entries: 74
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 29 Celsius

I'd expect an output similar to
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.11-200.fc41.x86_64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 4
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0032 100 100 --- Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 --- Old_age Always - 23821
12 Power_Cycle_Count 0x0032 100 100 --- Old_age Always - 492
165 Block_Erase_Count 0x0032 100 100 --- Old_age Always - 35127690
166 Minimum_PE_Cycles_TLC 0x0032 100 100 --- Old_age Always - 1
167 Max_Bad_Blocks_per_Die 0x0032 100 100 --- Old_age Always - 84
168 Maximum_PE_Cycles_TLC 0x0032 100 100 --- Old_age Always - 7
169 Total_Bad_Blocks 0x0032 100 100 --- Old_age Always - 1333
170 Grown_Bad_Blocks 0x0032 100 100 --- Old_age Always - 0
171 Program_Fail_Count 0x0032 100 100 --- Old_age Always - 0
172 Erase_Fail_Count 0x0032 100 100 --- Old_age Always - 0
173 Average_PE_Cycles_TLC 0x0032 100 100 --- Old_age Always - 2
174 Unexpected_Power_Loss 0x0032 100 100 --- Old_age Always - 21
184 End-to-End_Error 0x0032 100 100 --- Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 --- Old_age Always - 0
188 Command_Timeout 0x0032 100 100 --- Old_age Always - 2
194 Temperature_Celsius 0x0022 073 043 --- Old_age Always - 27 (Min/Max 8/43)
199 UDMA_CRC_Error_Count 0x0032 100 100 --- Old_age Always - 0
230 Media_Wearout_Indicator 0x0032 001 001 --- Old_age Always - 0x004e0014004e
232 Available_Reservd_Space 0x0033 100 100 004 Pre-fail Always - 100
233 NAND_GB_Written_TLC 0x0032 100 100 --- Old_age Always - 5915
234 NAND_GB_Written_SLC 0x0032 100 100 --- Old_age Always - 12351
241 Host_Writes_GiB 0x0030 253 253 --- Old_age Offline - 10798
242 Host_Reads_GiB 0x0030 253 253 --- Old_age Offline - 19260
244 Temp_Throttle_Status 0x0032 000 100 --- Old_age Always - 0

Statistics: Posted by drachenfels1 — Wed Feb 12, 2025 8:13 pm



Viewing all articles
Browse latest Browse all 2513

Trending Articles