I have a disk (/dev/sda), that has two partitions (/dev/sda1 and /dev/sda2).
I was verifying the block size of 4096, of the first partition (/dev/sda1), using
the following commands:
# stat -f /dev/sda1
# fdisk -l
Those commands provided that verification. Are there any other commands
that I can use to provide me that same information (block size) for that
first partition?
Thanks in advance for your contribution!
@Trevor will wait for other learners to provide commands, meanwhile I will use another approach, see if it serves your purpose : I will create a minimal file in that filesystem, its size will be negligible but you can see the disk allocation for a file :
or else if you have mounted the paritition somewhere, then you can check the bsize with xfs_info :
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.