Operating System - HP-UX
1834814 Members
2874 Online
110070 Solutions
New Discussion

Couldn't access the list of physical volumes for volume group "/dev/vgci"

 
gb karki
Frequent Advisor

Couldn't access the list of physical volumes for volume group "/dev/vgci"

HI,

I'm going to import the same VG in DR but i'm getting below mention error.

#vgexport -p -s -v -m /tmp/vgci3003.map vgci

# vgimport -s -v -m /tmp/vgci3003.map vgci
Beginning the import process on Volume Group "vgci".
Couldn't access the list of physical volumes for volume group "/dev/vgci".

Can you help me?

Regards
Karki
9 REPLIES 9
likid0
Honored Contributor

Re: Couldn't access the list of physical volumes for volume group "/dev/vgci"

pa8700
Regular Advisor

Re: Couldn't access the list of physical volumes for volume group "/dev/vgci"

make sure all the disks are ditexcted in the new system.give an ioscan -fnC disk and run insf -e

then try import againg.

If the there are LUN ids conflicking with.Then assign the disks with new unused id and give an ioscan -fnC disk and run insf -e then try import againg.
gb karki
Frequent Advisor

Re: Couldn't access the list of physical volumes for volume group "/dev/vgci"

Hi,

I have already check that link and follow that steps.

But still problem is there.

Regards
Karki
Steven E. Protter
Exalted Contributor

Re: Couldn't access the list of physical volumes for volume group "/dev/vgci"

Shalom,

New disks are discovered as follows:

insf -C disk

insf -e is not helpful in this situation.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
gb karki
Frequent Advisor

Re: Couldn't access the list of physical volumes for volume group "/dev/vgci"

Still same.
Ganesan R
Honored Contributor

Re: Couldn't access the list of physical volumes for volume group "/dev/vgci"

Hi,

The error itself self explanatory.

>>>Couldn't access the list of physical volumes for volume group "/dev/vgci".<<<

There are some disks not visible or accessible by the system where you are importing. Check if all the disks are accessible and fix the issue.
Best wishes,

Ganesh.
Sajjad Sahir
Honored Contributor

Re: Couldn't access the list of physical volumes for volume group "/dev/vgci"


u know why

how u exporting a volume group with parameters the same way u have to import it
vgexport -p -s -v -m
in vgimport also use same parameters

also do vgscan before doing the same procedure above if it is ok with vgscan then no need to do the procedure next time onwards u have to keep the above things

thanks and regards

sajjad sahir
gb karki
Frequent Advisor

Re: Couldn't access the list of physical volumes for volume group "/dev/vgci"

Hi All,

I have tried this option also and run the vgscan, getting below mention messgaes.

# vgscan -a
vgscan: The physical volume "/dev/dsk/c2t6d0s2" is already recorded in the "/etc/lvmtab" file.


Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c9t2d1
/dev/dsk/c11t2d1

Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c9t2d2
/dev/dsk/c11t2d2
/dev/dsk/c9t2d3
/dev/dsk/c11t2d3
/dev/dsk/c9t2d4
/dev/dsk/c11t2d4

The Volume Group /dev/vgci was not matched with any Physical Volumes.
The Volume Group /dev/vgdb was not matched with any Physical Volumes.

Regards
Karki
Roland Piette
Regular Advisor

Re: Couldn't access the list of physical volumes for volume group "/dev/vgci"

Hello,

Note that after vgexport the /dev directory is cleared for your vgci.

Be shure that you have an entry /dev/vgci and the group file associated with your vg.
If not you can use this commands :

mkdir /dev/vgc1
cd /dev/vgc1
mknod group c 64 0xnn0000
(nn is a major number not yet used in /dev/structure)

control permission flag on directory and files.

After tis steps you will be abble to import your vg!

Control the available major number with :
for i in /dev/vg*
do
ll $i/group
done | sort -k 6

I hope it will help