cancel
Showing results for 
Search instead for 
Did you mean: 

vgexport/vgimport

SOLVED
Go to solution
balaji_vvv
Frequent Advisor

vgexport/vgimport

I'm planning to do a test cold install v2 on a test server. I have one filesystem on the internel disk, which i have test oracle db. please correct my steps if i'm wrong.
/dev/vg01/lvol1 /u01

1. umount /u01
2. vgexport -m mapfile -s -p -v vg01
3. ftp the mapfile to my desktop or some safe location.
4. Do a cold install.
5. vgimport -m mapfile -v -s vg01
6. mount /u01

Are these steps are correct :-) Do i need to do any mknod etc? (ofcourse i will backup /var/opt/oracle & /etc/oratab)
4 REPLIES
James R. Ferguson
Acclaimed Contributor
Solution

Re: vgexport/vgimport

Hi:

# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
[ copy in vg01 mapfile ]
# vgimport -s -v -m /root/vg01.map /dev/vg01
# vgchange -a y /dev/vg01
# vgcfgbackup /dev/vg01
[ create 'fstab' entry for mount ]
# mount -a

Regards!

...JRF...
Sunny123_1
Esteemed Contributor

Re: vgexport/vgimport

Hi

<>


Off course you need to do mknod etc.


Regards
Sunny
balaji_vvv
Frequent Advisor

Re: vgexport/vgimport

Thanks for the additional steps JRF!
AVV
Super Advisor

Re: vgexport/vgimport

HI Balaji,

If you are doing in 11iV3 , you can do a mknod even by skipping the mkdir /dev/vgXX.