- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tape to tape copy --> duplicate a cpio archive
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
02-04-2004 12:04 AM
02-04-2004 12:04 AM
tape to tape copy --> duplicate a cpio archive
What's a good method to duplicate a cpio tape using a tape to tape copy?
My source and copy tape are located on different boxes in the same network. Both DDS-3 drives. I've already tried using dd piped throuh ssh to the copy host, but it failed when I list the tape contents... get "out of synch" errors.
Here are the cmds from the "failed" attempt;
dd if=$SRCTAPE bs=5120 |ssh -l root $CPHOST "/usr/bin/dd of=$CPTAPE bs=5120"
The dd completes w/out error, but cpio to list the contents fails on "out of synch"... using -R gets a little more to the list, but ultimately fails. I'm assuming dd won't be my answer.
Any thoughts on the best (safest/fastest) method to do this is?
Thanks!
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 12:27 AM
02-04-2004 12:27 AM
Re: tape to tape copy --> duplicate a cpio archive
I've done this in the past, with remsh instead of ssh, and it worked fine. Even with ascii to ebcdic conversions etc. But the bs is really important!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 12:32 AM
02-04-2004 12:32 AM
Re: tape to tape copy --> duplicate a cpio archive
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 12:40 AM
02-04-2004 12:40 AM
Re: tape to tape copy --> duplicate a cpio archive
tape1 to disk
#dd if=/dev/rmt/?? of=/tmp/file bs=5120
disk to tape2
#dd if=/tmp/file of=/dev/rmt/?? bs=5120
This should do the work for you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 12:53 AM
02-04-2004 12:53 AM
Re: tape to tape copy --> duplicate a cpio archive
I'm also looking to avoid running a 2nd cpio to create another tape from the filesystem, the original took about 14 hours to complete. this is why I looked to dd 1st to do the tape-to-tape via network.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 07:22 AM
02-04-2004 07:22 AM
Re: tape to tape copy --> duplicate a cpio archive
Had to specify both ibs and obs with dd. I figured simply "bs=5120" was supposed to set both input and output bs... either way, setting ibs=5120 and obs=5120 seems to be doing it.
-denver