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 839743 - /etc/init.d/gfs2 won't correctly mount GFS2 volumes that are used as source for a bind mount
Summary: /etc/init.d/gfs2 won't correctly mount GFS2 volumes that are used as source f...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: cluster
Version: 6.3
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: 6.4
Assignee: Robert Peterson
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-12 17:43 UTC by Vadim Grinco
Modified: 2012-07-16 10:42 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-16 10:42:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vadim Grinco 2012-07-12 17:43:57 UTC
Description of problem:
/etc/init.d/gfs2 won't correctly mount GFS2 volumes that are used as source for a bind mount

Version-Release number of selected component (if applicable):
gfs2-utils-3.0.12.1-32.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1.add the following items to your fstab:
/dev/mapper/gfs-volume     /pub                    gfs2     noquota,noatime,nobarrier 0 0
/pub                     /exports/pub            none     bind,_netdev

2. run /etc/init.d/gfs2 restart

  
Actual results:
gfs2 will call mount /pub which will mount it to /exports/pub, /dev/mapper/gfs-volume will stay unmounted

Expected results:
Mount /dev/mapper/gfs-volume to /pub

A valid workaround would be changing fstab to:
1.add the following items to your fstab:
/dev/mapper/gfs-volume     /pub                    gfs2     noquota,noatime,nobarrier 0 0
/dev/mapper/gfs-volume     /exports/pub                    gfs2     noquota,noatime,nobarrier 0 0

Comment 2 Steve Whitehouse 2012-07-16 10:42:10 UTC
The _netdev tag isn't really intended for use with GFS2, even though some people have used it in the past. You can add a short script, to mount the bind mounts afterwards if required. There are some notes on this in the docs, see this section and the following one, which contains an example script:

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/Global_File_System_2/index.html#s1-manage-pathnames

Let us know if you need any more info, but I don't think this is a bug.


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