Resolves compatible with PB size storage file and Linux CentOS 7 commands including iscsiadm, parted, fdisk, mkfs.* #43
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. Fix redundant one block capacity
After login jSCSI target via the Linux bundled iSCSI initiator command
iscsiadm
,fdisk -l
reports capacity with one redundant block (512 bytes), e.g.and jSCSI logs error messages about read / write address out of range.
All of above are caused by jSCSI target returning wrong capacity value.
This pull request fix it,
and also fix #8 for the same cause.
2. Add Unit Serial Number page into INQUIRY command
After login jSCSI target via the Linux bundled iSCSI initiator command
iscsiadm
,jSCSI logs error messages about illegal INQUIRY request like
which is an Unit Serial Number page INQUIRY request,
added support by this pull request.
3. Support PB size storage file as target
This pull request adds iSCSI commands
READ (16), READ (12), WRITE (16), WRITE (12)
to jSCSI target module,so that PB size file can be used as storage.
It works under Linux CentOS 7 with the bundled commands iscsiadm, parted, fdisk, mkfs.*
4. Support Linux parted command
Linux CentOS 7 bundled command
parted
aborts with errorbecause lack of
REPORT SUPPORTED OPERATION CODES
in jSCSI target,which is fixed by this pull request.
5. Enrich README