Operating System - HP-UX
1838491 Members
3142 Online
110126 Solutions
New Discussion

Re: The easy way to correct these issues?

 
SOLVED
Go to solution
Betty Hardin
Frequent Advisor

The easy way to correct these issues?

Working on an old box (to be used for development). Unmounted old physical drives, removed them from lvm and vg, and physically removed from system. Cannot add new drive due to errors shown below (this is the output from vgscan). What is the easy way to tell the OS that these drives really are not there? I currently have ONE drive active - with root on it.

vgscan: Warning: couldn't query physical volume "/dev/dsk/c0t14d0":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: The physical volume "/dev/dsk/c0t5d0" is already recorded in the "/etc/l
vmtab" file.
vgscan: The physical volume "/dev/dsk/c0t9d0" is already recorded in the "/etc/l
vmtab" file.
Physical Volume "/dev/dsk/c0t9d0" contains no LVM information
Couldn't stat physical volume "/dev/dsk/c1t2d0":
Invalid argument

The Volume Group /dev/vg01 was not matched with any Physical Volumes.
6 REPLIES 6
Joseph Loo
Honored Contributor
Solution

Re: The easy way to correct these issues?

hi betty,

use the vgexport command, follow the steps given by either Naveej or myself:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=877947

regards.
what you do not see does not mean you should not believe
Bharat Katkar
Honored Contributor

Re: The easy way to correct these issues?

Hi,

Also if you have any backup file of lvmtab in /etc directory, move it to /tmp.
Regards,
You need to know a lot to actually know how little you know
Betty Hardin
Frequent Advisor

Re: The easy way to correct these issues?

Thank you !
Joseph Loo
Honored Contributor

Re: The easy way to correct these issues?

hi,

some points would be nice :)

regards.
what you do not see does not mean you should not believe
Betty Hardin
Frequent Advisor

Re: The easy way to correct these issues?

My apologies - the site errored out when I sent the "thank you" message - and I didn't even think that it had gotten posted !!

I do appreciate your assistance - and did not mean to be neglectful !
Joseph Loo
Honored Contributor

Re: The easy way to correct these issues?

hi betty,

u may still assign points as long as u have not close the thread.

regards.
what you do not see does not mean you should not believe