public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Bob Peterson <rpeterso@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: gfs2-utils: master - The mount -o remount option failed due to new relatime option
Date: Thu, 20 Aug 2009 15:55:00 -0000	[thread overview]
Message-ID: <20090820155521.0C5281201E7@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=37933701519ee6efd4259214bc717e978e135510
Commit:        37933701519ee6efd4259214bc717e978e135510
Parent:        22a5586fdee349775822cf64bc7580c1c6e94713
Author:        Bob Peterson <rpeterso@redhat.com>
AuthorDate:    Thu Aug 20 10:47:02 2009 -0500
Committer:     Bob Peterson <rpeterso@redhat.com>
CommitterDate: Thu Aug 20 10:57:55 2009 -0500

The mount -o remount option failed due to new relatime option

The relatively new "relatime" mount option was not understood
as a valid mount option by the gfs2 mount helper (and not passed
up to the gfs2 kernel module).  Therefore all attempts to remount
a gfs2 file system resulted in:
error mounting <device> on <mntpt>: Invalid argument

with the following dmesg:

GFS2: fsid=bob:test.0: invalid mount option: relatime
---
 gfs2/mount/util.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gfs2/mount/util.c b/gfs2/mount/util.c
index cb1a860..42cd8f0 100644
--- a/gfs2/mount/util.c
+++ b/gfs2/mount/util.c
@@ -92,6 +92,7 @@ static struct opt_map opt_map[] = {
   { "owner",    0, 0, 0  },             /* Let the owner of the device mount */
   { "noowner",  0, 1, 0  },             /* Device owner has no special privs */
   { "_netdev",  0, 0, 0  },             /* Network device required (netfs) */
+  { "relatime", 0, 1, 0  },         /* Update atime relative to mtime/ctime. */
   { NULL,       0, 0, 0	 }
 };
 


                 reply	other threads:[~2009-08-20 15:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090820155521.0C5281201E7@lists.fedorahosted.org \
    --to=rpeterso@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).