Bug 528862 - mount.nfs does not support strictatime option
Summary: mount.nfs does not support strictatime option
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-14 06:03 UTC by Bruce Jerrick
Modified: 2010-10-19 03:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-19 03:28:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bruce Jerrick 2009-10-14 06:03:18 UTC
Description of problem:
NFS mounts with '-o strictatime' fail -- mount.nfs rejects 'strictatime'
as an incorrect option.

Version-Release number of selected component (if applicable):
nfs-utils-1.2.0-16.fc12
nfs-utils-1.2.0-5.fc11

How reproducible:
100%

Steps to Reproduce:
(Problem can be seen with localhost or remote server.)
1. service nfs start		# if not already
2. exportfs -iv localhost:/var/tmp
3. mkdir -p /mnt/nfs
4. mount.nfs localhost:/var/tmp /mnt/nfs -v -o strictatime
  
Actual results:
  mount.nfs: timeout set for Sat Oct 10 02:48:23 2009
  mount.nfs: text-based options: 'strictatime,addr=127.0.0.1'
  mount.nfs: mount(2): Invalid argument
  mount.nfs: an incorrect mount option was specified

Expected results:
Something similar to the results when '-o strictatime' is not given:
  mount.nfs: timeout set for Sat Oct 10 02:51:09 2009
  mount.nfs: text-based options: 'addr=127.0.0.1'
  localhost:/var/tmp on /mnt/nfs type nfs

Additional info:
The results above are with F11/F11 server/client.  Results with F12/F12
are similar, but more verbose.  Results with a remote server are the same.

Remember that mount.nfs is very fussy about args/options order.
To test the prerequisites and args/options order, try this; it should succeed:
    mount.nfs localhost:/var/tmp /mnt/nfs -v -o ro

I used /var/tmp instead of /tmp in the examples to avoid complications if
/tmp happens to be tmpfs .

strictatime would not be necessary if someone would kindly nuke the
relatime kludge/misfeature, and fix the brain-damaged apps that use it
as a crutch.  At best, relatime should be opt-in, not opt-out.

Comment 1 Steve Dickson 2009-10-16 13:57:22 UTC
Not sure what you are refering to as the 'relatime kludge/misfeature'

Comment 2 Bug Zapper 2009-11-16 13:38:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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