1752590 Members
2881 Online
108788 Solutions
New Discussion юеВ

Re: Error vgimport

 
SOLVED
Go to solution
John Guster
Trusted Contributor

Re: Error vgimport

I see what the problem is:
sapl907:
mkdir /dev/vgBWaudit
mknod /dev/vgBWaudit/group c 64 0x0b0000
vgexport -m ./vgBWaudit.map -p -s -v vgBWaudit
vgchange -a n vgBWaudit

on sapl907, there is never a volume group created called vgBWaudit, but you export it. No wonder there is no physical disks accessible becasue this vgBWaudit never associated with any disks.

it should be:
sapl907:
mkdir /dev/vgBWaudit
mknod /dev/vgBWaudit/group c 64 0x0b0000
vgcreate -n vgBWaudit /dev/dsk/cxtxdx
lvcreate -l 100 /dev/vgBWaudit
newfs -F vxfs /dev/vgBWaudit/rlvol1
vgexport -m ./vgBWaudit.map -p -s -v vgBWaudit
vgchange -a n vgBWaudit

Eli Daniel
Super Advisor

Re: Error vgimport

had already been created

vgBWaudit (vg create 18-03-2010)
Chandrahasa s
Valued Contributor

Re: Error vgimport

Hi,
Provide following details:

a)sapl907 and sapl909 your are mentioned, what is purpose of importing vg from sapl907 to sapl909 ?.

b)Provide hpvmstatus -P sapl907 and hpvmstatus -P sapl909 output from vmhost(host where sapl907 and sapl909 lies)

c)Provide ioscan -fnC disk output from vmhost.

d)Provide vgdisplay -v output from sapl907

I can guide you depending on above mentioned output.

shanmuhanandam
HPE Pro

Re: Error vgimport

Hi,
Check the o/p of "strings /etc/lvmtab" for the pv's which are being the part of vgBWaudit VG.Compare the ioscan o/p on node sapl909 node. If the PV's are not availble do the "insf -e -C disk" on the sapl909 node. Now check the ioscan and compare the disks are available. Then try to import the VG.

Thanks,
Shanmugam.
I am an HPE Employee

Accept or Kudo

Eli Daniel
Super Advisor

Re: Error vgimport

thanks,
solution:

nodo secundary
vgimport -c (cluster serviceguard)