HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PV links
Operating System - HP-UX
1836440
Members
3516
Online
110100
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-19-2001 07:52 AM
04-19-2001 07:52 AM
How do i go about reversing primary and alternate links without affecting the filesystem. I want to make the primary link the Alternate one and vice versa
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 08:05 AM
04-19-2001 08:05 AM
Solution
I'll take a stab at this one.
If you mean that when you do a vgdisplay on this vg you have a disk and then an alternate link. Then to reverse this you would do a vgreduce of the disk that is the primary disk in the group. That makes the alternate the primary. Then do an vgextend of the volume group and add in the disk you just reduced out. That will make the disk the alternate link.
This can be done online...since they are the same disk physically so one should always be available. Make sure there are no hardware problems...
HTH,
Peggy
If you mean that when you do a vgdisplay on this vg you have a disk and then an alternate link. Then to reverse this you would do a vgreduce of the disk that is the primary disk in the group. That makes the alternate the primary. Then do an vgextend of the volume group and add in the disk you just reduced out. That will make the disk the alternate link.
This can be done online...since they are the same disk physically so one should always be available. Make sure there are no hardware problems...
HTH,
Peggy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 08:05 AM
04-19-2001 08:05 AM
Re: PV links
For the purpose of explanation , let assume your primary as "p1" and alternate as "a1".if you execute :-
# pvchange -s "a1"
then the vgdisplay on the volume group will show you "a1" as the primary and "p1" as the alternate. This command does not change the order in which the disks appear in lvmtab file and so the change will be in effect until you reboot the server. In order to permanently apply the change , execute :-
# vgreduce /dev/vgxx "p1"
followed by
# vgextend /dev/vgxx "p1"
Good luck !!
# pvchange -s "a1"
then the vgdisplay on the volume group will show you "a1" as the primary and "p1" as the alternate. This command does not change the order in which the disks appear in lvmtab file and so the change will be in effect until you reboot the server. In order to permanently apply the change , execute :-
# vgreduce /dev/vgxx "p1"
followed by
# vgextend /dev/vgxx "p1"
Good luck !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 08:37 AM
04-19-2001 08:37 AM
Re: PV links
Thanks
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP