AIX 7.1 TL2 SP01
I've created a vwpar using my AIX 5.2 mksysb.
I now need to restore all the data from the datavg volume group.
My intention was to use restvg from the savevg I'm currently running. However, I've just discovered that the vwpar won't process mkvg commands. Obvious when you think about it.
I still have a few more hours until my savevg completes but will the vwpar be able to process the data and restore it or do I need to use some other method to restore the data in datavg to my vwpar?
Pinned topic Version WPAR 5.2 and restoring non-rootvg data
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-14T11:28:27Z at 2013-02-14T11:28:27Z by robinsguk
nagger 100000MRSJ342 Posts
Re: Version WPAR 5.2 and restoring non-rootvg data2013-02-14T09:37:00ZThis is the accepted answer. This is the accepted answer.You need to add the data to the to the global copy of AIX and then simply mount it into your Versioned WPAR. Simplest way is to mount it in to the global /wpars/my_vwpar/data
assuming your VWPAR name is called my_vwpar.
This is so quick and simple most people don't realise it.
This assumes the VG has file systems in it.
If it does then savevg is not a good way to move it to the new machine as it assumes a VG and disks and you really want just the files. In which case you could NFS mount and copy using the double tar trick: cd to source dir then: tar f - . | (cd targetdir; tar cf- )
If your savevg has raw disks then you have a heap of problems and I would suggest moving to files.
Hope this helps, cheers Nigel Griffiths
robinsguk 270000SWKJ48 Posts
Re: Version WPAR 5.2 and restoring non-rootvg data2013-02-14T11:28:27ZThis is the accepted answer. This is the accepted answer.
- nagger 100000MRSJ
I was expecting (hoping) that I could use the scripts I normally use to clean up and recreate VGs etc after creating an LPAR from a mksysb.
I created the new file systems manually at the global level, this makes absolute sense now.
My savevg file is 300GB but I was still able to use this with the restore command within the wpar.