Hi,
I am working through the process of building my first GFS installation and cluster. So far, things are going well. I have shared SAN disk that is visible to both nodes, I've got the basic cluster up and I am now starting to create my LVM structure.
I spent a lot of time trying to determine why I was seeing errors similar to the following when trying to create LVs in a new VG:
root# lvcreate -L 50M /dev/vgtest
Rounding up size to full physical extent 52.00
MB
Error locking on node cpafisxb:
Volume group for uuid not found:
IC070PzNGG68uEesi33dH902E4GeGEvwcAccZY4AdnJRkPHUL7EYJzL0Xxkg3eqV
Error locking on node cpafisxa: Volume group for uuid not found: IC070PzNGG68uEesi33dH902E4GeGEvwcAccZY4AdnJRkPHUL7EYJzL0Xxkg3eqV
Failed to activate new LV.
I noticed that I did not have a /dev/vgtest on the node where I created the VG. I discovered (by googling the error message above) that another person had seen a similar problem and resolved it by restarting the clvmd service. I did the same thing and the problem was resolved - I don't see that error when creating LVs in that VG, and I now have a /dev/vgtest and associated files (only on the node I created it on).
Now, I created a new VG, try to create a new LV within it and see the same error! I see in the clvmd man page that there is a "-R" option, which sounds like maybe what should be done instead of restarting clvmd. Tried it, but no luck - same error and no /dev/ directory created. Restart clvmd, instant fix.
So - what am I doing wrong here? I can't imagine I am supposed to restart clvmd every time I create a new VG, am I?
Additionally, I can see the clustered VGs and LVs on my other node, but there are not any files in /dev for the clustered VGs - is this normal? I have also restarted clvmd there with no effect.
Thanks,
Kevin