Operating System - HP-UX
1752689 Members
5441 Online
108789 Solutions
New Discussion юеВ

Re: HPUX 11.31.1109 Can't vgcreate/vgimport VG v2.x

 
ArtemTroitsky
Occasional Advisor

HPUX 11.31.1109 Can't vgcreate/vgimport VG v2.x

Hi there!

 

I needed to do some stuff with storage array, so I exported VG, did the job, but when I tried to import VG again I couldn't - vgimport command was issuing a very long time (~20 min) without any error or any message, /var/adm/syslog/syslog.log also had no error or other message on my import. I tried to create a new VG on another LUN, but with the same problem - I waited a long time, but had no response from vgcreate. VG version 1.0 created successfully

 

What can stop OS from creating or importing VG version 2.x?

 

Any help or advice is greatly appreciated

2 REPLIES 2
Tim Medford
Valued Contributor

Re: HPUX 11.31.1109 Can't vgcreate/vgimport VG v2.x

I don't believe you can export a v1.0 volume group and then import it as v2.0.  There are steps involved in migrating from v1 to v2.  The commands to import v1 should be:

 

mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport -v -m vg01.map /dev/vg01 /dev/dsk/c?t?d? ... ...
vgchange -a y /dev/vg01

ArtemTroitsky
Occasional Advisor

Re: HPUX 11.31.1109 Can't vgcreate/vgimport VG v2.x

Thanks for quick reply! Sorry for confusing - I exported VG version 2.0, but after some time I couldn't import it back - that's the problem. Then I tried to troubleshoot the issue by creating for inst a new VG with another version - VG version 1.0 created successfully, but VG version 2.x didn't! BTW, it may be important - I rebooted the server between export and import procedures