• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 820
  • Last Modified:

Does the SCSI READ CAPACITY command?

Does the SCSI READ CAPACITY command value of block size is the block size set the File system block size?
0
areyouready344
Asked:
areyouready344
  • 2
4 Solutions
 
FerrostiCommented:
Your filesystem does not see the SCSI protocol, so these values are independend from one another.
0
 
Duncan MeyersCommented:
http://en.wikipedia.org/wiki/SCSI_Read_Capacity_Command

Returns the block length in bytes. The block length is the block as written to the underlying device - for example, 64K for an EMC CLARiiON array, or 512 bytes for a singles disk on a SCSI controller.
0
 
DavidCommented:
No, this is the block size for the selected physical device, which is usually 512 bytes.  The CDB has no knowledge nor does it care about the file system, or even if the disk has data or a file system on it.  This is a simple CDB that reports number of addressable blocks on selected device.

To change block size, you need to use MODE SELECT command.
0
 
DavidCommented:
p.s. READ_CAPACITY returns both block size and # of addressable blocks, and there is both a 10-byte and 16-byte variation.  The 10-byte variation is only good for devices under the 2.09TB threshold.  16-byte variation of the command is now supported on most operating systems, but not all.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now