Asanka Gunasekera
2012-Sep-12 07:32 UTC
[Ocfs2-users] Subject: problem configuring ocfs on rhel5.8 kernel 2.6.18-300.el5
Hi this is a resend from a subscribed address sorry if I am causing any inconvenience hope some one can help me on this, I have been straggling to get this working for few weeks now. My issue is as below I am just trying to use ocfs2 as shared file system between 2 node HA cluster for a application that runs on these nodes I have downloaded below packages ocfs2-2.6.18-238.9.1.el5-1.4.9-1.el5.x86_64.r and ocfs2-2.6.18-308.1.1.el5-1.4.10-1.el5.x86_64 Installation goes with out any complains but when its time to configure I get below errors [root at ccbsn01 ~]# /etc/init.d/o2cb configure Configuring the O2CB driver. This will configure the on-boot properties of the O2CB driver. The following questions will determine whether the driver is loaded on boot. The current values will be shown in brackets ('[]'). Hitting <ENTER> without typing an answer will keep that current value. Ctrl-C will abort. Load O2CB driver on boot (y/n) [y]: Cluster stack backing O2CB [o2cb]: Cluster to start on boot (Enter "none" to clear) [ocfs2]: Specify heartbeat dead threshold (>=7) [31]: Specify network idle timeout in ms (>=5000) [30000]: Specify network keepalive delay in ms (>=1000) [2000]: Specify network reconnect delay in ms (>=2000) [2000]: Writing O2CB configuration: OK Loading filesystem "ocfs2_dlmfs": Unable to load filesystem "ocfs2_dlmfs" Failed And in the /var/log/message log I get below error Sep 12 11:21:41 node01 modprobe: FATAL: Module ocfs2_stackglue not found. Sep 12 11:21:41 node01 modprobe: FATAL: Module ocfs2_dlmfs not found. Sep 12 11:33:13 node01 modprobe: FATAL: Module ocfs2_stackglue not found. Sep 12 11:33:13 node01 modprobe: FATAL: Module ocfs2_dlmfs not found. How can I fix this and get this working Thanks and Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20120912/0e89d7ae/attachment.html
Ulf Zimmermann
2012-Sep-12 08:12 UTC
[Ocfs2-users] Subject: problem configuring ocfs on rhel5.8 kernel 2.6.18-300.el5
What is your kernel version? Run ?uname ?r? My guess is that your kernel is not 2.6.18-238.9.1.el5 nor 2.6.18-308.1.1.el5 You will need to install the matching ocfs2-2.6.18-300.el5-1.4.9-1.el5.x86_64 package. From: ocfs2-users-bounces at oss.oracle.com [mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of Asanka Gunasekera Sent: Wednesday, September 12, 2012 12:32 AM To: ocfs2-users at oss.oracle.com Subject: [Ocfs2-users] Subject: problem configuring ocfs on rhel5.8 kernel 2.6.18-300.el5 Hi this is a resend from a subscribed address sorry if I am causing any inconvenience hope some one can help me on this, I have been straggling to get this working for few weeks now. My issue is as below I am just trying to use ocfs2 as shared file system between 2 node HA cluster for a application that runs on these nodes I have downloaded below packages ocfs2-2.6.18-238.9.1.el5-1.4.9-1.el5.x86_64.r and ocfs2-2.6.18-308.1.1.el5-1.4.10-1.el5.x86_64 Installation goes with out any complains but when its time to configure I get below errors [root at ccbsn01 ~]# /etc/init.d/o2cb configure Configuring the O2CB driver. This will configure the on-boot properties of the O2CB driver. The following questions will determine whether the driver is loaded on boot. The current values will be shown in brackets ('[]'). Hitting <ENTER> without typing an answer will keep that current value. Ctrl-C will abort. Load O2CB driver on boot (y/n) [y]: Cluster stack backing O2CB [o2cb]: Cluster to start on boot (Enter "none" to clear) [ocfs2]: Specify heartbeat dead threshold (>=7) [31]: Specify network idle timeout in ms (>=5000) [30000]: Specify network keepalive delay in ms (>=1000) [2000]: Specify network reconnect delay in ms (>=2000) [2000]: Writing O2CB configuration: OK Loading filesystem "ocfs2_dlmfs": Unable to load filesystem "ocfs2_dlmfs" Failed And in the /var/log/message log I get below error Sep 12 11:21:41 node01 modprobe: FATAL: Module ocfs2_stackglue not found. Sep 12 11:21:41 node01 modprobe: FATAL: Module ocfs2_dlmfs not found. Sep 12 11:33:13 node01 modprobe: FATAL: Module ocfs2_stackglue not found. Sep 12 11:33:13 node01 modprobe: FATAL: Module ocfs2_dlmfs not found. How can I fix this and get this working Thanks and Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20120912/214013c4/attachment.html
Asanka Gunasekera
2012-Sep-12 10:22 UTC
[Ocfs2-users] Subject: problem configuring ocfs on rhel5.8 kernel 2.6.18-300.el5
Hi All, since the post I have made some kind of a progress 1. I upgraded the kernel to 2.6.18-308.1.1.el5 same I was able to download the ocfs2 module is ocfs2-2.6.18-308.1.1.el5-1.4.10-1.el5.x86_64.rpm Looks some what better and below are the outputs Configuring the O2CB driver. This will configure the on-boot properties of the O2CB driver. The following questions will determine whether the driver is loaded on boot.? The current values will be shown in brackets ('[]').? Hitting <ENTER> without typing an answer will keep that current value.? Ctrl-C will abort. Load O2CB driver on boot (y/n) [y]: Cluster stack backing O2CB [o2cb]: Cluster to start on boot (Enter "none" to clear) [ocfs2]: Specify heartbeat dead threshold (>=7) [31]: Specify network idle timeout in ms (>=5000) [30000]: Specify network keepalive delay in ms (>=1000) [2000]: Specify network reconnect delay in ms (>=2000) [2000]: Writing O2CB configuration: OK Loading filesystem "configfs": OK Mounting configfs filesystem at /sys/kernel/config: OK Loading filesystem "ocfs2_dlmfs": OK Mounting ocfs2_dlmfs filesystem at /dlm: OK Starting O2CB cluster ocfs2: Failed Cluster ocfs2 created Node ocfsn1 added o2cb_ctl: Internal logic failure while adding node ocfsn2 Stopping O2CB cluster ocfs2: OK abd in the messages I time to time get below and I saw in a post that I can ignore this. modprobe: FATAL: Module ocfs2_stackglue not found. By the look of this the ocfs modules are getting added at the boot time as well. Byt yet to attached a shared storage and see the functionality Thanks and Regards ________________________________ From: Asanka Gunasekera <asanka_gunasekera at yahoo.co.uk> To: "ocfs2-users at oss.oracle.com" <ocfs2-users at oss.oracle.com> Sent: Wednesday, 12 September 2012, 13:02 Subject: [Ocfs2-users] Subject: problem configuring ocfs on rhel5.8 kernel 2.6.18-300.el5 Hi this is a resend from a subscribed address sorry if I am causing any inconvenience hope some one can help me on this, I have been straggling to get this working for few weeks now. My issue is as below I am just trying to use ocfs2 as shared file system between 2 node HA cluster for a application that runs on these nodes I have downloaded below packages ocfs2-2.6.18-238.9.1.el5-1.4.9-1.el5.x86_64.r and ocfs2-2.6.18-308.1.1.el5-1.4.10-1.el5.x86_64 Installation goes with out any complains but when its time to configure I get below errors [root at ccbsn01 ~]# /etc/init.d/o2cb configure Configuring the O2CB driver. This will configure the on-boot properties of the O2CB driver. The following questions will determine whether the driver is loaded on boot. The current values will be shown in brackets ('[]'). Hitting <ENTER> without typing an answer will keep that current value. Ctrl-C will abort. Load O2CB driver on boot (y/n) [y]: Cluster stack backing O2CB [o2cb]: Cluster to start on boot (Enter "none" to clear) [ocfs2]: Specify heartbeat dead threshold (>=7) [31]: Specify network idle timeout in ms (>=5000) [30000]: Specify network keepalive delay in ms (>=1000) [2000]: Specify network reconnect delay in ms (>=2000) [2000]: Writing O2CB configuration: OK Loading filesystem "ocfs2_dlmfs": Unable to load filesystem "ocfs2_dlmfs" Failed And in the /var/log/message log I get below error Sep 12 11:21:41 node01 modprobe: FATAL: Module ocfs2_stackglue not found. Sep 12 11:21:41 node01 modprobe: FATAL: Module ocfs2_dlmfs not found. Sep 12 11:33:13 node01 modprobe: FATAL: Module ocfs2_stackglue not found. Sep 12 11:33:13 node01 modprobe: FATAL: Module ocfs2_dlmfs not found. How can I fix this and get this working Thanks and Best Regards _______________________________________________ Ocfs2-users mailing list Ocfs2-users at oss.oracle.com https://oss.oracle.com/mailman/listinfo/ocfs2-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20120912/8f017606/attachment-0001.html
Tiger Yang
2012-Sep-13 03:06 UTC
[Ocfs2-users] Subject: problem configuring ocfs on rhel5.8 kernel 2.6.18-300.el5
What is the version of the ocfs2-tools? run mkfs.ocfs2 --version to get the tools version. For 1.4.10, you need ocfs2-tools 1.6.3-2. Tiger On 09/12/2012 03:32 PM, Asanka Gunasekera wrote:> Hi this is a resend from a subscribed address sorry if I am causing > any inconvenience > > hope some one can help me on this, I have been straggling to get this > working for few weeks now. My issue is as below > > I am just trying to use ocfs2 as shared file system between 2 node HA > cluster for a application that runs on these nodes > > I have downloaded below packages > > ocfs2-2.6.18-238.9.1.el5-1.4.9-1.el5.x86_64.r > and > ocfs2-2.6.18-308.1.1.el5-1.4.10-1.el5.x86_64 > > Installation goes with out any complains but when its time to > configure I get below errors > > /[root at ccbsn01 ~]# /etc/init.d/o2cb configure > Configuring the O2CB driver. > > This will configure the on-boot properties of the O2CB driver. > The following questions will determine whether the driver is loaded on > boot. The current values will be shown in brackets ('[]'). Hitting > <ENTER> without typing an answer will keep that current value. Ctrl-C > will abort. > > Load O2CB driver on boot (y/n) [y]: > Cluster stack backing O2CB [o2cb]: > Cluster to start on boot (Enter "none" to clear) [ocfs2]: > Specify heartbeat dead threshold (>=7) [31]: > Specify network idle timeout in ms (>=5000) [30000]: > Specify network keepalive delay in ms (>=1000) [2000]: > Specify network reconnect delay in ms (>=2000) [2000]: > Writing O2CB configuration: OK > Loading filesystem "ocfs2_dlmfs": Unable to load filesystem "ocfs2_dlmfs" > Failed > / > And in the /var/log/message log I get below error > > /Sep 12 11:21:41 node01 modprobe: FATAL: Module ocfs2_stackglue not found. > Sep 12 11:21:41 node01 modprobe: FATAL: Module ocfs2_dlmfs not found. > Sep 12 11:33:13 node01 modprobe: FATAL: Module ocfs2_stackglue not found. > Sep 12 11:33:13 node01 modprobe: FATAL: Module ocfs2_dlmfs not found. > > /How can I fix this and get this working > > Thanks and Best Regards > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > https://oss.oracle.com/mailman/listinfo/ocfs2-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20120913/28ef39c2/attachment.html