Fujitsu MAN3184 User Manual

Page of 302
C141-E124-01EN
3 - 133
3.4.7
WRITE SAME (41)
                         Bit
Byte
7
6
5
4
3
2
1
0
0
X‘41’
1
LUN
0
0
PBdata
LBdata
RelAdr
2
Logical Block Address (MSB)
3
Logical Block Address
4
Logical Block Address
5
Logical Block Address (LSB)
6
0
0
0
0
0
0
0
0
7
Number of Blocks (MSB)
8
Number of Blocks (LSB)
9
0
0
0
0
0
0
Flag
Link
This command requests that the device server write the single block of data transferred by the
application client to the medium multiple times to consecutive multiple logical blocks.
A "Logical Block data (LBdata)" bit of zero and a "Physical Block data (PBdata)" bit of zero
indicates that the single block of data transferred by the application client shall be used without
modification.  A "LBdata" bit of one requests that the device server replace the first four bytes of
the data to be written to the current logical block with the logical block address of the block
currently being written.
A "PBdata" bit of one requests that the device server replace the first eight bytes of the data to be
written to the current physical sector with the physical address of the sector currently being written
using the physical sector format.
The IDD is not supported a "PBdata" bit. Therefore, if "PBdata" bit is one, this command is
terminated with CHECK CONDITION status (ILLEGAL REQUEST [=5] / Invalid field in CDB
[=24-00]).
A "Relative Address (RelAdr)" bit of zero indicates that the "Logical Block Address" field
specifies the first logical block of the range of logical blocks for this command.
A "RelAdr" bit of one indicates that the "Logical Block Address" field is a two's complement
displacement.  But the IDD is not supported this bit.  Therefore, if this bit is one, this command is
terminated with CHECK CONDITION status (ILLEGAL REQUEST [=5] / Invalid field in CDB
[=24-00]).
The "Number of Blocks" field specifies the number of contiguous logical blocks to be written.  A
"Number of Blocks" field of zero requests that all the remaining logical blocks onthe medium be
written.