RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 590000 - GFS2: invalid mount option leaves file system unmountable
Summary: GFS2: invalid mount option leaves file system unmountable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: cluster
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: David Teigland
QA Contact: Cluster QE
URL:
Whiteboard:
: 580940 (view as bug list)
Depends On:
Blocks: 559735
TreeView+ depends on / blocked
 
Reported: 2010-05-07 13:37 UTC by Nate Straz
Modified: 2010-07-02 18:55 UTC (History)
10 users (show)

Fixed In Version: cluster-3.0.12-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-02 18:55:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nate Straz 2010-05-07 13:37:05 UTC
Description of problem:

After trying an invalid mount option, other attempts to mount the file system hang.

Log messages from invalid mount option attempt:

May  6 13:32:06 tank-03 qarshd[10497]: Running cmdline: mount -t gfs2 -o garbage /dev/dm-5 /mnt/tank-cluster3
May  6 13:32:06 tank-03 kernel: GFS2: invalid mount option: garbage
May  6 13:32:06 tank-03 kernel: GFS2: can't parse mount arguments
May  6 13:32:06 tank-03 gfs_controld[9079]: do_leave: tank-cluster:tank-cluster3 not found

gfs_control ls output
 - tank-03, where invalid option was attempted
name          tank-cluster3
id            0x3bf37d95
flags         0x00000038 need_first,error,mounted
change        member 3 joined 1 remove 0 failed 0 seq 3,3
members       1 3 4

 - tank-01, first attempt after failure on tank-03
name          tank-cluster3
id            0x3bf37d95
flags         0x00000025 need_first,blocked,join
change        member 3 joined 1 remove 0 failed 0 seq 2,2
members       1 3 4

 - tank-04, second attempt
name          tank-cluster3
id            0x3bf37d95
flags         0x00000025 need_first,blocked,join
change        member 3 joined 1 remove 0 failed 0 seq 1,1
members       1 3 4


Version-Release number of selected component (if applicable):
cman-3.0.9-5.el6.i686
gfs2-utils-3.0.9-5.el6.i686
kernel-2.6.32-23.el6.i686

How reproducible:
Easily

Steps to Reproduce:
1. mount -o foo /dev/... /mnt/...
2. check for "gfs_controld do_leave: $cluster:$locktable not found" in /var/log/cluster/gfs_controld.log
  
Actual results:


Expected results:


Additional info:

Comment 2 Steve Whitehouse 2010-05-07 14:10:32 UTC
I think we might already have a bz open for this...

Comment 3 Steve Whitehouse 2010-05-07 14:13:28 UTC
It seems thats a RHEL5 bug, so I've added a dep.

Comment 4 David Teigland 2010-05-07 14:36:41 UTC
It's a simple bug, introduced by
http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=46e0a2ef75abe03455b9e15f22bed2c53a839014

-void do_leave(char *table, int mnterr)
+void do_leave(char *name, int mnterr)

But the arg to the do_leave() call in process_connection wasn't changed.

Comment 6 Steve Whitehouse 2010-05-07 14:55:48 UTC
Thanks, looks good to me.

Comment 8 Nate Straz 2010-05-18 20:44:26 UTC
Verified against gfs2-utils-3.0.12-1.el6.i686.

Comment 9 Abhijith Das 2010-06-23 15:21:22 UTC
*** Bug 580940 has been marked as a duplicate of this bug. ***

Comment 10 releng-rhel@redhat.com 2010-07-02 18:55:02 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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