[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian support on newer 4K Advanced format drives (rather than 512 bytes)



Ron Johnson put forth on 7/3/2010 2:36 PM:

>> This is unrelated.  FS block size != sector size.
> 
> It is when you use a 4KB drive!!!!

Not according to man on Stable:

mkfs.xfs [ -b block_size ] ... [ -s sector_size  ] [ -L label ] [ -N ] device

-b block_size_options

    This option specifies the fundamental block size of the filesystem. The
valid block_size_options are: log=value or size=value and only one can be
supplied. The block size is specified either as a base two logarithm value
with log=, or in bytes with size=. The default value is 4096 bytes (4 KiB),
the minimum is 512, and the maximum is 65536 (64 KiB). XFS on Linux currently
only supports pagesize or smaller blocks.

-s sector_size
    This option specifies the fundamental sector size of the filesystem. The
sector_size is specified either as a value in bytes with size=value or as a
base two logarithm value with log=value. The default sector_size is 512 bytes.
The minimum value for sector size is 512; the maximum is 32768 (32 KiB). The
sector_size must be a power of 2 size and cannot be made larger than the
filesystem block size.

-- 
Stan



Reply to: