- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Filesystem getting mounted from /etc/fstab whi...
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
03-01-2007 11:45 PM
03-01-2007 11:45 PM
Filesystem getting mounted from /etc/fstab while the same is in cluster package control file...
i have a volume group in cluster which mounts the mountpoint from /etc/fstab and not from package control file after running cmrunpkg.
i am really not getting how its happening..when i hash the entry in /etc/fstab it doesnt get mount ..
log file says mount point not found in /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 11:53 PM
03-01-2007 11:53 PM
Re: Filesystem getting mounted from /etc/fstab while the same is in cluster package control file...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 11:55 PM
03-01-2007 11:55 PM
Re: Filesystem getting mounted from /etc/fstab while the same is in cluster package control file...
You should also check that any cluter package VG does not auto activate using /etc/lvmrc.
The activation of the vg and mount of the files system is done by the package control script, verify you have this configured correctly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2007 12:23 AM
03-02-2007 12:23 AM
Re: Filesystem getting mounted from /etc/fstab while the same is in cluster package control file...
If you sticked with the formatting of the package script template you could run this to check what volumes and mount points are involved for a certain package:
# grep ^LV /etc/cmcluster/some_package/some_package.cntl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2007 01:41 AM
03-02-2007 01:41 AM
Re: Filesystem getting mounted from /etc/fstab while the same is in cluster package control file...
You should have (for clusters):
AUTO_VG_ACTIVATE=0
Then under "custom_vg_activation()"
put the vg's that are not in the cluster.
IE:
custom_vg_activation()
{
# e.g. /sbin/vgchange -a y -s
# parallel_vg_sync "/dev/vg00 /dev/vg01"
# parallel_vg_sync "/dev/vg02 /dev/vg03"
/sbin/vgchange -a y -s /dev/vg00
/sbin/vgchange -a y -s /dev/vg01
parallel_vg_sync "/dev/vg00 /dev/vg01"
return 0
}
That way, it doesn't matter what is in /etc/fstab....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2007 03:21 AM
03-02-2007 03:21 AM
Re: Filesystem getting mounted from /etc/fstab while the same is in cluster package control file...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2007 03:40 AM
03-02-2007 03:40 AM
Re: Filesystem getting mounted from /etc/fstab while the same is in cluster package control file...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2007 04:34 PM
03-04-2007 04:34 PM
Re: Filesystem getting mounted from /etc/fstab while the same is in cluster package control file...
My package control script attached herewith...
Also my /etc/lvmrc file is as follows :
# @(#)B11.23_LR
# /etc/lvmrc
#
# This file is sourced by /sbin/lvmrc. This file contains the flags
# AUTO_VG_ACTIVATE and RESYNC which are required by the script in /sbin/lvmrc.
# These flags must be set to valid values (see below).
#
#
# The activation of Volume Groups may be customized by setting the
# AUTO_VG_ACTIVATE flag to 0 and customizing the function
# custom_vg_activation()
#
#
# To disable automatic volume group activation,
# set AUTO_VG_ACTIVATE to 0.
#
AUTO_VG_ACTIVATE=1
#
# The variable RESYNC controls the order in which
# Volume Groups are resyncronized. Allowed values
# are:
# "PARALLEL" - resync all VGs at once.
# "SERIAL" - resync VGs one at a time.
#
# SERIAL will take longer but will have less of an
# impact on overall I/O performance.
#
RESYNC="SERIAL"
#
# Add customized volume group activation here.
# A function is available that will synchronize all
# volume groups in a list in parallel. It is
# called parallel_vg_sync.
#
# This routine is only executed if AUTO_VG_ACTIVATE
# equals 0.
#
custom_vg_activation()
{
# e.g. /sbin/vgchange -a y -s
# parallel_vg_sync "/dev/vg00 /dev/vg01"
# parallel_vg_sync "/dev/vg02 /dev/vg03"
return 0
}
#
# The following functions should require no additional customization:
#
parallel_vg_sync()
{
for VG in $*
do
{
if /sbin/vgsync $VG > /dev/null
then
echo "Resynchronized volume group $VG"
fi
} &
done
}
Yes mridul the vg is cluster aware...
regards,
Tejas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2007 07:39 PM
03-04-2007 07:39 PM
Re: Filesystem getting mounted from /etc/fstab while the same is in cluster package control file...
as Geoff already pointed out,
you should set
AUTO_VG_ACTIVATE=0
in /etc/lvmrc to avoid inadvertent activation of your cluster shared VG vg_mcgb_bancs_prod,
which should only be activated exclusively on package start on the node that is runnung this package.
If you have any other VGs that aren't part of the cluster but which you would like to be activated on a reboot you should list them in the function custom_activation of /etc/lvmrc like Geoff has shown.
From your attached control script I can see these mountpoints, which must not appear in /etc/fstab (maybe only commented out as a reminder).
Btw, are these the conflicting mountpoints?
$ grep ^LV /tmp/286463.cntl|cut -d\; -f2
FS[0]="/fns/p1"
FS[1]="/oradata_p1"
FS[2]="/oradata_pfone"
FS[3]="/comlink"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2007 07:43 PM
03-04-2007 07:43 PM
Re: Filesystem getting mounted from /etc/fstab while the same is in cluster package control file...
The mountpoints pointed by u r no longer used by us..so i have hashed it in my control file....so only setting AUTO_VG parameter to zero will solve my problem..
Regards,
Dattu.