[root@test ~]# blockdev --report /dev/sdb
RO RA SSZ BSZ StartSec Size Device
rw 256 512 4096 0 5368709120 /dev/sdb
[root@test ~]#
RO RA SSZ BSZ StartSec Size Device
rw 256 512 4096 0 5368709120 /dev/sdb
[root@test ~]#
RA : Read Ahead.
SSZ : Sector Size.
BSZ : Block Size.
Size : Size of the disk.
Available commands:
--getsz get size in 512-byte sectors
--setro set read-only
--setrw set read-write
--getro get read-only
--getss get logical block (sector) size
--getpbsz get physical block (sector) size
--getiomin get minimum I/O size
--getioopt get optimal I/O size
--getalignoff get alignment offset
--getmaxsect get max sectors per request
--getbsz get blocksize
--setbsz BLOCKSIZE set blocksize
--getsize get 32-bit sector count
--getsize64 get size in bytes
--setra READAHEAD set readahead
--getra get readahead
--setfra FSREADAHEAD set filesystem readahead
--getfra get filesystem readahead
--flushbufs flush buffers
--rereadpt reread partition table
No comments:
Post a Comment