- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Filesystem not mounting after machine reboot
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
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
11-29-2007 02:07 AM
11-29-2007 02:07 AM
I have created a new volume group & added 3 LVs in the vg. I have configured them to mount at every reboot. However when I reboot the machine the filesystems are not mounting automatically. I see the following error messages in the /etc/rc.log
Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
----------------------------
mountall: cannot mount /dev/vg01/home
mountall: diagnostics from mount
vxfs mount: Cannot open /dev/vg01/home: No such device or address
mountall: cannot mount /dev/vg01/bptmlogs
mountall: diagnostics from mount
vxfs mount: Cannot open /dev/vg01/bptmlogs: No such device or address
mountall: cannot mount /dev/vg01/appmgmt
mountall: diagnostics from mount
vxfs mount: Cannot open /dev/vg01/appmgmt: No such device or address
checking quotas
But after the machine reboots, if I change the vg availability by running "vgchange -a y vg01" and try mounting them again using mountall, the y can be mounted. I do not understand what is the problem.
/etc/fstab
/dev/vg01/home /home vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg01/appmgmt /appmgmt vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg01/bptmlogs /bptm_logs vxfs rw,suid,largefiles,delaylog,datainlog 0 2
thanks in advance for all you suggestions.
Regards
Kaushik
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 02:11 AM
11-29-2007 02:11 AM
Re: Filesystem not mounting after machine reboot
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 02:11 AM
11-29-2007 02:11 AM
SolutionIf so, take a look at /etc/lvmrc. If AUTO_VG_ACTIVATE=0 then you will need to add an entry for vg01 to the custom_vg_activation() function.
ALternative possibility - is theis system running some rather old Secure Path software?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 02:22 AM
11-29-2007 02:22 AM
Re: Filesystem not mounting after machine reboot
Yes this machine is a part of the Service Guard cluster, and the AUTO_VG_ACTIVATE is set to 1. However I do not have anything for vg01 in the custom_vg_activation function. I will include vg01 in this function.
Thanks & Regards
Kaushik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 02:24 AM
11-29-2007 02:24 AM
Re: Filesystem not mounting after machine reboot
Also try doing a 'vgdisplay -v vg01' and see what it shows your LV names to be. Make sure your LV names from the vgdisplay output match what you have in /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 02:30 AM
11-29-2007 02:30 AM
Re: Filesystem not mounting after machine reboot
I just realised, I need to set AUTO_VG_ACTIVATE=1 or have some customized commands like vgchange in the custom_vg_activation. Now since the VG_ACTIVATE=1, I need not modify the custom_vg_activation function. Please correct me if I'm wrong.
Thanks and Regards
Kaushik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 02:40 AM
11-29-2007 02:40 AM
Re: Filesystem not mounting after machine reboot
If this *is* a Serviceguard cluster node, then AUTO_VG_ACTIVATE *should* be set to 0, otherwise when this node boots it will attempt to activate all VGs, including those for Serviceguard packages that are running on other nodes.
The correct way to configure this file on a Serviceguard node is to have AUTO_VG_ACTIVATE=0 and then have entries in custom_vg_activation () for the non-Serviceguard VGs.
So lets say I have a host with 4 VGs. vg00 and vg01 are local non-Serviceguard VGs and vg02 and vg03 are Serviceguard VGs. Here's what the relevant parts of /etc/lvmrc might look like:
AUTO_VG_ACTIVATE=0
...
custom_vg_activation()
{
/sbin/vgchange -a y -s vg00
/sbin/vgchange -a y -s vg01
parallel_vg_sync /dev/vg00 /dev/vg01
return 0
}
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 02:40 AM
11-29-2007 02:40 AM
Re: Filesystem not mounting after machine reboot
My mistake, I was looking on the wrong machine.
We have 2 similar clusters, I was looking on the cluster where the AUTO_VG_ACTIVATE is set 1, and the filesystems mount ok on this cluster, however the cluster with the problem AUTO_VG_ACTIVATE is set to 0.
Thanks for your valuable suggestion.
Regards
Kaushik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 02:42 AM
11-29-2007 02:42 AM
Re: Filesystem not mounting after machine reboot
If AUTO_VG_ACTIVATE is 0 (ZERO) then you need to have command in the custom_vg_activation section. If AUTO_VG_ACTIVATE is a non-zero value, then all VG's should be activated automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 02:43 AM
11-29-2007 02:43 AM
Re: Filesystem not mounting after machine reboot
AUTO_VG_ACTIVATE should *never* be set to 1 on a Serviceguard cluster. You need to fix that.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2007 02:45 AM
11-29-2007 02:45 AM
Re: Filesystem not mounting after machine reboot
I have learnt a valuable lesson.
I will do as you have suggested.
Set AUTO_VG_ACTIVATE to 0, and update the custom_vg_activate function.
Thanks and regards
Kaushik