blockdev –getsize64 /dev/sda Posted on 2022-03-26 [Saturday] by Jay Jay Today I learned you can get the size of a block device with e.g.: sudo blockdev --getsize64 /dev/sda