Operating System - HP-UX
1753904 Members
9529 Online
108810 Solutions
New Discussion юеВ

vgimport doesn't create the logical volume device files

 
SOLVED
Go to solution
Jim Mulshine
Frequent Advisor

vgimport doesn't create the logical volume device files

I have a HP-UX 11.11 SG cluster and have just added some extra disks in new pvgs and created some new lvols in vg01. I made a new mapfile and try to vgimport on the other server. The vgimport looks like it succeeds but I'm not getting any logical volume device files.

Server A
# vgexport -m vg01.map -s -p -v /dev/vg01
# rcp ... (from A to B)

Server B
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgimport -m vg01.map -s -v -p /dev/vg01
Beginning the import process on Volume Group "/dev/vg01".
Logical volume "/dev/vg01/lvol21" has been successfully created
with lv number 1.
Logical volume "/dev/vg01/lvol3xxx" has been successfully created
with lv number 6.
Logical volume "/dev/vg01/lvol1xxx" has been successfully created
with lv number 4.
Logical volume "/dev/vg01/lvol2xxx" has been successfully created
with lv number 5.
Logical volume "/dev/vg01/lvol11" has been successfully created
with lv number 7.
Logical volume "/dev/vg01/lvol31" has been successfully created
with lv number 8.
Volume group "/dev/vg01" has been successfully created.
#
# ll /dev/vg01/*
crw-r--r-- 1 root sys 64 0x010000 Sep 20 21:54 /dev/vg01/group
#

Lvmtab doesn't show vg01 after the vgimport.

Has anyboby experienced this situation before?
3 REPLIES 3
Kenan Erdey
Honored Contributor
Solution

Re: vgimport doesn't create the logical volume device files

Hi,

just remove -p option in vgimport. it just previews and doesn't update lvmtab.

Kenan.
Computers have lots of memory but no imagination
Jim Mulshine
Frequent Advisor

Re: vgimport doesn't create the logical volume device files

Thanks Kenan. I think I should get some sleep.
Jim Mulshine
Frequent Advisor

Re: vgimport doesn't create the logical volume device files

Closed, and thanks again to Kenan