Operating System - HP-UX
1826498 Members
2891 Online
109692 Solutions
New Discussion

vg01 lost after reloading HP-UX

 
SOLVED
Go to solution
Mike Ingram_1
Frequent Advisor

vg01 lost after reloading HP-UX

Hi,

I was having problems with applying patches on my system, so decided to simply reload the OS.
Fortunately I did a full backup before the reload!
After installing the new OS, I used SAM to bring in my second disk, as vg01. It certainly did the job, but in the process it deleted all the contents!

Where did I go wrong? I remember something about exporting & importing the vgtab file or something?

Please could someone tell me what I should have done, so that I will know what to do next time I may have a similar exercise.

Thanks.
2 REPLIES 2
Naveej.K.A
Honored Contributor
Solution

Re: vg01 lost after reloading HP-UX

Hi Mike,

#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgcreate /dev/vg01
#vgimport /dev/vg01 /dev/dsk/cxtyd0 (use actual PV path)
#vgchange -a y /dev/vg01
#ll /dev/vg01/lvol* and mount the volumes

Regards,
Naveej
practice makes a man perfect!!!
Mike Ingram_1
Frequent Advisor

Re: vg01 lost after reloading HP-UX

Thanks Naveej,

Sounds easy!
I hope not to need this, but it's nice to have the info, just in case.

Cheers.