Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Migrate images to more dense media

Status
Not open for further replies.

MuchoLost

Technical User
Dec 29, 2011
2
0
0
US
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!
 
If you are on Unix, then the dd command may work.
This performs a block-by-block copy of the tape.

Martin
 
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.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top