1753629 Members
5987 Online
108798 Solutions
New Discussion юеВ

pb with vgimport

 

pb with vgimport

hello,

i am using SSSU and business copy on an EVA5000 to have copy of 2 VG, but on the same system, just mount them on a "save" directory.

what i have done :
- vgexport with mapfile of the source VG
- creating snapclone on the EVA5000 and present them to the host
- reconfiguring securepath
- do a vgchgid on the needed disks (1 disk for the 1st VG and 2 disks for the second VG)

then, i'm doing a vgimport and try to activate the VGs with a vgchange.

the problem is the next one :

on the directory /dev/vg1, i have :
crw-rw-rw- 1 root sys 64 0x015000 Oct 22 14:37 group
brw-r----- 1 root sys 64 0x010006 Oct 22 14:37 lvarch

and in /dev/vg2 :
crw-rw-rw- 1 root sys 64 0x014000 Oct 22 14:37 group
brw-r----- 1 root sys 64 0x010006 Oct 22 14:37 lvdata2

so the lvol lvarch in vg1 and lvdata2 in vg2 have the same ID, which is not correct for me.


do i have forgot something ?
is there any way to correct this error ?

thanks for your help.
Vincent
better drunk than stupid (it takes less time)
3 REPLIES 3
Geoff Wild
Honored Contributor

Re: pb with vgimport

Not exactly sure, but your group files look wrong....

Should be 0x140000 nd 0x150000

Why did you do a vgchgid?

I suggest you vgexport, and try again...

mkdir /dev/vg1
mknod /dev/vg1/group c 64 0x140000


mkdir /dev/vg2
mknod /dev/vg2/group c 64 0x150000


Though, I prefer to use HEX for the minor numbers - as that is what they really are...


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.

Re: pb with vgimport

thanks,

In fact i realise i have forgot a "0" in my mknod command.

thanks for your help.

Vincent.
better drunk than stupid (it takes less time)
Geoff Wild
Honored Contributor

Re: pb with vgimport

Great - let me know how it turns out.

Alos, be sure to read:

http://forums1.itrc.hp.com/service/forums/helptips.do?#overview

It gives you tips on posting, including closing threads and assigning points.

Thanks...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.