LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 09-18-2009, 04:58 AM   #1
catkin
Senior Member
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.0
Posts: 1,853
Blog Entries: 6
Thanked: 226
"mount.nfs: an incorrect mount option was specified" (soft)


[Log in to get rid of this advertisement]
Hello

Adding NFS option "soft" in fstab results in "mount.nfs: an incorrect mount option was specified" on mount with -o remount. When "soft" is removed from fstab the same command completes silently.

Environment
  • ubuntu 8.04.3 host running:
    • Bridging (bridge-utils 1.2-2)
    • NFS server (nfs-kernel-server 1:1.1.2-2ubuntu2.2)
    • VirtualBox 3.0.6 with Slackware VM NIC configured as Bridged tap1
  • Slackware 13 guest. If NFS client software version is required, please tell me how to find it!
Option "soft" is wanted because Slackware sometimes looses the NFS connection with the host and this hangs shutdown. Otherwise the NFS mount works fine.

man 5 nfs on Slackware shows "soft" as an option.

Here's the relevant host exports and guest fstab lines
Code:
/home 192.168.1.46(rw,no_root_squash,no_subtree_check)
192.168.1.47:/home /home/c/hh nfs    bg,rw,soft      0 0
Best

Charles
linux catkin is offline  
Tag This Post , , ,
Reply With Quote
Old 09-19-2009, 12:27 AM   #2
Smartpatrol
Member
 
Registered: Sep 2009
Location: Northern Colorado
Distribution: Centos,RHEL,Ubuntu, Debian
Posts: 106
Thanked: 9
I might be mistaken but i believe its a soft mount by default.
windows_vista Smartpatrol is offline     Reply With Quote
Old 09-19-2009, 06:30 AM   #3
catkin
Senior Member
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.0
Posts: 1,853
Blog Entries: 6
Thanked: 226

Original Poster
Quote:
Originally Posted by Smartpatrol View Post
I might be mistaken but i believe its a soft mount by default.
Thanks Smartpatrol According to the nfs man page on Slackware 13, the default is hard:
Code:
       soft / hard    Determines  the  recovery  behavior  of the NFS client after an NFS request times out.  If
                      neither option is specified (or if the hard option is specified), NFS requests are retried
                      indefinitely.   ...
linux catkin is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with mount NFS, with "RPC: port mapper failure" error alisa Linux - Networking 2 05-20-2008 03:52 AM
mount option "-F" and "ufs" dreamlemon Linux - Newbie 6 02-11-2007 10:10 AM
Receive "modprobe: Can’t locate module block-major-" and disconnects NFS mount car182 Linux - Hardware 1 05-25-2006 09:46 AM
connecting openbsd to linux nfs mount - "unsupported protocol" error animehair *BSD 4 03-28-2005 02:21 AM
redhat 7.2 mount nfs"RPC:time out"problem bee33 Linux - Networking 1 02-19-2004 11:03 AM


All times are GMT -5. The time now is 03:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration