cancel
Showing results for 
Search instead for 
Did you mean: 

SLES10 LVM vgchange -c y

 
SOLVED
Go to solution
Highlighted
Occasional Advisor

SLES10 LVM vgchange -c y

Hi

We have got a problem here regarding SLES10 with HA cluster.
Yesterday, I applied a 'vgchange -c y' to a volume group which I am not able to recover from. Any command leads to a message 'skipping clustered volume'. Does anybody know how to get rid of this cluster-tag?
Thanks for your help.
Peter
12 REPLIES 12
Highlighted
Honored Contributor

Re: SLES10 LVM vgchange -c y

vgchange -c n
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Highlighted
Honored Contributor

Re: SLES10 LVM vgchange -c y

And I guess you could try activating the vg exclusively. vgchange -a e
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Highlighted
Occasional Advisor

Re: SLES10 LVM vgchange -c y

vgchange -c n always gives an error:
skipping clustered volume

Highlighted
Honored Contributor

Re: SLES10 LVM vgchange -c y

unmount any filesystems mounted from that vg. then vgchange -a n, vgchange -c n, vgchange -a y, then mount.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Highlighted
Occasional Advisor

Re: SLES10 LVM vgchange -c y

Court,

thanks for your replies. We will try the steps you mentioned tomorrow morning.
Highlighted
Occasional Advisor

Re: SLES10 LVM vgchange -c y

Unfortuately already the first command, vgchange -a n, gives the error skipping clustered volume group.
Highlighted
Honored Contributor

Re: SLES10 LVM vgchange -c y

OK, you'll have to work with me a little here. I am not a sles user; I use rhel. Do you have the file /etc/lwm/lvm.conf? I will assume that the file is in the same location as sles. And also is the clvmd service running? Here are two things you can try.

1. If clvmd is not running, start it. This should resolve the issue.

2. If clvmd is running or you have issues then edit lvm.conf and change "locking_type = 1".

Once you have done either of those you would follow the previous steps of umounting, etc.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Highlighted
Occasional Advisor

Re: SLES10 LVM vgchange -c y

We already tried with changing the locking_type to 0 and back to 1.
Unfortunately SLES10 does not provide clvmd, so I cannot start it. We wanted to use HA for clustering.

Fortunately we are working on a new system which will go live in 2 weeks. So we can build from scratch new volume groups (as we did last night). But it can happen anytime and the customer will not wait for 6 hours to rebuild a system. So it would be nice to get a solution.
Highlighted
Honored Contributor
Solution

Re: SLES10 LVM vgchange -c y

I have been scouring the novell site and it looks like they use evms2 to manage volumes, etc. You might open it up and see if you can edit the volume that way. Here is a doc I found that may help you with future ha setups:

http://wiki.novell.com/images/0/01/CHASF_preview_Nov172006.pdf

Sorry I couldn't provide a solid answer.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"