Solved

Does the SCSI READ CAPACITY command?

Posted on 2010-09-21
4
805 Views
Last Modified: 2012-05-10
Does the SCSI READ CAPACITY command value of block size is the block size set the File system block size?
0
Comment
Question by:areyouready344
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
Ferrosti earned 63 total points
ID: 33729610
Your filesystem does not see the SCSI protocol, so these values are independend from one another.
0
 
LVL 30

Assisted Solution

by:Duncan Meyers
Duncan Meyers earned 62 total points
ID: 33730230
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
 
LVL 47

Assisted Solution

by:dlethe
dlethe earned 125 total points
ID: 33730522
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
 
LVL 47

Assisted Solution

by:dlethe
dlethe earned 125 total points
ID: 33730554
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
San to San Replication Slowness/Issues 3PAR 7000 5 68
NAS Solution for VMware ESXi 2 121
IMAP storage issue 6 74
Dell PowerEdge R620 with Perc H310 Raid Controller 6 62
AWS Glacier is Amazons cheapest storage option and is their answer to a ‘Cold’ storage service.  Customers primarily use this service for archival purposes and storage of infrastructure backups.  Its unlimited storage potential and low storage cost …
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question