linux | bash - display smart information for nvme disk drive (ssd disk drive)

Bash
[Edit]
+
0
-
0

Linux | Bash - display SMART information for NVMe disk drive (SSD disk drive)

9600
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
# Hint: to install `smartctl` command under Ubuntu/Debin linux use `sudo apt install smartmontools` command. sudo smartctl -a /dev/nvme0 # Example output: # # smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.8.0-54-generic] (local build) # Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org # # === START OF INFORMATION SECTION === # Model Number: Samsung SSD 990 PRO 1TB # Serial Number: S1Z6N0AW766723M # Firmware Version: 3B2QJXD7 # PCI Vendor/Subsystem ID: 0x144d # IEEE OUI Identifier: 0x002538 # Total NVM Capacity: 1 000 204 886 016 [1,00 TB] # Unallocated NVM Capacity: 0 # Controller ID: 1 # NVMe Version: 2.0 # Number of Namespaces: 1 # Namespace 1 Size/Capacity: 1 000 204 886 016 [1,00 TB] # Namespace 1 Utilization: 996 847 964 160 [996 GB] # Namespace 1 Formatted LBA Size: 512 # Namespace 1 IEEE EUI-64: 002538 473140ff87 # Local Time is: Wed Feb 26 07:40:27 2025 CET # Firmware Updates (0x16): 3 Slots, no Reset required # Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test # Optional NVM Commands (0x0055): Comp DS_Mngmt Sav/Sel_Feat Timestmp # Log Page Attributes (0x2f): S/H_per_NS Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg Log0_FISE_MI # Maximum Data Transfer Size: 512 Pages # Warning Comp. Temp. Threshold: 82 Celsius # Critical Comp. Temp. Threshold: 85 Celsius # # Supported Power States # St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat # 0 + 9.39W - - 0 0 0 0 0 0 # 1 + 9.39W - - 1 1 1 1 0 200 # 2 + 9.39W - - 2 2 2 2 0 1000 # 3 - 0.0400W - - 3 3 3 3 2000 1200 # 4 - 0.0050W - - 4 4 4 4 500 9500 # # Supported LBA Sizes (NSID 0x1) # Id Fmt Data Metadt Rel_Perf # 0 + 512 0 0 # # === START OF SMART DATA SECTION === # SMART overall-health self-assessment test result: PASSED # # SMART/Health Information (NVMe Log 0x02) # Critical Warning: 0x00 # Temperature: 45 Celsius # Available Spare: 100% # Available Spare Threshold: 10% # Percentage Used: 0% # Data Units Read: 13 481 121 [6,90 TB] # Data Units Written: 15 247 858 [7,80 TB] # Host Read Commands: 139 487 933 # Host Write Commands: 214 917 733 # Controller Busy Time: 777 # Power Cycles: 1 604 # Power On Hours: 273 # Unsafe Shutdowns: 11 # Media and Data Integrity Errors: 0 # Error Information Log Entries: 2 # Warning Comp. Temperature Time: 0 # Critical Comp. Temperature Time: 0 # Temperature Sensor 1: 45 Celsius # Temperature Sensor 2: 56 Celsius # # Error Information (NVMe Log 0x01, 16 of 64 entries) # No Errors Logged # # Self-test Log (NVMe Log 0x06) # Self-test status: No self-test in progress # No Self-tests Logged