- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: where PV and 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
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
02-15-2001 01:47 PM
02-15-2001 01:47 PM
I'm trying to clean up my storage.. got a xp with many luns.. i've a list of them.. i'm trying to figure out who's using what disk..
1) I've compared dsh strings to lvmtab (nothing returns regarding a particular disk)
2) vgdisplay output
(no vg using that disk)
all my vgs are accounted for..
yet when i try to pvcreate ... it says pv already in a VG..
is there a command where i can query the disk (diskinfo doesn't help) .. to see what lv are on it or better still which VG it belongs too..
any suggestiong appreciated..
thanks
B.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 02:39 PM
02-15-2001 02:39 PM
Re: where PV and VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 02:44 PM
02-15-2001 02:44 PM
Re: where PV and VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 03:02 PM
02-15-2001 03:02 PM
Re: where PV and VG
I have exported VGs.. but they are imported back on another node.. so in other words.. a VG has to reside somewhere in an active stage.. and i've taken VG outputs from all my machines.. but i definately see your point...i'll make sure I didn't miss out any renegade VGs...
Mike:
yes.. mike... it failed when I tried to use pvdisplay ...
Guys thanks for your time.. if u do have other suggestions please keep 'em coming..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 03:04 PM
02-15-2001 03:04 PM
Re: where PV and VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 07:08 PM
02-15-2001 07:08 PM
SolutionThe pvcreate command will reserve about 400K (2900K for a boot disk) of space on the disk for use with LVM. If it detects that these structures already exist then pvcreate will fail with the message that the disk already belongs to a VG. It doesn't, however, actually look at what is in the structures and in /etc/lvmtab to see if the disk is actually in a VG. If the disk used to be in a VG but currently is not, pvcreate will still fail.
If you use "force" option, pvcreate -f, then the command takes a more detailed look to determine if the disk is in a VG. One thing to note, is that if you use pvcreate -f and the disk is in a VG, the command will still fail. Otherwise, it should succeed.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2001 07:28 AM
02-16-2001 07:28 AM
Re: where PV and VG
thanks for the explanation.. think the combination of your explanation plus other inputs from Byron and Patrick got this resolved.. thanks to all ... really appreciate the time..