- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unix Commands
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
тАО11-25-2003 07:38 AM
тАО11-25-2003 07:38 AM
What about copying from the dat tape across the network (access the dat drive from a remote machine)?
What about only using a single dat drive to copy off one tape and copy back to another?
The situation is we have backups on old dat tapes that needs to be moved to new dat tapes to maintain data integrity.
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 07:41 AM
тАО11-25-2003 07:41 AM
Re: Unix Commands
do you know how the tapes were written?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 07:43 AM
тАО11-25-2003 07:43 AM
Re: Unix Commands
"dd - convert, reblock, translate, and copy a (tape) file"
Across the network - you would have to create a pipe...
To use the same drive - dd to a filesystem, then dd it back.
If you have high end backup software (like Netbackup), then you could use utilities in it to do this - like tape duplication...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 07:48 AM
тАО11-25-2003 07:48 AM
Re: Unix Commands
# dd if=/dev/rmt/0mn of=/dev/rmt/1mn bs=10240
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 08:02 AM
тАО11-25-2003 08:02 AM
Re: Unix Commands
But if the tape is not full, dd is a simple solution, as long as you know the blocksize and there is only one file on the tape (not something to forget either).
dd if=
The info generated by this command will display the number of blocks read and the number of blocks written.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 08:06 AM
тАО11-25-2003 08:06 AM
Re: Unix Commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 10:11 AM
тАО11-25-2003 10:11 AM
SolutionAs written before, you may have variable record size.
But you may have multiple files too.
To find the block size of a file on a tape:
dd ibs=1024k obs=1 count=1 if=/dev/rmt/0mn of=/dev/null
0+1 records in
2048+0 records out
^^^^ it is the block size for that tape.
If you have multiple files ( for instance an ignite tape)
mt -t 0mn rew
mt -t 1mn rew
dd if=/dev/rmt/0mn bs=2k of=/dev/rmt/1mn
mt -t 0mn rew
mt -t 1mn rew
mt -t 0mn fsf
mt -t 1mn fsf
dd if=/dev/rmt/0mn bs=10k of=/dev/rmt/1mn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 07:53 AM
тАО11-26-2003 07:53 AM
Re: Unix Commands
to copy from a tape on the remote to tape on the local:
remsh remote-system dd if=/dev/rmt/0m bs=64k | dd of=/dev/rmt/0m bs=64k
To copy from the local tape to a remote tape:
dd if=/dev/rmt/0m bs=64k | remsh remote-system dd of=/dev/rmt/0m
JL