- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hpux tar to tape
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
тАО10-22-2008 06:15 PM
тАО10-22-2008 06:15 PM
I am tarring 2GB files to tape but they are getting slower over time. For example in
January 2008:
Sat Jan 12 04:16:18 SST 2008
tar -cvf <2GB file with bs=20k> /dev/rmt/2mn
23014+178610 records in
23014+178610 records out
Sat Jan 12 04:26:35 SST 2008
October 2008:
Tue Oct 14 04:15:07 SST 2008
tar -cvf <2GB file with bs=20k> /dev/rmt/2mn
8816+401760 records in
8816+401760 records out
Tue Oct 14 04:41:59 SST 2008
So in Jan it takes just over 10min, but in Oct it is almost 27 min. Also the records in/out # is much larger. Would anyone have any idea what the records in/out numbers represent (and why they are increasing)and why it is taking longer to tar the same file to tape? Thanks!
Solved! Go to Solution.
- Tags:
- tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2008 06:30 PM
тАО10-22-2008 06:30 PM
Re: hpux tar to tape
Usually tar command d'not help supports backing up file size more than 2GB "me had this issue when i'm trying doing Cold Oracle DB backup" I quickly moved to "fbackup" ..
now everthing seems to be okies .. :)
Its Just my experience only
Thanks,
Best Regards,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2008 08:44 PM
тАО10-22-2008 08:44 PM
Re: hpux tar to tape
>tar -cvf <2GB file with bs=20k> /dev/rmt/2mn
>23014+178610 records in
How are you doing it? It seems you are using dd(1) somewhere?
- Tags:
- dd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2008 09:41 PM
тАО10-22-2008 09:41 PM
Re: hpux tar to tape
The actual command is:
tar -cvf -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2008 10:35 PM
тАО10-22-2008 10:35 PM
Solutiontar -cvf -
This is going to cause you problems.
>23014+178610 records in
>23014+178610 records out
This says you have 23014 full blocks and 178610 partial blocks both read and written. See dd(1) DIAGNOSTICS.
Partial blocks to a tape is bad news.
But the most important thing besides performance and space on the tape, can you even read your tape?
Whether with tar directly or with dd then tar??
8816+401760 records in
8816+401760 records out
Now it is worse! Perhaps because of the blocksize being written with remsh is smaller??
It seems you want to experiment with something like:
tar -cvf -
In the above case, tar is writing 512. The pipe is providing 8 Kb and dd is reblocking to 20 Kb.
You can make tar blocks bigger:
tar -cvbf 16 - ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2008 10:59 PM
тАО10-22-2008 10:59 PM
Re: hpux tar to tape
We have been using the same database backup script for quite a while now and have restored the files to another server with no problem, so the backup seems to be ok.