public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - The mount -o remount option failed due to new relatime option
@ 2009-08-20 15:49 Bob Peterson
  0 siblings, 0 replies; only message in thread
From: Bob Peterson @ 2009-08-20 15:49 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9c8bb17e28ed82886ee837549e4c84196fb7957c
Commit:        9c8bb17e28ed82886ee837549e4c84196fb7957c
Parent:        6c4b0ee0886d6105fe8e5ead2db4e192cbc9e20e
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:47:02 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 fad4032..16fc382 100644
--- a/gfs2/mount/util.c
+++ b/gfs2/mount/util.c
@@ -90,6 +90,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	 }
 };
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-20 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-20 15:49 cluster: STABLE3 - The mount -o remount option failed due to new relatime option Bob Peterson

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).