Operating System - HP-UX
1833451 Members
2868 Online
110052 Solutions
New Discussion

mounting in a ServiceGuard

 
Angela Swyers_1
Frequent Advisor

mounting in a ServiceGuard

How do I mount a logical volume in an MCService Guard environment? I get the error that it's not a valid filesystem when I use the mount command.
3 REPLIES 3
Sanjay_6
Honored Contributor

Re: mounting in a ServiceGuard

Hi Angela,

Does this filesystem belong to a vg that is cluster aware. If so you need to first activate the vg using the vgchange -a e vg_name. Use of -a e option with the vgchange command allow the vg to be activated exlusively on this node. then mount the filesystem using the mount command.

Normally the vg activation and the filesystem mount is configured in the package startup script.

Take a look at this chapter from the service Guard doc.

http://docs.hp.com/en/B3936-90065/ch06.html

Hope this helps.

Regds
melvyn burnard
Honored Contributor

Re: mounting in a ServiceGuard

what type of file system is it that you are tryiong to mount? hsf? or vxfs?
Make sure you have the settings right in the package control script.

as a test, if you have the cluster running, activate the vg:
vgchange -a e vgname
then try to mount the files system manually:
mount /dev/vg??/ /mountpoint

Does this work?
If not, you have to look at maybe recreating the file system correctly..
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Paul Torp
Regular Advisor

Re: mounting in a ServiceGuard

if u have created this volumegroup and NOT added it in the /etc/cmcluster/package/package.conf file:

U have to do this:

be aware that the minor numbers on volumgroups in one server have to be be different..

ll /dev/vg*/group

This output should be the same on both servers.

vgchange -c y vg_whatever
vgchange -a e vg_whatever
"sendmail is kind of fun..."