- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Making a copy of HP-UX 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
тАО05-06-2008 08:26 PM
тАО05-06-2008 08:26 PM
Making a copy of HP-UX tape
I got a tape created by some body as a simple data tape not a image etc on HP-UX. What is the best wa to make a duplicate tape out of it ?
Thanks
Nahmad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 08:35 PM
тАО05-06-2008 08:35 PM
Re: Making a copy of HP-UX tape
- Tags:
- dd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 11:26 PM
тАО05-06-2008 11:26 PM
Re: Making a copy of HP-UX tape
Thanks
Nahmad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2008 11:40 PM
тАО05-06-2008 11:40 PM
Re: Making a copy of HP-UX tape
dd if=/dev/rmt/0m of=/dev/rmt/1m
If you have only 1 tape drive on the system, you can copy the tape content into a disk file first, then copy back to another tape:
dd if=/dev/rmt/0m of=XXX
dd if=XXX of=/dev/rmt/0m
where XXX is the filename.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 03:35 AM
тАО05-07-2008 03:35 AM
Re: Making a copy of HP-UX tape
Does dd(1) handle multiple file marks and varying record sizes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 04:12 AM
тАО05-07-2008 04:12 AM
Re: Making a copy of HP-UX tape
What do you mean by "simple data tape"? What method or command would you use to read this tape? You have to use the SAME method/command to make a copy of it.
If it is a tar tape you have to read it with tar and make a copy of it with tar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 04:50 PM
тАО05-07-2008 04:50 PM
Re: Making a copy of HP-UX tape
I don't think dd would handle multiple file marks nor varying record size. To my understanding dd is just to handle the copy/transfer of binary data from one media to another media in block sizes.
Staying the previous example I was assuming Nahmad has only one sector on the tape. Therefore, if there is mutiple sector on the tape then 0mn should be used instead of 0m.
Please correct me if I have anything missing or wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 06:24 PM
тАО05-07-2008 06:24 PM
Re: Making a copy of HP-UX tape
This hasn't changed for the last 20 years that I've been playing with HP-UX. There are a few commercial products (Google: tape copier) that should work but for a free solution, you'll have to know the format of the tape (ie, tar, cpio, etc), then restore the data in a temp location and then backup the data on another tape.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 08:24 PM
тАО05-07-2008 08:24 PM
Re: Making a copy of HP-UX tape
> [...] you'll have to [...]
At long last, we've finally found the
computer problem which admits only one
solution. This wonderful finding should be
published more widely, as it will be the
source of much amazement.
Irregardful, it might help to have some idea
of how the tape was created. A "simple data
tape" is not a well-defined object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2008 08:52 PM
тАО05-07-2008 08:52 PM
Re: Making a copy of HP-UX tape
Right, I was responsible for the FCOPY utility decades ago.
You just tell the OS you wanted Undefined length records, of a maximum size, and how many files you wanted to copy. Of course you needed to use two round tapes.