Solved

Does the SCSI READ CAPACITY command?

Posted on 2010-09-21
4
802 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
  • 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Having issues meeting security compliance criteria because of those pesky USB drives? Then I can help you! This article will explain how to disable USB Mass Storage devices in Windows Server 2008 R2.
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
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 Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

939 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now