Logical Block Size:A "block", a contiguous number of bytes, is the minimum unit of memory that is read from and written to a disk by a disk driver (
出处)
它一般是Sector Size的倍数
要明确的是,块是文件系统的抽象,不是磁盘本身的属性。
扇区大小则是磁盘的物理属性,它是磁盘设备寻址的最小单元。
Linux中,
1.查看某个分区的Block Size: blockdev –getbsz /dev/sda7
2.查看硬盘的扇区大小(Sector Size): 通过fdisk -l可以看到
Linux内核还要求 Block_Size = Sector_Size * (2的n次方),并且Block_Size <= 内存的Page_Size(页大小)