Showing results for 
Search instead for 
Do you mean 

restore user volume sets

SOLVED
Go to Solution
Advisor

restore user volume sets

Please confirm steps below and ensure that everything is in place. If not, then please advise. Thanks

1. VCLOSE PROD;NOW

2. VCLOSE XDATA;NOW

3. Ensure that each disk drive is in the loner state

4. In VOLUTIL scratch each disk drive in each volume set

5. Take down the system and replace disk drives that will be replaced

6. Bring up the system and issue a :DSTAT ALL and ensure that each disk drive is in a SCRATCH or UNKNOWN state

7. Recreate the mirror volume set:

a. volutil: NEWMIRRSET PROD P1 (43,63) 100 0

b. volutil: NEWMIRRVOL PROD:P2 (42,62) 100 0

c. volutil: NEWMIRRVOL PROD:P3 (41,61) 100 0

d. volutil: NEWMIRRVOL PROD:P4 (40,60) 100 0

e. volutil: NEWMIRRVOL PROD:P5 (30,50) 100 0

f. volutil: NEWMIRRVOL PROD:P6 (33,53) 100 0

g. volutil: NEWMIRRVOL PROD:P7 (34,54) 100 0

h. volutil: NEWMIRRVOL PROD:P8 (44,64) 100 0

i. volutil: NEWMIRRVOL PROD:P9 (37,57) 100 0

j. volutil: NEWSET XDATA X31 31 100 0

k. volutil: NEWVOL XDATA:X32 32 100 0

l. volutil: NEWVOL XDATA:X36 36 100 0

m. volutil: NEWVOL XDATA:X51 51 100 0

n. volutil: NEWVOL XDATA:X52 52 100 0

o. volutil: NEWVOL XDATA:X56 56 100 0

p. volutil: NEWVOL XDATA:X67 67 100 0

8. Issue a DSTAT ALL to check disk drives

9. Then through volutil: SHOWSET PROD MIRROR & XDATA

10. Restore the directory RESTORE *KEV;;DIRECTORY

11. REPORT @.@

12. REPORT @.@;ONVS=PROD

13. STREAM RSTRVOLS.PUB.SYS
THIS WILL RESTORE ;@.@.@;KEEP;OLDDATE;SHOW
3 REPLIES
Esteemed Contributor Esteemed Contributor

Re: restore user volume sets

Some people would add a ;CREATE on the restore to catch any files whose creator no longer exists.
Advisor

Re: restore user volume sets

Dan,

So does everything look ok?
Honored Contributor Honored Contributor

Re: restore user volume sets

Hello Kevin,

Steps look good to me.

I assume the backup is a full backup with ;directory option and ;onvs=mpexl_system_volume_set,prod,xdata

I would also add ;progress on the restore command so you can see the progression of the restore operation.
King is the customer!