[Bug 471315] New: mount.nfs4 grumps about incorrect mount options when they are not incorrect
https://bugzilla.novell.com/show_bug.cgi?id=471315 Summary: mount.nfs4 grumps about incorrect mount options when they are not incorrect Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5 Short version: mount -o remount,rsize=XX,wsize=YY fails if XX and YY are not what the mount currently uses (or so it appears). frank:~ # mount -v -o remount,rsize=32768,wsize=32768 192.168.2.1:/ mount.nfs4: timeout set for Sat Jan 31 16:51:34 2009 mount.nfs4: text-based options: 'rsize=1048576,wsize=1048576,rsize=32768,wsize=32768,clientaddr=192.168.2.10,addr=192.168.2.1' mount.nfs4: mount(2): Invalid argument mount.nfs4: an incorrect mount option was specified However, if I use "-o remount,rsize=8192,wsize=8192" then it works fine (which is what it was actually mounted with originally). Why does it say invalid mount option? If I use 32768 in /etc/fstab and reboot it works. The 1048576 comes from /etc/fstab which I just edited but have not yet rebooted using. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471315 User dsterba@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=471315#c1 David Sterba <dsterba@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |dsterba@novell.com, | |nfbrown@novell.com AssignedTo|bnc-team-screening@forge.pr |dsterba@novell.com |ovo.novell.com | --- Comment #1 from David Sterba <dsterba@novell.com> 2009-02-19 09:47:57 MST --- According to this http://nfs.sourceforge.net/#faq_d11 , you can only change generic options via remount, not the NFS specific ones. Unmount and mount again with desired options should work. Neil, can you please comment? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=471315 User nfbrown@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=471315#c2 --- Comment #2 from Neil Brown <nfbrown@novell.com> 2009-02-19 17:01:30 MST --- Exactly correct. NFS does not support changes to nfs-specific mount options via -o remount (or an other way). The best would could do is change the error message - that shouldn't be too hard, but I'm not sure it would be worth the effort. We would have to see this issue as a feature request rather than a bug I think. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com