Peter Humphrey wrote: > On Wednesday, 19 April 2023 09:00:33 BST Nikos Chantziaras wrote: > >> With my HDD: >> >> # smartctl -x /dev/sda | grep -i 'sector size' >> Sector Sizes: 512 bytes logical, 4096 bytes physical > Or, with an NVMe drive: > > # smartctl -x /dev/nvme1n1 | grep -A2 'Supported LBA Sizes' > Supported LBA Sizes (NSID 0x1) > Id Fmt Data Metadt Rel_Perf > 0 + 512 0 0 > > :) >
When I run that command, sdd is my SDD drive, ironic I know. Anyway, it doesn't show block sizes. It returns nothing. root@fireball / # smartctl -x /dev/sdd | grep -A2 'Supported LBA Sizes' root@fireball / # This is the FULL output, in case it is hidden somewhere grep and I can't find. Keep in mind, this is a blank drive with no partitions or anything. root@fireball / # smartctl -x /dev/sdd smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.14.15-gentoo] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Samsung based SSDs Device Model: Samsung SSD 870 EVO 500GB Serial Number: S6PWNXXXXXXXXXXX LU WWN Device Id: 5 002538 XXXXXXXXXX Firmware Version: SVT01B6Q User Capacity: 500,107,862,016 bytes [500 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Form Factor: 2.5 inches TRIM Command: Available, deterministic, zeroed Device is: In smartctl database 7.3/5440 ATA Version is: ACS-4 T13/BSR INCITS 529 revision 5 SATA Version is: SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Wed Apr 19 12:57:03 2023 CDT SMART support is: Available - device has SMART capability. SMART support is: Enabled AAM feature is: Unavailable APM feature is: Unavailable Rd look-ahead is: Enabled Write cache is: Enabled DSN feature is: Unavailable ATA Security is: Disabled, frozen [SEC2] Wt Cache Reorder: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x80) Offline data collection activity was never started. Auto Offline Data Collection: Enabled. 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: ( 0) seconds. Offline data collection capabilities: (0x53) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. No 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: ( 85) minutes. SCT capabilities: (0x003d) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 1 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE 5 Reallocated_Sector_Ct PO--CK 100 100 010 - 0 9 Power_On_Hours -O--CK 099 099 000 - 75 12 Power_Cycle_Count -O--CK 099 099 000 - 3 177 Wear_Leveling_Count PO--C- 100 100 000 - 0 179 Used_Rsvd_Blk_Cnt_Tot PO--C- 100 100 010 - 0 181 Program_Fail_Cnt_Total -O--CK 100 100 010 - 0 182 Erase_Fail_Count_Total -O--CK 100 100 010 - 0 183 Runtime_Bad_Block PO--C- 100 100 010 - 0 187 Uncorrectable_Error_Cnt -O--CK 100 100 000 - 0 190 Airflow_Temperature_Cel -O--CK 077 069 000 - 23 195 ECC_Error_Rate -O-RC- 200 200 000 - 0 199 CRC_Error_Count -OSRCK 100 100 000 - 0 235 POR_Recovery_Count -O--C- 099 099 000 - 1 241 Total_LBAs_Written -O--CK 100 100 000 - 0 ||||||_ K auto-keep |||||__ C event count ||||___ R error rate |||____ S speed/performance ||_____ O updated online |______ P prefailure warning General Purpose Log Directory Version 1 SMART Log Directory Version 1 [multi-sector log support] Address Access R/W Size Description 0x00 GPL,SL R/O 1 Log Directory 0x01 SL R/O 1 Summary SMART error log 0x02 SL R/O 1 Comprehensive SMART error log 0x03 GPL R/O 1 Ext. Comprehensive SMART error log 0x04 GPL,SL R/O 8 Device Statistics log 0x06 SL R/O 1 SMART self-test log 0x07 GPL R/O 1 Extended self-test log 0x09 SL R/W 1 Selective self-test log 0x10 GPL R/O 1 NCQ Command Error log 0x11 GPL R/O 1 SATA Phy Event Counters log 0x13 GPL R/O 1 SATA NCQ Send and Receive log 0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log 0x80-0x9f GPL,SL R/W 16 Host vendor specific log 0xa1 SL VS 16 Device vendor specific log 0xa5 SL VS 16 Device vendor specific log 0xce SL VS 16 Device vendor specific log 0xe0 GPL,SL R/W 1 SCT Command/Status 0xe1 GPL,SL R/W 1 SCT Data Transfer SMART Extended Comprehensive Error Log Version: 1 (1 sectors) No Errors Logged SMART Extended Self-test Log Version: 1 (1 sectors) Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed without error 00% 74 - # 2 Short offline Completed without error 00% 50 - # 3 Short offline Completed without error 00% 26 - # 4 Short offline Completed without error 00% 2 - 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 256 0 65535 Read_scanning was never started 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. SCT Status Version: 3 SCT Version (vendor specific): 256 (0x0100) Device State: Active (0) Current Temperature: 23 Celsius Power Cycle Min/Max Temperature: 20/40 Celsius Lifetime Min/Max Temperature: 20/40 Celsius Specified Max Operating Temperature: 70 Celsius Under/Over Temperature Limit Count: 0/0 SMART Status: 0xc24f (PASSED) SCT Temperature History Version: 2 Temperature Sampling Period: 10 minutes Temperature Logging Interval: 10 minutes Min/Max recommended Temperature: 0/70 Celsius Min/Max Temperature Limit: 0/70 Celsius Temperature History Size (Index): 128 (80) Index Estimated Time Temperature Celsius 81 2023-04-18 15:40 23 **** ... ..( 2 skipped). .. **** 84 2023-04-18 16:10 23 **** 85 2023-04-18 16:20 24 ***** 86 2023-04-18 16:30 24 ***** 87 2023-04-18 16:40 24 ***** 88 2023-04-18 16:50 23 **** 89 2023-04-18 17:00 23 **** 90 2023-04-18 17:10 24 ***** ... ..( 2 skipped). .. ***** 93 2023-04-18 17:40 24 ***** 94 2023-04-18 17:50 23 **** 95 2023-04-18 18:00 24 ***** 96 2023-04-18 18:10 24 ***** 97 2023-04-18 18:20 24 ***** 98 2023-04-18 18:30 23 **** 99 2023-04-18 18:40 24 ***** 100 2023-04-18 18:50 24 ***** 101 2023-04-18 19:00 24 ***** 102 2023-04-18 19:10 23 **** 103 2023-04-18 19:20 24 ***** 104 2023-04-18 19:30 23 **** 105 2023-04-18 19:40 24 ***** ... ..( 15 skipped). .. ***** 121 2023-04-18 22:20 24 ***** 122 2023-04-18 22:30 23 **** ... ..( 5 skipped). .. **** 0 2023-04-18 23:30 23 **** 1 2023-04-18 23:40 22 *** 2 2023-04-18 23:50 22 *** 3 2023-04-19 00:00 23 **** 4 2023-04-19 00:10 22 *** 5 2023-04-19 00:20 23 **** ... ..( 22 skipped). .. **** 28 2023-04-19 04:10 23 **** 29 2023-04-19 04:20 22 *** ... ..( 30 skipped). .. *** 60 2023-04-19 09:30 22 *** 61 2023-04-19 09:40 21 ** 62 2023-04-19 09:50 21 ** 63 2023-04-19 10:00 22 *** ... ..( 7 skipped). .. *** 71 2023-04-19 11:20 22 *** 72 2023-04-19 11:30 23 **** ... ..( 2 skipped). .. **** 75 2023-04-19 12:00 23 **** 76 2023-04-19 12:10 25 ****** 77 2023-04-19 12:20 23 **** ... ..( 2 skipped). .. **** 80 2023-04-19 12:50 23 **** SCT Error Recovery Control: Read: Disabled Write: Disabled Device Statistics (GP Log 0x04) Page Offset Size Value Flags Description 0x01 ===== = = === == General Statistics (rev 1) == 0x01 0x008 4 3 --- Lifetime Power-On Resets 0x01 0x010 4 75 --- Power-on Hours 0x01 0x018 6 0 --- Logical Sectors Written 0x01 0x020 6 0 --- Number of Write Commands 0x01 0x028 6 22176 --- Logical Sectors Read 0x01 0x030 6 450 --- Number of Read Commands 0x01 0x038 6 1679000 --- Date and Time TimeStamp 0x04 ===== = = === == General Errors Statistics (rev 1) == 0x04 0x008 4 0 --- Number of Reported Uncorrectable Errors 0x04 0x010 4 0 --- Resets Between Cmd Acceptance and Completion 0x05 ===== = = === == Temperature Statistics (rev 1) == 0x05 0x008 1 23 --- Current Temperature 0x05 0x020 1 40 --- Highest Temperature 0x05 0x028 1 20 --- Lowest Temperature 0x05 0x058 1 70 --- Specified Maximum Operating Temperature 0x06 ===== = = === == Transport Statistics (rev 1) == 0x06 0x008 4 4 --- Number of Hardware Resets 0x06 0x010 4 0 --- Number of ASR Events 0x06 0x018 4 0 --- Number of Interface CRC Errors 0x07 ===== = = === == Solid State Device Statistics (rev 1) == 0x07 0x008 1 0 N-- Percentage Used Endurance Indicator |||_ C monitored condition met ||__ D supports DSN |___ N normalized value Pending Defects log (GP Log 0x0c) not supported SATA Phy Event Counters (GP Log 0x11) ID Size Value Description 0x0001 2 0 Command failed due to ICRC error 0x0002 2 0 R_ERR response for data FIS 0x0003 2 0 R_ERR response for device-to-host data FIS 0x0004 2 0 R_ERR response for host-to-device data FIS 0x0005 2 0 R_ERR response for non-data FIS 0x0006 2 0 R_ERR response for device-to-host non-data FIS 0x0007 2 0 R_ERR response for host-to-device non-data FIS 0x0008 2 0 Device-to-host non-data FIS retries 0x0009 2 9 Transition from drive PhyRdy to drive PhyNRdy 0x000a 2 4 Device-to-host register FISes sent due to a COMRESET 0x000b 2 0 CRC errors within host-to-device FIS 0x000d 2 0 Non-CRC errors within host-to-device FIS 0x000f 2 0 R_ERR response for host-to-device data FIS, CRC 0x0010 2 0 R_ERR response for host-to-device data FIS, non-CRC 0x0012 2 0 R_ERR response for host-to-device non-data FIS, CRC 0x0013 2 0 R_ERR response for host-to-device non-data FIS, non-CRC root@fireball / # You see any clues in there? I'm thinking about just leaving it as the default tho. It seems to work for others. Surely mine isn't that unique. lol Dale :-) :-) P. S. I edited the serial number parts. ;-)