- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mistake on vgcreate
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
03-13-2001 01:42 PM
03-13-2001 01:42 PM
mkdir /dev/vg04
mknod /dev/vg04/group c 64 0x040000
vgcreate /dev/vg04 /dev/dsk/c5t6d4 /dev/dsk/c2t6d4
I should have put the c2t6d4 device file first, and then had c5t6d4 as an alternate link. As a consequence of all this, I have one controller carrying a lot more traffic than another.
Question: Is there any way I can reverse the primary/alternate device paths without completely dropping all the LVM structures and rebuilding it from scratch?
Thanks in advance!
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2001 01:56 PM
03-13-2001 01:56 PM
Re: Mistake on vgcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2001 01:59 PM
03-13-2001 01:59 PM
Re: Mistake on vgcreate
pvcreate -s /dev/dsk/cXtXdX
to make it become the primary
I added some EMC disks with SAM and couldn't see a way to pick the primary and alternate path.
Eileen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2001 01:59 PM
03-13-2001 01:59 PM
SolutionIf all you want to do is swap the alternate links, simply do a 'vgreduce', as for example:
# vgreduce /dev/vg?? /dev/dsk/c?t?d? # current primary link
# vgextend /dev/vg?? /dev/dsk/c?t?d? # add back old link now as the alternate
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2001 02:01 PM
03-13-2001 02:01 PM
Re: Mistake on vgcreate
You have to umount the disks to do it.