- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: removing volume group with ghost pv
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
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
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
04-18-2002 11:25 AM
04-18-2002 11:25 AM
removing volume group with ghost pv
In it I have a pv named /dev/dsk/c2t5d0
A vgdisplay shows that there are two cur pv's and on act pv.
A disk device listing only shows c2t5d0 and nothing else.
When i try to reduce c2t5do, i can't because you must have at least one pv.
When I try to remove /dev/oracle, i can't because it says there are two pv's.
How do i remove the ghost pv?
HELP!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 11:32 AM
04-18-2002 11:32 AM
Re: removing volume group with ghost pv
vgexport /dev/oracle
If that won't work:
cp /etc/lvmtab /etc/lvmtab.old
vgscan
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 11:32 AM
04-18-2002 11:32 AM
Re: removing volume group with ghost pv
Try:
# vgreduce -f /dev/vgxx
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 11:32 AM
04-18-2002 11:32 AM
Re: removing volume group with ghost pv
If you are just going get rid of this VG and this PV, then you can do this:
# vgexport /dev/oracle
This will remove the VG information from the system. Another way is:
# umount - all mounted file systems of /dev/oracle
# lvremove - all LVs
# vgremove /dev/oracle
You won't be able to reduce the VG, if there is only one disk in that !
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 11:34 AM
04-18-2002 11:34 AM
Re: removing volume group with ghost pv
Just run command
#vgscan -v
That will recreate your /etc/lvmtab file and will make the entry in it for latest available drives for vg(oracle)
Then you can check using vgdisplay what is wrong.
Hopefully it will resolv your problem.
Thanks,
-pap