- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changing path
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
05-15-2002 07:06 AM
05-15-2002 07:06 AM
vgdisplay -v
/dev/dsk/c16t0d1 0/2/0/0.2.23.0.0.0.1
/dev/dsk/c16t0d2 0/2/0/0.2.23.0.0.0.2
/dev/dsk/c16t0d3 0/2/0/0.2.23.0.0.0.3
/dev/dsk/c17t0d4 1/0/0/0.1.23.0.0.0.4
I've never had to do this, so my question is .... is it safe to :
vgreduce
and then :
vgextend
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:10 AM
05-15-2002 07:10 AM
Re: changing path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:15 AM
05-15-2002 07:15 AM
Re: changing path
Using 'vgreduce' and 'vgextend' to swap alternate (pv) links is quick and without hazard.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:15 AM
05-15-2002 07:15 AM
SolutionNO...
You WANT to ensure that ALL PVs (both paths) ARE in the VG.
Then what really matters is what path the LVs are using.
Sounds to me like whoever created this VG did not add both paths to the VG - which MUST be done.
So if you have 4 LUNS & 2 paths - there SHOULD be 8 devices in the VG.
Then what order you specify in the lvcreate command will determine which is pri or alt.
And in that case it is safe to lvreduce out the pri you want to be alt & then add it back. It will then be the alt.
It should be noted, however, that it's OK to use both paths & under loads may be preferable as your ARE using both adapters. It's a crude way to load balance.
SO definitely do an lvdisplay to see just what devs are there & what paths they are using.
You're probably going to have to do some vgextends AND some lvextends to get them ALL in there & then you can adjust which you want to be pri & alt.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:15 AM
05-15-2002 07:15 AM
Re: changing path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:21 AM
05-15-2002 07:21 AM
Re: changing path
(and BTW - Nothing has an alt path defined - on any of the servers!... I'll be doing vgextend's on everything today)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:22 AM
05-15-2002 07:22 AM
Re: changing path
I respectfully disagree.
IF she vgreduces out the 4th PV her VG will be w/o the PV for a period of time...albeit short.
She should add the "primary" path for the 4th PV BEFORE she reduces the "alternate"....at the least, just to be safe.
But I think she should get ALL the PV paths in the VGs & LVs BEFORE she reduces or adjusts anything. Then sort her paths as she sees fit.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:27 AM
05-15-2002 07:27 AM
Re: changing path
Using vgreduce and then vgextend to change the alt and primary path for a vg is not a problem. Make sure the primary and alternate are defined before you do the vgreduce.
You can do it on a live system. If this is a production server, you may like do it afterhours if possible.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:28 AM
05-15-2002 07:28 AM
Re: changing path
No it's perfectly safe to do extends on a live system. In fact the VG has to be activated to do so. The FSs can be mounted or not...doesn't matter. But they're not required to be either.
As I pointed out I'd get ALL your paths in the VGs & LVs first....THEN it'll be safe to do reduces on the LVs to get your paths where you want them.
HTH,
Jeff