Computer/Checking the physical and logical sector size of a drive on Windows

From Mamin LAB
Jump to navigation Jump to search

How to find the physical and logical sector size of a drive on Windows[edit | edit source]


Main_Page > Computer > Checking the physical and logical sector size of a drive on Windows



Using command prompt[edit | edit source]

In the command prompt with administrator privilege, you can type the below command.

If you are checking C drive:

fsutil fsinfo sectorinfo c:

If you are checking D drive:

fsutil fsinfo sectorinfo d:


You may see the logical and physical sector size like the below example.

LogicalBytesPerSector :                                 512
PhysicalBytesPerSectorForAtomicity :                    4096
PhysicalBytesPerSectorForPerformance :                  4096
FileSystemEffectivePhysicalBytesPerSectorForAtomicity : 4096
Device Alignment :                                      Aligned (0x000)
Partition alignment on device :                         Aligned (0x000)
No Seek Penalty
Trim Supported
Not DAX capable
Not Thinly-Provisioned

LogicalBytesPerSector 512 means the drive that is used with C drive letter has 512 byte logical size sector.

PhysicalBytesPerSectorForAtomicity 512 means the drive that is used with C drive letter has 512 byte logical size sector.


Using Windows PowerShell[edit | edit source]

In the Windows PowerShell with administrator privilege, you can type the below command.

Get-Disk | Format-List

You may see the logical and physical sector size like the below example.

UniqueId           : eui.1234567890ABCDEF
Number             : 0
Path               : \\?\scsi#disk&ven_nvme&prod_XXXXXX#5&12345678&0&000000#{12345678-1234-1234-1234-123456789012}
Manufacturer       :
Model              : Sabrent
SerialNumber       : 1234_1234_1234_1234.
Size               : 953.87 GB
AllocatedSize      : 1024208494592
LogicalSectorSize  : 512
PhysicalSectorSize : 4096
NumberOfPartitions : 7
PartitionStyle     : GPT
IsReadOnly         : False
IsSystem           : True
IsBoot             : True