The Linear Tape File System utilities use a block size of 512 KB by default. When trying to format a tape using LTFS on a windows 2008 (possibly windows 2012) machine the formatting will fail and LTFS will complain that the maximum block size of the HBA adapter is less than 512 KB. To fix this problem do the following

  • Open the registry editor
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\0002\Parameters
  • Change MaxTransferLength to 0x80000 from 0x40000
  • Close the registry edition and reboot the system

The MaxTransferLength of 0x40000 (256 KB) is the reason for LTFS to complain that the HBA adapter block size is less than 512 KB. We have now changed that to 512 KB which is the minimum required for LTFS.

After a reboot format and mount of LTFS volumes will proceed successfully.