- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PVG use in VGs
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-28-2005 04:12 AM
02-28-2005 04:12 AM
Imagine you have a VG called VG01
within the VG are 2 PVGs called PVG1 and PVG2
within PVG1 are 2 PVs called PV1 and PV2
within PVG2 is 1 PV called PV3
imagine PV1 and PV2 are two paths to the same device!
So we should do (ignoring a few flags)
vgcreate -g PVG1 VG01 PV1 PV2
vgextend -g PVG2 VG01 PV3
1. Yes?
I would expect the output of vgdisplay (-v) to show (ignoring leading path names)
--- Physical volumes ---
PV Name PV1
PV Name PV2 Alternate Link
...
PV Name PV3
...
--- Physical volume groups ---
PVG Name PVG1
PV Name PV1
PV Name PV2
PVG Name PVG2
PV Name PV3
2. Yes?
3. Assuming the above is correct, would I get the same results by doing the following
vgcreate -g PVG1 VG01 PV1
vgextend -g PVG1 VG01 PV2
vgextend -g PVG2 VG01 PV3
4. Would the o/s be smart enough to realise that PV1 and PV2 are 2 links to the same device, or do I have to explicitly tell it using the first set of commands?
5. Does anyone ever create a VG with a mix of PVGs and PV (not in a PV) or is it always either PVGs or PVs but not both?
A lot of questions (hence I numbered them) ...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 04:53 AM
02-28-2005 04:53 AM
Solution2. Yes.
3. Yes, except which path is the primary and which is the alternate would be switched.
4. Yes, O/S will know.
5. I always do one or the other. Can't think of when I'd do just one.
Note: This is a valid way to get your stuff in. But, keep in mind that you want to optimize throughput by balancing the cards.
(If you've got all this below done already then please ignore).
So, if you had two i/o cards...
pv1 in PVG1 would be from i/o card one
pv2 in PVG1 would be from i/o card two
pv3 in PVG2 would be from i/o card two
pv4 in PVG2 would be frmo i/o card one
This way the system doesn't just bang on card 1 and never use card 2; instead use your alternate paths for a bit of optimization.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 08:13 PM
02-28-2005 08:13 PM
Re: PVG use in VGs
Would then,
vgcreate -g PVG1 VG01 PV2
vgextend -g PVG1 VG01 PV1
Have the same effect as
vgcreate -g PVG1 VG01 PV1
vgextend -g PVG1 VG01 PV2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 01:01 AM
03-01-2005 01:01 AM
Re: PVG use in VGs
Besides being correct in how to create it (you are - just skip my whole discussion about alternate paths). Can I ask what are you trying to accomplish with this? Are you going for a striping scenario? Are you really just putting in different PV's into the same VG so that you can cut them out later in different ways?
I've used the idea of PV's for three things
a) soft-mirroring with HPUX mirroring software (mirror one PVG onto another).
b) put a bunch of Luns into a group with PVG's to force distributed stripes across Luns (used to get a large spread across devices with large storage arrays).
c) both a and b.
What is it you're going for?
I can come up with a few things that you're trying for two different things at once.
a) one lvol or set of lvols which are hardware mirrored and you need alternate paths.
b) another lvol or set of lvols which don't have alternate path cards, and you're just going to make mount points from.
c) Or mayybee - you're going to mirror PVG1 to PVG2! I think that's probably what you're up to. If it is - it could work - if you have enough physical extents of the same size across both types in common (one type could be larger than the other - you'd just not be able to mirror them).
Anyways, if you're doing c) - then yes, you can do this. All caveats in place - right? You're not supposed to mirror to different types of disks, etc. However, if you're doing c) across different disk types, make sure that you add the disks(luns) of the larger variety first to the volume group. You'll probably have more luck that way.
Leave feedback for more info as I'm interested into hearing what it is you're trying to do ( I might learn a new idea here).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 02:38 AM
03-01-2005 02:38 AM
Re: PVG use in VGs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 02:44 AM
03-01-2005 02:44 AM
Re: PVG use in VGs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2005 03:25 AM
03-03-2005 03:25 AM
Re: PVG use in VGs
--- Physical volumes ---
PV Name PV1
PV Name PV2 Alternate Link
PV Name PV3 Alternate Link
PV Name PV4 Alternate Link
PV Status available
Total PE ...