Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...An excellent site which has quite possibly prevented me from having a mental/nervous breakdown..."

Geography

Where in the world do Tek-Tips members come from?
MuchoLost (TechnicalUser)
29 Dec 11 17:26
I am trying to migrate Netbackup images from AIT3 media to LTO4 media. The kicker is that I have to do this seperately from the Netbackup environment.

Does anyone know how to migrate b/u images from one media type to another, in order to 'stack' more of the images onto denser tape, thus reducing the amount of tapes that we are paying for offsite storage? Again, I have to perform this magic without using the Netbackup environment that created the original images.

Any/all assistance will be appreciated!
Martin999 (TechnicalUser)
4 Jan 12 2:39
If you are on Unix, then the dd command may work.
This performs a block-by-block copy of the tape.

Martin
MuchoLost (TechnicalUser)
4 Jan 12 9:48
Thanks. I had considered this, however I am concerned with the header information that Netbackup writes on each cartridge, before writing the datasets. If I simply copy using dd, I am concerned that the next input tape may not be recoverable, because of it's header data confusing the restore operations.
Martin999 (TechnicalUser)
11 Jan 12 3:21
The header is just a 1K block - dd should copy this also - note, the copied tape will need an identicle bar code of course ...

I've just tried it, coping the header from one tape to another using dd ...

Only way to find it, it to give it a go I guess ...


Here I have two tapes in two drives ....


Drive Name               Label   Ready  RecMID  ExtMID  Wr.Enbl.  Type
    Host                       DrivePath                            Status
=============================================================================
Drive000                 Yes     Yes    R1TP00          Yes       4mm
    womble                     /devices/pci@1e,600000/pci@0/pci@9/p TL4

HP.DAT72X6.000           Yes     Yes    R0TP00          Yes       4mm
    womble                     /dev/rmt/1cbn                        TL4




Here is the header of media R0TP00


root@womble  $ mt -f /dev/rmt/1cbn rew
root@womble  $ od -c /dev/rmt/1cbn
0000000   V   O   L   1   R   0   T   P   0   0  \0  \0  \0  \0  \0  \0
0000020  \0  \0  \0  \0  \0  \0  \0 001  \0  \0  \0  \f   O 006   ý   C
0000040  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000060  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \n  \0  \0  \0 001
0000100  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 004  \0  \0  \0  \0  \0
0000120  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0000160   T   h   I   s       I   s       A       B   P       t   A   p
0000200   E       h   E   a   D   e   r  \0  \0  \0  \0  \0  \0  \0  \0
0000220  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0002000



And here is the header of R1TP00


root@womble  $ od -c /dev/rmt/0cbn

0000000   V   O   L   1   R   1   T   P   0   0  \0  \0  \0  \0  \0  \0
0000020  \0  \0  \0  \0  \0  \0  \0 001  \0  \0  \0  \f   N   Ã 233   ð
0000040  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000060  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 013  \0  \0  \0 001
0000100  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 004  \0  \0  \0  \0  \0
0000120  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0000160   T   h   I   s       I   s       A       B   P       t   A   p
0000200   E       h   E   a   D   e   r  \0  \0  \0  \0  \0  \0  \0  \0
0000220  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0002000


I copied the header like this :

root@womble  $ dd if=/dev/rmt/0cbn of=/dev/rmt/1cbn bs=1024 count=1
1+0 records in
1+0 records out


Let's read the header again on R0TP00 ( /dev/rmt/1cbn ) - it should come back as R1TP00

It does ...

root@womble  $ mt -f /dev/rmt/1cbn rew
root@womble  $ od -c /dev/rmt/1cbn
0000000   V   O   L   1   R   1   T   P   0   0  \0  \0  \0  \0  \0  \0


Martin

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close