- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Crontab, tar command, Oracle export
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
тАО03-16-2004 02:51 AM
тАО03-16-2004 02:51 AM
Crontab, tar command, Oracle export
I have 2 problems: 1. when I check my results, tar -tvf /dev/rmt/0m, I receive this message, "Tar: blocksize = 16 directory checksum error". The tape is OK. I performed a tar using a the tmp directory; 2. Where did the export dump file go? I created a file to on the server that states "Export terminated successfully without warnings"
Also, I will need to export a file to tape that will exceed UNIX 2GB limit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2004 02:59 AM
тАО03-16-2004 02:59 AM
Re: Crontab, tar command, Oracle export
Check your /dev directory for a file called rmt0. I bet that is where your archive is.
The tar command, by default, cannot handle files larger than 2GB. However, if you install the latest tar patches, that will enable you to handle files up to 8GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2004 03:01 AM
тАО03-16-2004 03:01 AM
Re: Crontab, tar command, Oracle export
http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_28992&context=hpux:800:11:11
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
тАО03-16-2004 03:03 AM
тАО03-16-2004 03:03 AM
Re: Crontab, tar command, Oracle export
You might find that a better option is to do your exports to a named pipe:
mknod /xxx/mypipe p
Next you do something like this:
dd if=/xxx/mypipe ibs=1b obs=500b of=/dev/rmt/0m
(This command will just sit there waiting for input.)
Next you do your export using file=/xxx/mypipe
When the export finishes, the dd command also terminates and you have the data on tape.
Man 1m mknod and dd for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2004 03:23 AM
тАО03-16-2004 03:23 AM
Re: Crontab, tar command, Oracle export
To Patrick, in my cronjob, I'm using /dev/rmt/0m. The dump file is not listed in this directory.
To Patrick and Steven, I'll check with my UNIX Sys Admin regarding installing the tar patch.
To Clay, I have these instructions for handling 2GB+ files but wasn't sure if I could use this in a script to run in crontab, "
mknod exp.dmp p
split -b2047m exp scott/tiger file=/tmp/data/exp.dmp
I'll try this to see if it works after I get the smaller file to work.
Thanks again!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2004 05:44 AM
тАО03-16-2004 05:44 AM
Re: Crontab, tar command, Oracle export
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2004 05:59 AM
тАО03-16-2004 05:59 AM
Re: Crontab, tar command, Oracle export
"tar -tvf /dev/rmt/0m" I get this message,
Tar: blocksize = 1
directory checksum error
Should I use this command to check the tape to see if the file exists?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2004 08:39 AM
тАО03-17-2004 08:39 AM
Re: Crontab, tar command, Oracle export
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2004 09:05 AM
тАО03-17-2004 09:05 AM
Re: Crontab, tar command, Oracle export
Thanks for your help!!