- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VG exclusive mounted in 2 nodes
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
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
09-30-2007 10:53 PM
09-30-2007 10:53 PM
I have a very stange problem here.
There is a storage migration work and I have to do vgexport and vgimport to the cluster nodes. While I am doing this is a one of the first node(node1) I selected, I do see an error.
This is a Package VG is having only one disk with an alternate path in it.
I could not see the alternate path in the node1 and when I try to deactivate the VG that is mounted in the readonly mode it is giving the following error.
(In Node1)
# vgchange -a n /dev/vg001
vgchange: Warning: couldn't query physical volume "/dev/dsk/c55t13d1":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Failed to notify clvm daemon about volume group deactivation - No such file or directory
Couldn't deactivate volume group "/dev/vg001":
No such file or directory
Now when I see vgdisplay for that VG , now it is showing as exclusive and read/write.
Does this seems to be a strange one...:-) !!!!
Any help please....
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2007 10:59 PM
09-30-2007 10:59 PM
Re: VG exclusive mounted in 2 nodes
> # vgchange -a n /dev/vg001
is it vg01 or vg001 ?
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2007 11:04 PM
09-30-2007 11:04 PM
Re: VG exclusive mounted in 2 nodes
This is vg001 only.
I have already given the vgchange -a n vg001 error message.
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2007 11:12 PM
09-30-2007 11:12 PM
Re: VG exclusive mounted in 2 nodes
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2007 11:20 PM
09-30-2007 11:20 PM
Re: VG exclusive mounted in 2 nodes
Please, attach us the output of:
cmviewcl -v
vgdisplay -v vg001, in both nodes
strings /etc/lvmtab
ll /dev/vg001
Regards;
J. Bravo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 12:20 AM
10-01-2007 12:20 AM
Re: VG exclusive mounted in 2 nodes
I am afraid if I do vgsync in the node1 will it affect the same cluster VG that is active in exclusive mode in the node4 (where the package is currently running).
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled node001
Alternate up enabled node004 (current)
Alternate up enabled node002
Alternate up enabled node003
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 12:21 AM
10-01-2007 12:21 AM
Re: VG exclusive mounted in 2 nodes
I am afraid if I do vgsync in the node1 will it affect the same cluster VG that is active in exclusive mode in the node4 (where the package is currently running).
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled node1
Alternate up enabled node4 (current)
Alternate up enabled node2
Alternate up enabled node3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 12:28 AM
10-01-2007 12:28 AM
Re: VG exclusive mounted in 2 nodes
Pls. see the attachment..
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 01:02 AM
10-01-2007 01:02 AM
Re: VG exclusive mounted in 2 nodes
It seems to be that your alterante link is missing. Do you have tried to execute "ioscan -fnC disk"? Please, after execute the ioscan, run dmesg to view possible errors over the disk.
Regards;
J. Bravo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 01:36 AM
10-01-2007 01:36 AM
Re: VG exclusive mounted in 2 nodes
The simple solution would be to insure only one node has access to the shared storage and do:
vgreduce -f vg001
Then follow the instructions that come along after that.
The thing I've always liked about HP-UX LVM is that when you mount in exclusive mode, the second node is denied the ability to mount, versus LVM Linux which merrily lets two nodes mount the same volume group exclusive without even a peep.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 03:22 AM
10-01-2007 03:22 AM
Re: VG exclusive mounted in 2 nodes
#vgreduce /dev/vg001 /dev/dsk/c55t13d1
vgreduce: Couldn't query physical volume "/dev/dsk/c55t13d1":
The specified path does not correspond to physical volume attached to
this volume group
--------
#vgreduce -f /dev/vg001 - does not give any errors but no improvements... :(
ioscan /diskinfo - shows claim /OK status for this disk.
dmesg - not much information about this.
But,
# pvdisplay /dev/dsk/c55t13d1
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c55t13d1":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg001".
pvdisplay: Cannot display physical volume "/dev/dsk/c55t13d1".
Hope this information helps to help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 03:25 AM
10-01-2007 03:25 AM
Re: VG exclusive mounted in 2 nodes
This VG is mounted in Readonly but due to unknown reason it turned read/write now in the other node (node1).
This is the strange part of the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 03:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 04:11 AM
10-01-2007 04:11 AM
Re: VG exclusive mounted in 2 nodes
vgreduce - worked sucessfully removed the affected PV link from lvmtab.
Thanks
Now I want to deactivate the vg - vg001
# vgchange -a n /dev/vg001
vgchange: Failed to notify clvm daemon about volume group deactivation - No such file or directory
Couldn't deactivate volume group "/dev/vg001":
No such file or directory
As this vg is cluster aware it is not allowiing me to deactivate.
Is it recomended to run "vgchange -c n vg001" while the package is up and running in the other node.
Please suggest..
Thanks.