- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Speed on using TAR
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
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
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
11-25-2003 06:16 PM
11-25-2003 06:16 PM
Speed on using TAR
I am using TAR to backup all the oracle datafiles onto a DLT8000 tape drive. They only have 3.5GB data but I found that it takes more than half hour to tar the files. Is it reasonable ? Is there a quicker method to backup the files using tar ? Also I cannot find any option of tar to specific the block size. Is that true ?
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 06:23 PM
11-25-2003 06:23 PM
Re: Speed on using TAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 06:24 PM
11-25-2003 06:24 PM
Re: Speed on using TAR
You can try fbackup.
Either fbackup or tar will not get good copies of the data unless the database is down for backup.
Other factors influencing speed include other devices in the scsi chain with the tape drive. This is bad for it degrades speed.
Another factor is how much activity on the disk device when you are running the backup. If this is a very busy system your speed is reasonable. If not, you need to provide more information to get a useful opinion from me.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:11 PM
11-25-2003 07:11 PM
Re: Speed on using TAR
You should be able to get 5-8Mb/sec to your DLT (roughly 2-3 minutes per Gb) provided you increase the blocksize that it writes to tape.
Use -b 64 to set the blocksize to 64Kb.
I've never found any situation where it's been necessary to disable hardware compression on the tape drive. In my experience, Oracle datafiles tend to compress fairly well.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:24 PM
11-25-2003 07:24 PM
Re: Speed on using TAR
I'm not sure that using a simple tar to backup on a DLT is good. DLT can write much faster than tar can read and I'm not sure that you can reach the required speed for "streaming mode". In this case your DLT will always start and stop. This could even damage you DLT. Diabling compression could be an improvment, but using a real backup tool with many readers would be the best.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:31 PM
11-25-2003 07:31 PM
Re: Speed on using TAR
If that is slow too, try doing a dd to the tapedrive from something like /dev/zero and /dev/random if you have them, to test the DLT drive. I had a faulty tapedrive (DLT8000 too) a year back and was looking at the software for the cause, when after 2 weeks of testing we were able to proof by using another tapedrive that the tapedrive was faulty... We could only get it streaming with /dev/zero, but as soon as the data was not all zero's, the speed dropped to a crawl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 07:33 PM
11-25-2003 07:33 PM
Re: Speed on using TAR
this makes it less than 2mb per second, which is slow. Which device are you using?
Hi SEP
you cant say that backup isnt good, when the database is open. Set tablespaces with begin backup and it works also.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 09:34 PM
11-25-2003 09:34 PM
Re: Speed on using TAR
"fbackup combines features of dump and ftio to provide a flexible, high-speed file system backup mechanism (see dump(1M) and ftio (1))."
Some other posts:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=14799
A tble comparison of backup utilities:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-2216/5187-2216_top.html&con=/hpux/onlinedocs/5187-2216/00/00/56-con.html&toc=/hpux/onlinedocs/5187-2216/00/00/56-toc.html&searchterms=fbackup&queryid=20031126-033157
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 04:20 AM
12-01-2003 04:20 AM
Re: Speed on using TAR
are you still with us?
greetings,
Michael