DdB composed on 2023-02-16 09:15 (UTC+0100):

> Felix Miata wrote:

>> What physical boundaries do SSDs have to report? All I know about that are 
>> exposed
>> are sector size and sector count. I have yet to find one where 
>> logical/physical
>> were not 512B/512B.
 
> That is what i meant: nowadays SSD's at least are AF Advanced Format =
> 4KB sector size), but even much more than that. Do not trust the values
> reported but check documentation properly. 512B is only virtual
> (sometimes called 512e - for emulated).
 
You have it backwards. All HDDs tooled since 2011 are advanced format with 4k
physical sectors. e.g.
# parted /dev/sdb print | head
Model: ATA ST1000DM003-1CH1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name                              
Flags
 1      1049kB  420MB   419MB                ST1jh6e reserved
 2      420MB   756MB   336MB                ST1jh6e realboot backup template
 3      756MB   1092MB  336MB                ST1jh6e realboot

None of the 25 or so SSDs/NVMEs I have have 4k sectors. e.g.
# parted -l | head
Model: ATA TEAM T253X2256G (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                            
    Flags
 1      1049kB  337MB   336MB   fat32           TG1P01 EFI System (ESP) T253X 
2295  boot, esp
 2      337MB   1885MB  1549MB  linux-swap(v1)  TG1P02 Linux Swap               
    swap
 3      1885MB  2305MB  419MB   ext2            TG1P03 Linux reservation
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

Reply via email to