On Wed, Apr 19, 2023 at 10:59 AM Dale <rdalek1...@gmail.com> wrote: > > 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 / #
Note that all of these technologies, HDD, SDD, M.2, report different things and don't always report them the same way. This is an SDD in my Plex backup server: mark@science:~$ sudo smartctl -x /dev/sdb [sudo] password for mark: smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-69-generic] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Crucial/Micron Client SSDs Device Model: CT250MX500SSD1 Serial Number: 1905E1E79C72 LU WWN Device Id: 5 00a075 1e1e79c72 Firmware Version: M3CR023 User Capacity: 250,059,350,016 bytes [250 GB] Sector Sizes: 512 bytes logical, 4096 bytes physical In my case the physical block is 4096 bytes but addressable in 512 byte blocks. It appears that yours is 512 byte physical blocks. [QUOTE] === 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/physica [QUOTE]