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 838512 - Tuned tries to remount a device mounted more than once on the system and fails
Summary: Tuned tries to remount a device mounted more than once on the system and fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: tuned
Version: 6.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Branislav Blaškovič
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-09 10:06 UTC by Vadim Grinco
Modified: 2013-11-21 11:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The "mount" command is used to remount file systems with no_barriers, but not all file systems can be remounted. Consequence: The remount command can fail and error message can be displayed which may confuse users. Fix: The error messages from the mount command were silenced. Result: If the file system cannot be remounted with no_barriers, it is silently skipped and no error is displayed.
Clone Of:
Environment:
Last Closed: 2013-11-21 11:33:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed fix (524 bytes, patch)
2013-07-23 20:16 UTC, Jaroslav Škarvada
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1623 0 normal SHIPPED_LIVE tuned bug fix and enhancement update 2013-11-20 21:38:38 UTC

Description Vadim Grinco 2012-07-09 10:06:55 UTC
Description of problem:
/etc/tune-profiles/enterprise-storage/ktune.sh (and probably others) is not able to correctly mount a GFS2 volume mounted twice or more times on the same system with the same journal id.

Version-Release number of selected component (if applicable):
tuned-0.2.19-7.el6.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Configure /dev/<path_to>/<gfs2_volume> to mount to /mnt/a and /mnt/b in /etc/fstab
2. Reboot system
  
Actual results:
ktune.sh tries to mount /mnt/a and /mnt/b with nobarrier option, which is impossible in the configuration above.

Expected results:
Exclude /mnt/a and /mnt/b from the list of devices that have to be mounted with nobarrier option.

Comment 2 RHEL Program Management 2012-09-07 05:34:20 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 6 Jaroslav Škarvada 2013-07-22 16:55:17 UTC
I will just silence the error, because remounting local mounts with nobarrier can pass:

# mount
...
/dev/loop0 on /var/tmp/a type gfs2 (rw)
/dev/loop0 on /var/tmp/b type gfs2 (rw)

# mount -o remount,barrier=0 /var/tmp/a

# mount
...
/dev/loop0 on /var/tmp/a type gfs2 (rw,nobarrier)
/dev/loop0 on /var/tmp/b type gfs2 (rw)

Comment 7 Jaroslav Škarvada 2013-07-23 20:16:16 UTC
Created attachment 777456 [details]
Proposed fix

Comment 9 Branislav Blaškovič 2013-09-30 06:53:02 UTC
As mentioned in comment #6, there is no need for automatic test in my opinion. Patch looks sane and it applies correctly.

Marking Sanity only.

Comment 10 errata-xmlrpc 2013-11-21 11:33:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1623.html


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