Bug 573943
Summary: | Technical note: Better document cpio behavior when using tape mechanic (find proper block size) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jan Ščotka <jscotka> |
Component: | cpio | Assignee: | Pavel Raiskup <praiskup> |
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 5.5 | CC: | azelinka, jpopelka, rvokal |
Target Milestone: | rc | Keywords: | Documentation |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
The cpio utility uses a default block size of 512 bytes for I/O operations. This may not be supported by certain types of tape devices. If a tape device does not support this block size, cpio fails with the following error message:
cpio: read error: Cannot allocate memory
To work around this issue, modify the default block size with the --block-size long option, or use the -B option to set the block size to 5120 bytes. When the block size supported by the tape device is provided, the cpio utility works as expected. (BZ#573943 )
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-07-03 12:31:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 656090, 718609 |
Description
Jan Ščotka
2010-03-16 09:38:38 UTC
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The cpio utility uses default block size for i/o operations 512 bytes. This may be not supported by certain types of tape devices. If tape device does not support this blocksize, cpio fails with confusing error message 'cpio: read error: Cannot allocate memory'. Solution is pretty easy, you could modify the default blocksize by --block-size long option (or use -B option to set blocksize to 5120 bytes). When block size supported by tape device is provided, cpio works as expected. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,2 +1,5 @@ -The cpio utility uses default block size for i/o operations 512 bytes. This may be not supported by certain types of tape devices. If tape device does not support this blocksize, cpio fails with confusing error message 'cpio: read error: Cannot allocate memory'. Solution is pretty easy, you could modify the default blocksize by --block-size +The cpio utility uses a default block size of 512 bytes for I/O operations. This may not be supported by certain types of tape devices. If a tape device does not support this block size, cpio fails with the following error message: -long option (or use -B option to set blocksize to 5120 bytes). When block size supported by tape device is provided, cpio works as expected.+ +cpio: read error: Cannot allocate memory + +To work around this issue, modify the default block size with the --block-size long option, or use the -B option to set the block size to 5120 bytes. When the block size supported by the tape device is provided, the cpio utility works as expected. (BZ#573943 ) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-1055.html |