- Community Home
- >
- Storage
- >
- Data Protection and Retention
- >
- StoreEver Tape Storage
- >
- Re: Blocksize problems on Linux with DLT8000
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2006 03:15 AM
тАО06-09-2006 03:15 AM
Blocksize problems on Linux with DLT8000
I attached a HP DLT8000 to my Linux box, and the device is found:
[root@dgbusa2 d020]# mt -f /dev/st1 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x1a (DLT 20GB).
Soft error count since last status=0
General status bits on (45010000):
BOT WR_PROT ONLINE IM_REP_EN
[root@dgbusa2 d020]#
The problem is that as soon as I want to read something, it fails, and I get the following
error:
[root@dgbusa2 d020]# tar tvf /dev/st1
st1: Failed to read 9244 byte block with 6640 byte transfer.
tar: /dev/st1: Cannot read: Cannot allocate memory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
[root@dgbusa2 d020]#
I guess it's some setting I need to get right, but I have no clue which. Any ideas out there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2006 03:55 AM
тАО06-09-2006 03:55 AM
Re: Blocksize problems on Linux with DLT8000
Try specifying the same block size with the c and t options, for example:
tar cvfb /dev/st1 64 /boot
tar tvfb /dev/St1 64
Or
tar cvf /dev/st1 -b 64 /boot
tar tvf /dev/st1 -b 64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2006 08:12 AM
тАО06-09-2006 08:12 AM
Re: Blocksize problems on Linux with DLT8000
I managed to read one tape with:
dd if=/dev/st1 of=test bs=64k
but it didn't work with tar:
tar tvf /dev/st1 -b 64
st1: Failed to read 9244 byte block with 1436 byte transfer.
tar: /dev/st1: Cannot read: Cannot allocate memory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
/K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2006 09:10 AM
тАО06-09-2006 09:10 AM
Re: Blocksize problems on Linux with DLT8000
Also, you may try dumping to disk and then tar the disk file:
dd if=/dev/st1 of=tarfile bs=64k
tar tvf tarfile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2006 09:53 AM
тАО06-09-2006 09:53 AM