If you want to check the Block Size / Allocation Unit on Windows, you can use the following powershell command:

  • Check volumes blocksize.
Get-CimInstance -ClassName Win32_Volume | Select-Object Name,Filesystem,Label,Blocksize | Sort-Object Name | Format-Table -AutoSize

Get-WmiObject -Class Win32_Volume -ComputerName $env:COMPUTERNAME | Select BlockSize,Name,FileSystem | Format-Table -AutoSize
  • Check partitions blocksize and StartingOffset.
Get-WmiObject -Class Win32_DiskPartition -ComputerName $env:COMPUTERNAME | select Name, NumberOfBlocks, Size, StartingOffset, Blocksize | Format-Table -AutoSize
  • Check only the CSV (Cluster shared volume) on the Hyper-V Cluster
Get-CimInstance -ClassName Win32_Volume | where {$_.Filesystem -eq "CSVFS"} | Select-Object Name,Filesystem,Label,Blocksize | Sort-Object Name | Format-Table -AutoSize
  • Check allocation unit based on Drive Letter.
(Get-Volume | Where {$_.DriveLetter -eq 'driveletter'}).AllocationUnitSize