Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 198851 Details for
Bug 252241
self_fence missing from clusterfs.sh, preventing reboot if unmount fails
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fixes behavior
rgmanager-252241.patch (text/plain), 1.49 KB, created by
Lon Hohberger
on 2007-09-18 20:48:09 UTC
(
hide
)
Description:
Fixes behavior
Filename:
MIME Type:
Creator:
Lon Hohberger
Created:
2007-09-18 20:48:09 UTC
Size:
1.49 KB
patch
obsolete
>Index: src/resources/clusterfs.sh >=================================================================== >RCS file: /cvs/cluster/cluster/rgmanager/src/resources/clusterfs.sh,v >retrieving revision 1.1.2.13 >diff -u -r1.1.2.13 clusterfs.sh >--- src/resources/clusterfs.sh 21 May 2007 15:56:47 -0000 1.1.2.13 >+++ src/resources/clusterfs.sh 18 Sep 2007 20:42:57 -0000 >@@ -133,6 +134,18 @@ > <content type="string"/> > </parameter> > >+ <parameter name="self_fence"> >+ <longdesc lang="en"> >+ If set and unmounting the file system fails, the node will >+ immediately reboot. Generally, this is used in conjunction >+ with force-unmount support, but it is not required. >+ </longdesc> >+ <shortdesc lang="en"> >+ Seppuku Unmount >+ </shortdesc> >+ <content type="boolean"/> >+ </parameter> >+ > <parameter name="fsid"> > <longdesc lang="en"> > File system ID for NFS exports. This can be overridden >@@ -795,6 +810,15 @@ > esac > fi > >+ if [ -n "$mp" ]; then >+ case ${OCF_RESKEY_self_fence} in >+ $YES_STR) self_fence=$YES ;; >+ 1) self_fence=$YES ;; >+ *) self_fence="" ;; >+ esac >+ fi >+ >+ > # > # Always do this hackery on clustered file systems. > # >@@ -870,8 +902,13 @@ > done # while > > if [ -n "$umount_failed" ]; then >- ocf_log err "'umount $dev' failed ($mp), error=$ret_val" >+ ocf_log err "'umount $mp' failed, error=$ret_val" > >+ if [ "$self_fence" ]; then >+ ocf_log alert "umount failed - REBOOTING" >+ sync >+ reboot -fn >+ fi > return $FAIL > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252241
: 198851