HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
Showing results for 
Search instead for 
Did you mean: 

volume group import export problem

Go to solution
Yogesh Yadav
Occasional Advisor

volume group import export problem


I have two server which is in cluster,i added 3 disk in /dev/cs03p1l1 VG on ggnbil03 server after that created 3 LV on that, when i export from 1st node and import on second node, in strings /etc/lvmtab of 2ed node
not showing that 3 disk

ggnbil03:/> vgexport -s -p -m /tmp/cs03p1l1.map cs03p1l1
vgexport: Volume group "cs03p1l1" is still active.
ggnbil03:/> rcp -p /tmp/cs03p1l1.map ggnbil04:/tmp/

ggnbil04:/> vgimport -s -v -m /tmp/cs03p1l1.map cs03p1l1
Beginning the import process on Volume Group "cs03p1l1".
vgimport: Volume group "/dev/cs03p1l1" already exists in the "/etc/lvmtab" file.

sujit kumar singh
Honored Contributor

Re: volume group import export problem


You shall according to the Error that you are getting will need the following things to do.

1) do an ioscan on the 2nd node and make sure that you are able to see the disks in there and they are showing as claimed that is the disks are accessiblt to the 2nd nide also.

2) export the existing VG on 2nd node using

vgexport /dev/cs03p1l1
mkdir /dev/cs03p1l1
mknod /dev/cs03p1l1/group c 64 0xAA0000
make sure that the Minor no of the group file is unique on node 2 and also the same as that on the node1.
vgimport -v -s -m /tmp/cs03p1l1.map /dev/cs03p1l1

make sure that when you are importing the VG on the 2nd node, you are sure that the Applications/Packages that might be running on 2nd node and accessing that VG arein a down state.

Also make sure that afetr this cahnge in teh VG configuration you test the package by running on both the nodes so that you are sure that in event of the failover of the package, the start and run of the package is smooth on the other node.
Yogesh Yadav
Occasional Advisor

Re: volume group import export problem

Hi Sujit

In this package running one 1st node and one thing i want to know i extended VG ,i need to create device file or not. and mkdir vg dir.
Aneesh Mohan
Honored Contributor

Re: volume group import export problem

Hi Yogesh ,

Yes you have to ..please perform the steps 1 and 2 suggested by Mr.Sujith .

Yogesh Yadav
Occasional Advisor

Re: volume group import export problem

Thanks lot!!

its done as told by you
Valued Contributor

Re: volume group import export problem

hi yogesh

You need also to update you package configuration to insert the new LV's created.

Best regards.