1833930 Members
2476 Online
110063 Solutions
New Discussion

Re: Mount problems !!!

 
Venky_1
Frequent Advisor

Mount problems !!!

Hi ,

After some latest patches installation on HP-UX11i server, one of the volume group fails to get activated and the filesystems under this volume group are not mounted.

After activating the volume group using vgchange -a y , problem was solved but with every reboot it occurs again.

Any suggestions to get rid of this problem.

Thanks
Venky
Winners never quit and quitters never win
7 REPLIES 7
T G Manikandan
Honored Contributor

Re: Mount problems !!!

check whether you have

AUTO_VG_ACTIVATE=1

in the /etc/lvmrc.

John Palmer
Honored Contributor

Re: Mount problems !!!

Check /etc/lvmrc to see if AUTO_VG_ACTIVATE has been set to 0 and you've not specifically activated the VG in question.

Regards,
John
Michael Steele_2
Honored Contributor

Re: Mount problems !!!

With something like this the /etc/rc.log will record any boot up error. Could you review this please? And what does syslog.log say? /var/adm/messages? (* dmesg *)

Could you attach the contents of the following, or review for completeness and accuracy:

strings /etc/lvmtab

vgcfgrestore -f /etc/lvmconf/vg##.conf -l

strings /etc/mnttab | grep -i vg##

cat /etc/fstab | grep -i vg##

Finally, please check the LOGTOOL utility in STM.

STM > TOOLS > UTILITY > RUN > LOGTOOL > FILE > VIEW > RAW SUMMARY.

Note the first and last dates of transactions and calculate the difference. If the difference is short, like 4 hours, then this is important to note. Now read down the report of hardware addresses and observe the integer numbers in parenthesis. Anything over 150 in this 4 hour period should be called into HP for replacement.
Support Fatherhood - Stop Family Law
Venky_1
Frequent Advisor

Re: Mount problems !!!

Hi ,

AUTO_VG_ACTIVATE is set to 1 in /etc/lvmrc file.

Frederick : I have checked the outputs as mentioned in your reply and all the files have relevant entries for the problematic VG.

Thanks
Venky
Winners never quit and quitters never win
T G Manikandan
Honored Contributor

Re: Mount problems !!!

check for
cat /etc/lvmtab

check that with the vgdisplay -v

check for the number of disks.
Daxa Patel
Occasional Advisor

Re: Mount problems !!!

Hi,

The VG would be activated via the /sbin/bcheckrc which checks /sbin/lvmrc exists and is executable. If the AUTO_VG_ACTIVATE=1 is set then the VG should be activated on bootup.
Check both are readdable ane executable .

If the VG has failed to activate and if /etc/fstab has an entry for the mount of the filesystem then I would expect an ERROR in the /etc/rc.log under:
Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
----------------------------
Its a bit strange you don't see any messages in /etc/rc.log .

Hope the above helps .




Thomas Schler_1
Trusted Contributor

Re: Mount problems !!!

Venky:

As a work-around or just for testing, in lvmrc, set AUTO_VG_ACTIVATE to 0, and activate all your volume groups (especially that, that makes problems) explicitly within the custom_vg_activation subroutine, e.g.
custom_vg_activation()
{
/sbin/vgchange -a y /dev/vg01
/sbin/vgchange -a y /dev/vg02
return 0
}

Maybe, this will produce some valuable error messages, or hints to the problem solution.
no users -- no problems