HP-UX Import VG Issue

Posted on 2013-10-21
Medium Priority
Last Modified: 2013-11-19

I have a VG stored on a EVA6000 virtual volume which I need to access again, I have presented to a new HP-UX 11.23 system and it can see it but I can't import it,

If I do a ioscan I can see the LUN's and 8 paths but get an error about "Warning: couldn't query physical volume The specified path does not correspond to physical volume attached to this volume group"

Any thoughts? I am stuck
Question by:joolzhaines

Author Comment

ID: 39591421
LVL 21

Expert Comment

ID: 39598998
Please try `vgscan -pv` and `vgimport -vps <vg_name>` and post the output

Both commands should scan the disks for LVM structures and show what actions would be taken to update /etc/lvmtab (if the "-p" option was omitted).

Once the lvmtab entries have been reconstructed, you can activate the vg with `vgchange`

Accepted Solution

r3d_skull earned 2000 total points
ID: 39657806
If you still have the VG active in the original system you should get a mapfile from vgexport command and use it on the new system for the import.

The VG cannot be active on both systems.

If the VG is not active on the old system but you still have access or a backup you can get a mapfile from the path /etc/lvmconf.

If you can't get the mapfile you can import specifying all the LUNs that used to belong to the VG "vgimport vgname pv1_name pv2_name ...." That will create all logical volumes as "lvolnn".

If you were able to import the vg but get error activating you may wan't to try activating with "-q no" option for no quorum "vgchange -a y -q n vgname".

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question