[Ocfs2-users] OCFS2 mount points not automatically mounting onserver reboot

Ulf Zimmermann ulf at openlane.com
Thu Aug 6 17:37:28 PDT 2009


Isn't your problem that you are setting the filesystem type to "ocfs2_oracw" and "ocfs2_oragrid" ? Unless this has changed after 1.2.9, it should be "ocfs2".


From: ocfs2-users-bounces at oss.oracle.com [mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of McKinley, Reid
Sent: Thursday, August 06, 2009 12:07 PM
To: McKinley, Reid; Srinivas Eeda
Cc: ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] OCFS2 mount points not automatically mounting onserver reboot

I should mention that the OCFS2 mount points mount fine when the manual mount is done after the reboot.
Cmds for manual mounting:

mount -o datavolume,nointr,_netdev,noatime -t ocfs2 /dev/mapper/mpath0 /u02
mount -o datavolume,nointr,_netdev,noatime -t ocfs2 /dev/mapper/mpath1 /u03


They just do not auto mount when rebooting.

/etc/fstab entries look like this:

/dev/mapper/mpath0      /u02                  ocfs2_oracw datavolume,nointr,_netdev  0 0
/dev/mapper/mpath1      /u03                  ocfs2_oragrid datavolume,nointr,_netdev  0 0



________________________________
From: ocfs2-users-bounces at oss.oracle.com [mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of McKinley, Reid
Sent: Thursday, August 06, 2009 2:47 PM
To: Srinivas Eeda
Cc: ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] OCFS2 mount points not automatically mounting onserver reboot

Thanks, Srini.

We cannot locate any other applicable msgs in the dmesg for this.  Here is a portion.

SCSI device sds: drive cache: write back
 sds: unknown partition table
SCSI device sdt: 57688320 512-byte hdwr sectors (29536 MB)
sdt: Write Protect is off
sdt: Mode Sense: 6b 00 00 08
SCSI device sdt: drive cache: write back
 sdt: unknown partition table
SCSI device sdu: 57688320 512-byte hdwr sectors (29536 MB)
sdu: Write Protect is off
sdu: Mode Sense: 6b 00 00 08
SCSI device sdu: drive cache: write back
 sdu: unknown partition table
SCSI device sdv: 57688320 512-byte hdwr sectors (29536 MB)
sdv: Write Protect is off
sdv: Mode Sense: 6b 00 00 08
SCSI device sdv: drive cache: write back
 sdv: unknown partition table
SCSI device sdw: 57688320 512-byte hdwr sectors (29536 MB)
sdw: Write Protect is off
sdw: Mode Sense: 6b 00 00 08
SCSI device sdw: drive cache: write back
 sdw: unknown partition table
SCSI device sdx: 57688320 512-byte hdwr sectors (29536 MB)
sdx: Write Protect is off
sdx: Mode Sense: 6b 00 00 08
SCSI device sdx: drive cache: write back
 sdx: unknown partition table
Hangcheck: starting hangcheck timer 0.9.0 (tick is 1 seconds, margin is 10 seconds).
Hangcheck: Using monotonic_clock().

Here is the additional info.

[root at servername01 rc6.d]# ls
K02avahi-daemon    K20oracleasm   K74ntpd         K89netplugd
K02avahi-dnsconfd  K25sshd        K75netfs        K89rdisc
K02haldaemon       K30sendmail    K80kdump        K90network
K03rhnsd           K35smb         K85mdmonitor    K92ip6tables
K03yum-updatesd    K35winbind     K85mdmpd        K92iptables
K05atd             K50netconsole  K85messagebus   K95kudzu
K05saslauthd       K50snmpd       K85rpcgssd      K96init.crs
K10cups            K50snmptrapd   K85rpcidmapd    K97sysstat
K10psacct          K50xinetd      K86nfslock      K99lvm2-monitor
K10Tivoli_lcf1     K60crond       K87irqbalance   K99microcode_ctl
K10xfs             K69rpcsvcgssd  K87mcstrans     S00killall
K15httpd           K72autofs      K87multipathd   S01reboot
K19ocfs2           K73ypbind      K87portmap
K20nfs             K74lm_sensors  K87restorecond
K20o2cb            K74nscd        K88syslog
[root at chastoemgc01 rc6.d]#

________________________________
From: Srinivas Eeda [mailto:srinivas.eeda at oracle.com]
Sent: Thursday, August 06, 2009 1:52 PM
To: McKinley, Reid
Cc: ocfs2-users at oss.oracle.com
Subject: Re: [Ocfs2-users] OCFS2 mount points not automatically mounting on server reboot

Reid,

that error about stackglue module is harmless and can be ignored.
Are you seeing any other errors associated with mounts failing in dmesg? Is the storage up by then? Can you list ls /etc/rc<runlevel>.d/

thanks,
--Srini



McKinley, Reid wrote:
Our ocfs2 mount points will not mount on server reboot.
This is a critical issue because we are storing the Oracle Clusterware OCR and Voting files on a OCFS2 mount point.

We receive this error in the system log:

modprobe: FATAL: Module ocfs2_stackglue not found.

/etc/fstab entries look like this:

/dev/mapper/mpath0      /u02                  ocfs2_oracw datavolume,nointr,_netdev  0 0
/dev/mapper/mpath1      /u03                  ocfs2_oragrid datavolume,nointr,_netdev  0 0

We are using the following config:

[root at servername02 ~]# uname -r
2.6.18-92.el5
[root at servername02 ~]# rpm -qa|grep -i ocfs2
ocfs2-tools-devel-1.4.2-1.el5
ocfs2-2.6.18-92.el5-1.4.2-1.el5
ocfs2-tools-1.4.2-1.el5
ocfs2console-1.4.2-1.el5

We have the ocfs and oc2b services configured to restart:

[root at servername02 ~]# chkconfig --list |grep ocfs
ocfs2           0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root at servername02 ~]# chkconfig --list |grep o2cb
o2cb            0:off   1:off   2:on    3:on    4:on    5:on    6:off

Any help is greatly appreciated.
Thanks,
Reid M.

********************************************************************************************

This message, including any attachments, contains confidential information intended

for a specific individual and purpose, and is protected by law. If you are not the intended

recipient, please contact the sender immediately by reply e-mail and destroy all copies.

You are hereby notified that any disclosure, copying, or distribution of this message, or

the taking of any action based on it, is strictly prohibited.



TIAA-CREF

********************************************************************************************
















________________________________














_______________________________________________

Ocfs2-users mailing list

Ocfs2-users at oss.oracle.com<mailto:Ocfs2-users at oss.oracle.com>

http://oss.oracle.com/mailman/listinfo/ocfs2-users



********************************************************************************************

This message, including any attachments, contains confidential information intended

for a specific individual and purpose, and is protected by law. If you are not the intended

recipient, please contact the sender immediately by reply e-mail and destroy all copies.

You are hereby notified that any disclosure, copying, or distribution of this message, or

the taking of any action based on it, is strictly prohibited.



TIAA-CREF

********************************************************************************************



********************************************************************************************

This message, including any attachments, contains confidential information intended

for a specific individual and purpose, and is protected by law. If you are not the intended

recipient, please contact the sender immediately by reply e-mail and destroy all copies.

You are hereby notified that any disclosure, copying, or distribution of this message, or

the taking of any action based on it, is strictly prohibited.



TIAA-CREF

********************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090806/b6f5a742/attachment-0001.html 


More information about the Ocfs2-users mailing list