Question : AIX non rootvg backup of two system

can we take the backup of non rootvg of two systems on one tape with savevg command, can rmt0.1 or rmt0.2 or rmt0.3 help in these problems. please tell the solutions

Answer : AIX non rootvg backup of two system

Hi again,

Are you sure that your tape drive is not broken?
If the tape drive was correctly assigned to your partition, loaded with a tape and not in use by another process, there shouldn't be errors like the above. If in doubt, you can always issue 'tctl -f /dev/rmt0 reset' and watch what happens.

Here's a description of the whole 'savevg' procedure in detail:

  1. Assign a free tape drive to your first partition using your HMC. 
  2. Issue 'cfgmgr' in that partition. Make sure the drive has actually become rmt0!
     
  3. Load an empty tape, make sure the drive is 'ready'. 
  4. Issue 'tctl -f /dev/rmt0 rewind' as a precaution. 
  5. Issue 'savevg -i -f  /dev/rmt0 [vg_of_first_lpar]' 
  6. Issue   'tctl -f /dev/rmt0 rewoffl' 

Now detach the tape drive from your first partition, using the appropriate 'rmdev' commands. I assume you are familiar with how to do this.

  1. Assign the tape drive to your second partition using your HMC. 
  2. Issue 'cfgmgr' in that partition. Make sure the drive has actually become rmt0!
     
  3. Load the tape from above, make sure the drive is 'ready'. 
  4. Issue 'tctl -f /dev/rmt0 rewind' as a precaution. 
  5. Issue 'tctl -f /dev/rmt0.1 fsf 1' 
  6. Issue 'savevg -i -f  /dev/rmt0.1 [vg_of_second_lpar]' 
  7. Issue   'tctl -f /dev/rmt0 rewoffl' 

This way it should work, if there's no hardware problem, however.

Keep in mind that you'll have to space forward the tape one file ('tctl -f /dev/rmt0.1 fsf 1') before attempting to restore the second vg!

wmp







Random Solutions  
 
programming4us programming4us