Linux查看磁盘块大小

首先,使用df命令查看所在磁盘

df -hT

显示:

Filesystem     Type   Size  Used Avail Use% Mounted on
/dev/vda1      ext4    15G  2.1G   12G  15% /
tmpfs          tmpfs  372M     0  372M   0% /dev/shm

看到虚拟磁盘为/dev/vda1,然后,使用tune2fs查看

/dev/vda1 | grep "Block size"
原文地址:https://www.cnblogs.com/imzye/p/5493871.html