- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unknown tape blocksize
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
Forums
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
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
тАО09-08-2003 10:09 PM
тАО09-08-2003 10:09 PM
Unknown tape blocksize
Is there a way to determine the blocksize with which the tape has been created?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 10:26 PM
тАО09-08-2003 10:26 PM
Re: Unknown tape blocksize
blovk size should not be a real issue, because you can read from the tape and pad data as you want with dd, or simply send data to imp.
Real problem is: what format is the tape ?
dd
cpio
pax
fbackup
omniback
oracle export
?
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 10:31 PM
тАО09-08-2003 10:31 PM
Re: Unknown tape blocksize
Here's a snap from the oracle export log:
Note: RECORDLENGTH=65536 truncated to 65535
I've tried both blocksizes with dd, but it's only restoring 4 or 5 MB's a minute, which should be 500 or more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 10:31 PM
тАО09-08-2003 10:31 PM
Re: Unknown tape blocksize
Glen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 10:36 PM
тАО09-08-2003 10:36 PM
Re: Unknown tape blocksize
on the server with the LTO (i call it 0m as example)
dd if=/dev/rmt/0m bs=256k of=/big_dir/oracle.dmp
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 10:41 PM
тАО09-08-2003 10:41 PM
Re: Unknown tape blocksize
dd if=/dev/rmt/10m of=/big_dir/oracle.dmp bs=64k
After +/- 5 mins it restored +/- 5 MB which is far to slow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 10:44 PM
тАО09-08-2003 10:44 PM
Re: Unknown tape blocksize
if that works, check the speed. You can go up with the parameter bs.
I checked the recordlenght on metalink, and it is only used as a buffer, it should not matter.
Use a larger bs block.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 10:47 PM
тАО09-08-2003 10:47 PM
Re: Unknown tape blocksize
For commands that use density and tape size settings the tape density is
124,000 bpi and the tape length is 1800 feet. For commands which use a
blocking factor we suggest a factor of 128.
try the dd with bs=128k... Although that doesn't mean it was actually written that way...
Glen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2003 11:48 PM
тАО09-08-2003 11:48 PM
Re: Unknown tape blocksize
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2003 12:26 AM
тАО09-09-2003 12:26 AM
Re: Unknown tape blocksize
Glen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2003 01:05 AM
тАО09-09-2003 01:05 AM
Re: Unknown tape blocksize
i think that we are not getting fast because we cannot keep the drive streaming....
Can you try the following:
dd if=/dev/rmt/10m bs=65535k of=/big_dir/oracle.dmp
So we should use a block of 65M, it should go.
BTW i do not know how to find out the original block size. Couldn't you ask the person that did the export ?
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2003 01:15 AM
тАО09-09-2003 01:15 AM
Re: Unknown tape blocksize
Is the drive directly connected to the system? If so, using what kind of SCSI card (specifically, I'm looking to find out the max transfer speed). Any other devices on the same bus? Transferring from tape to disk on the same bus still needs to go via the kernel, so you're effectively halving your max throughput. What other activity is going on on this machine - is the backplane getting saturated to such an extent that data cannot be transferred any faster?
Tape blocksize itself should not be an issue here. The fact that it's reading without error shows that getting data off each block is working fine. If you're looking at changing this, then do it at backup time. Smaller blocksizes for large files will create a small performance hit when writing all the tape marks. Large blocksizes for small files will also create a performance hit since you're writing a whole lot of blank space before the end of the block. At recover time, the blocksize is what's on tape - you're not going to change the way its written at that point.
I'd also suggest getting a scrap tape and sending a 10MB file to it using "time tar cvf..." and recovering using "time tar tvf..." to check the write vs read time (using tvf will still read the entire contents). If there's a big discrepancy here, contact the drive vendor. Use 0m in both cases since you'll get the drive doing the same operations (starting from the beginning, writing/reading, then rewinding).
HTH,
Stuart.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2003 01:55 AM
тАО09-09-2003 01:55 AM
Re: Unknown tape blocksize
The machine we're restoring on is used to do
ignite backups during the weekend. We've also tried an other tape to see if the drive and the path to it is ok.
With a tape created with bs=8k we get up to speeds of 600MB/min.
I've sent an email to figure out with wich command (and blocksize of course) the tape was created. I think it's best to wait for that answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2003 10:12 PM
тАО09-14-2003 10:12 PM
Re: Unknown tape blocksize
Got a reply from the supplier of the tape, it seems they've created the tape with a blocksize of 64k.
After trying to restore (again) it seems that the tape was rotten, I've got a new tape from the supplier, the restore went fine.
Thanx for your help!