LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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


Reply
  Search this Thread
Old 11-06-2006, 10:59 AM   #1
technomancer
LQ Newbie
 
Registered: Sep 2005
Location: Doncaster, England
Distribution: debian, *buntu, Fedora
Posts: 8

Rep: Reputation: 0
NFSv4 + autofs


The default configuration in debian's (and *ubuntu) auto.net works nicely to scrape the output of showmount into an nfs3 suitable autofs mapping. Has anyone been bothered to put together an nfs4 version of the same?

Ideas?
 
Old 11-06-2006, 11:10 AM   #2
technomancer
LQ Newbie
 
Registered: Sep 2005
Location: Doncaster, England
Distribution: debian, *buntu, Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
I was being retarded.

Code:
#!/bin/bash

# /etc/auto.net4
# This file must be executable to work! chmod 755!
# This is very simple


opts="-fstype=nfs4,nodev,nosuid,nonstrict,nodev,sync,_netdev,proto=tcp,retry=10,
rsize=32768,wsize=32768,hard,intr"

# Just echo options, a hostname and the export root.
echo "${opts} ${1}:/"
Now, this is either deceptively simple because it /is/ or because I've missed something that's going to lead to breakage?

Last edited by technomancer; 11-06-2006 at 11:33 AM.
 
  


Reply



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
LXer: Linux file system catches up with NFSv4 LXer Syndicated Linux News 0 10-27-2006 02:54 AM
LXer: NFSv4 Delivers Seamless Network Access LXer Syndicated Linux News 0 09-14-2006 11:54 AM
Tweaking NFSv4 Performance fortezza Linux - Newbie 2 08-14-2005 08:20 PM
NFSv4 decrypt in server side? Jedy Linux - Networking 0 04-24-2004 07:35 AM
Using Autofs guygriffiths Linux - Software 1 09-17-2003 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:29 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration