- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to remove non-existant pv from vg
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2002 07:00 AM
тАО06-03-2002 07:00 AM
I am unable to remove a non-existant physical volume from a volume group. Why do I need to remove a pv that does not exist you say? Somewhere during the installation and configuration of an external disk array, the device table appears to have become corrupt.
My system complains loudly that physical volume '/dev/dsk/c5t0d0' cannot be queried, or removed. The physical disk/address truly does not exist, but I am unable to properly bring the system back to reality using vgreduce or vgremove.
'strings /etc/lvmtab' shows the "ghost" device.
'ioscan -C disk' returns the correct info.
System: HP-UX v11.0 will updated patches on rp5470 and A5272 external disk array.
Thanks,
-Mark
ctatmp2[225]$ vgdisplay /dev/vgext
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c5t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
ctatmp2[226]$ pvdisplay /dev/dsk/c5t0d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c5t0d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vgext".
pvdisplay: Cannot display physical volume "/dev/dsk/c5t0d0".
ctatmp2[227]$ pvremove /dev/dsk/c5t0d0
pvremove: Couldn't open physical volume "/dev/dsk/c5t0d0":
No such device or address
ctatmp2[235]$ vgreduce -f /dev/vgext
vgreduce: Couldn't query physical volume "/dev/dsk/c5t0d0":
The specified path does not correspond to physical volume attached to
this volume group
ctatmp2[228]$ strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/vg01
/dev/dsk/c1t0d0
/dev/vg02
/dev/dsk/c2t2d0
/dev/vg03
/dev/dsk/c1t2d0
/dev/vgext
/dev/dsk/c4t0d0
/dev/dsk/c4t2d0
/dev/dsk/c4t3d0
/dev/dsk/c4t8d0
/dev/dsk/c4t9d0
/dev/dsk/c4t10d0
/dev/dsk/c4t11d0
/dev/dsk/c4t12d0
/dev/dsk/c4t13d0
/dev/dsk/c5t0d0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2002 07:03 AM
тАО06-03-2002 07:03 AM
Re: Unable to remove non-existant pv from vg
Try this link,
http://support2.itrc.hp.com/service/cki/search.do?category=c0&mode=id&searchString=+LVMKBRC00006257&searchCrit=allwords&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&search.x=40&search.y=12
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2002 07:07 AM
тАО06-03-2002 07:07 AM
Re: Unable to remove non-existant pv from vg
There are a couple of ideas that you could rebuild.Please study and see if this works for you.
a. vgchange -a n
b. vgexport -m
c. Recreate the group file for the volume group:
mkdir /dev/
mknod /dev/
minor number)
d. vgimport -m
e. vgchange -a y
Then
f. vgreduce -f
g. mv /etc/lvmtab /etc/lvmtab.old
h. vgscan -v
i. vgcfgbackup
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2002 07:23 AM
тАО06-03-2002 07:23 AM
Re: Unable to remove non-existant pv from vg
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2002 01:49 PM
тАО06-06-2002 01:49 PM
SolutionFollow Steve's solution, steps A,B & C. On step D, only include the pv_path of the disks you want in the volume group. Do not bring the ghost back in. Then finish with steps E & I. You're done.
You will not need steps F, G or H.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2002 04:54 AM
тАО06-07-2002 04:54 AM
Re: Unable to remove non-existant pv from vg
Thanks much for all the replies.
I also manage Solaris, AIX, Tru64 UNIX, IRIX, Linux and DYNIX/ptx and this is by far the most helpful forum on the net!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 12:22 PM
тАО12-02-2003 12:22 PM