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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

savevg 2

Status
Not open for further replies.

Diogo

Technical User
Mar 22, 2001
143
PT
Can i make a copy of two volume groups to the same tape?

Thanks any way...

Diogo Reis
 
Yes, just use the no-rewind device for the first (usually /dev/rmt0.1), and assuming your tape is capable of holding the two together. This creates two logical tapes with one vg following the other in sequence.
 
Here's how we do it (simplified):

Code:
/usr/bin/savevg -Xief /dev/rmt1.3 -p vg1

/usr/bin/savevg -Xief /dev/rmt1.1 -p vg2

Click here for IBM's online documentation of the rmt special files. To restore or pull a toc from the second backup, add "-s 2" to the restore command and use a no-rewind device.

Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
Thanks, it's just what i need.

Diogo Reis
 
Tape function

Special File Name, Rewind-on-Close, Retension-on-Open, Bytes per Inch

/dev/rmt*, Yes, No, Density setting #1

/dev/rmt*.1, No, No, Density setting #1

/dev/rmt*.2, Yes, Yes, Density setting #1

/dev/rmt*.3, No, Yes, Density setting #1

/dev/rmt*.4, Yes, No, Density setting #2

/dev/rmt*.5, No, No, Density setting #2

/dev/rmt*.6, Yes, Yes, Density setting #2

/dev/rmt*.7, No, Yes, Density setting #2

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top