Bug 128661 - Can't mount with non-default fence domain
Can't mount with non-default fence domain
Product: Red Hat Cluster Suite
Classification: Red Hat
Component: gfs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Teigland
Cluster QE
Depends On:
  Show dependency treegraph
Reported: 2004-07-27 14:54 EDT by Derek Anderson
Modified: 2010-01-11 21:55 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-07-27 22:36:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Derek Anderson 2004-07-27 14:54:43 EDT
Description of problem:
I started fenced -n <name> with a non-default fence domain name and
GFS will not mount.  It gives the same errors as if you had no fenced
running at all, which are:

lock_dlm: init_fence error -1
GFS: can't mount proto = lock_dlm, table = milty:data1, hostdata =

command line:
[root@link-11 /]# mount -t gfs /dev/sda1 /data1
mount: permission denied

Version-Release number of selected component (if applicable):
gfs_mkfs DEVEL.1090955928 (built Jul 27 2004 14:20:04)
Copyright (C) Red Hat, Inc.  2004  All rights reserved.

How reproducible:

Steps to Reproduce:
1. modprobe gfs && modprobe lock_dlm && ccsd && cman_tool join
2. fenced -n BOOBOO -D
3. mount -t gfs /dev/sda1 /data1 (already a valid gfs on the device)
Actual results:
No mount.

Expected results:

Additional info:
[root@link-11 /]# cat /proc/cluster/services

Service          Name                              GID LID State     Code
Fence Domain:    "BOOBOO"                            7  12 run       -
[2 1 3]

[root@link-11 /]# cat /proc/cluster/nodes
Node  Votes Exp Sts  Name
   1    1    3   M   link-12
   2    1    3   M   link-10
   3    1    3   M   link-11
Comment 1 David Teigland 2004-07-27 22:36:01 EDT
This is correct behavior.  GFS requires that nodes be members of
the default fence domain specifically.  The ability to create/join
fence domains other than the default is of no use to GFS.  Other
users of fenced may have reason to use other domains, though, which is
why it's an option.

Note that there's nothing special with the name "default" per se, it's
just that all gfs nodes must join the same domain (the same name.)
So it can enforce this, lock_dlm requires that a gfs node joins the
domain named "default".
Comment 2 Kiersten (Kerri) Anderson 2004-11-16 14:06:52 EST
Updating version to the right level in the defects.  Sorry for the storm.

Note You need to log in before you can comment on or make changes to this bug.