1825694 Members
3325 Online
109686 Solutions
New Discussion

vg01 is not recognized

 
Yaroki
Super Advisor

vg01 is not recognized

Hello,

 

I am running HP-UX B.11.11 on a C8000 (...)

 

The machine has 2 Disks as follow:

 

1. UP-UX OS LVM on /dev/vg00

2. Application that mounted on /scc on /dev/vg01

 

I replaced the OS disk but the system could not recognized vg01.

I rebooted the system into hpux -lm mode and run these commands:

 

vgexport vg01

mkdir /dev/vg01

mknod /dev/vg01/group c 64 0x010000

vgimport vg01

vgchange -a y vg01

vgcfgback -u /dev/v01

reboot

 

Still the same error appeared.

strings /etc/lvtab - indicates that vg00 and vg01 are there.

SAM show that v01 is marked "unused"

 

How can I assign/import vg01 to the system?

Please advice.

 

Yaron

 

 

P.S. This thread has been moved from HP-UX > System Administration to LVM and VxVM. - Hp Forum moderator

2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: vg01 is not recognized

>>I replaced the OS disk but the system could not recognized vg01.

>>Still the same error appeared.

 

What's the error?

 

>>I rebooted the system into hpux -lm mode and run these commands:

>>vgexport vg01

>>mkdir /dev/vg01

>>mknod /dev/vg01/group c 64 0x010000

>>vgimport vg01 

>>vgchange -a y vg01

>>vgcfgback -u /dev/v01

>>reboot

 

After you did the 'vgimport' above did the VG activate correctly?  Did you do a 'vgdisplay -v vg01' to see that all of the LVs that are supposed to be in that VG are present?

 

>>How can I assign/import vg01 to the system?

 

The steps you took above will do that.  However, without any actuall error messages it's hard to say what is wrong.

Ruel Alojado
Advisor

Re: vg01 is not recognized

When you run vgimport, you did not specify the disk you imported.

 

vgimport vg01 /dev/dsk/<diskctd>

 

Regards,