- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remove Alt links on lock disk
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
Discussions
Discussions
Forums
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
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
тАО11-18-2002 11:24 AM
тАО11-18-2002 11:24 AM
1. How can I remove these without hosing the cluster while it is running? 2. Will this problem go away when the cluster is shutdown?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2002 11:38 AM
тАО11-18-2002 11:38 AM
Re: Remove Alt links on lock disk
Can you verify this by doing a vgdisplay -v on the Volume Group associated to the lock disk. If it is indeed an alternate link, you should see it here. It will look similar to this:
PV Name /dev/dsk/c7t0d2
PV Name /dev/dsk/c11t0d2 Alternate Link
PV Name /dev/dsk/c15t0d2 Alternate Link
PV Name /dev/dsk/c19t0d2 Alternate Link
PV Status available
Total PE 9342
Free PE 0
Autoswitch On
If Autoswitch is on, you can remove the alternate link by performing a vgreduce on the primary link. The alternate should automatically take over. the line would be something like this:
vgreduce vg01 /dev/dsk/c7t0d2
HTH,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2002 11:43 AM
тАО11-18-2002 11:43 AM
Re: Remove Alt links on lock disk
Another alternative is to find the alternate links as they correspond on the active node and add them to the vg:
# vgextend vg?? /dev/dsk/c?t?d?
You should see the problem go away that way as well, and your alternate links will be available in case the primary path goes down.
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2002 11:54 AM
тАО11-18-2002 11:54 AM
Re: Remove Alt links on lock disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2002 11:57 AM
тАО11-18-2002 11:57 AM
Re: Remove Alt links on lock disk
When you did the vgexport/vgimport on the adoptive node, did you use the -s option w/ vgimport? If so, do not use that, instead, specify the disk, minus the alternate link, and you will have a 1-disk lvmtab entry.
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2002 12:49 PM
тАО11-18-2002 12:49 PM
Re: Remove Alt links on lock disk
vgexport -v -p -s -m vgXX.map /dev/vgXX
rcp map files to other node.
re-create vgXX:
vgexport vgXX
mkdir /dev/vgXX;mknod /dev/vgXX/group c 64 0xXX0000
vgimport -v -s -m vgXX.map /dev/vgXX
Should work.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2002 01:00 PM
тАО11-18-2002 01:00 PM
Re: Remove Alt links on lock disk
I would do that but I have 18 physical volumes in that vg. Can I have 18 physical volumes in the command line?
Stuart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2002 02:38 AM
тАО11-19-2002 02:38 AM
SolutionIt is a very simple decision to make. Either you take my first suggestion and add the alternate links to the active volume group, which will solve your problem. Or, you try to vgimport by naming every single disk on the command line. I have ho Idea as to whether or not they will all fit on the command line because I don't have a volume group with that many disks yet and I always want to have my alternate links active. You could try listing the disks in a file and doing something like:
vgimport -v -m /tmp/vg??.map /dev/vg?? `cat diskfile`
Another possibility:
Find a time when you can fail the package over to the other node and vgreduce the alternate links out of the vg .
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2002 05:58 AM
тАО11-19-2002 05:58 AM
Re: Remove Alt links on lock disk
You had the answer. I logged an HPRC call today, and the engineer responded with the same answer. I removed the volume group then ran the vgimport in a script with the list of 18 physcial device files. That eliminated the error messages I was getting from the cmgetconf. There are some warning messages, but I'm hoping those don't cause any problems.
Thanks,
Stuart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2002 06:08 AM
тАО11-19-2002 06:08 AM