Personal tools
You are here: Home Members marc blog Blog on OCFS2 OSR on OCFS2 netfs.patch
Document Actions

netfs.patch

In order to clean reboot ocfs2 osr cluster this patch needs to be applied to the /etc/init.d/netfs script

Click here to get the file

Size 1 kB - File type text/x-patch

File contents

--- netfs.orig	2008-06-05 21:23:18.945202828 +0200
+++ netfs	2008-06-05 21:35:51.682703206 +0200
@@ -30,7 +30,7 @@
 SMBMTAB=`LC_ALL=C awk '$3 == "smbfs" { print $2 }' /proc/mounts`
 CIFSMTAB=`LC_ALL=C awk '$3 == "cifs" { print $2 }' /proc/mounts`
 NCPMTAB=`LC_ALL=C awk '$3 == "ncpfs" { print $2 }' /proc/mounts`
-NETDEVMTAB=`LC_ALL=C awk '$4 ~ /_netdev/ && $2 != "/" { print $2 }' /etc/mtab`
+NETDEVMTAB=`LC_ALL=C awk '$4 ~ /_netdev/ && $2 != "/" && $2 != "/cdsl.local" { print $2 }' /etc/mtab`
 
 # See how we were called.
 case "$1" in
Blog on OCFS2
« February 2012 »
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29
Blog on OCFS2:
More...
Categories:
OCFS2 (0)
OCFS2 Sharedroot (0)
Shared (0)
root (0)
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: