From: Evuraan on
hello,

i did install nfs-common portmap, and nfs client works:

below are the options i see take effect per /proc/mounts if i say
"mount -t nfs blah:/fs /tmp/somedir"

rw,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nointr,proto=tcp,timeo=600,retrans=2,sec=sys,mountproto=udp

how can i change some of the above without having to use the "-o"
option to the mount command?

for instance, timeo=10 instead of 600, or proto=udp instead of proto=udp ?

i tried looking in /etc/default/nfs-common but could not figure this
out. any help wud be much appreciated. thx.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTilZYzaKfuXKtSTDyjJfD5AceWnHSXi0K_582g7Q(a)mail.gmail.com
From: Camaleón on
On Fri, 21 May 2010 14:27:44 -0700, Evuraan wrote:

> i did install nfs-common portmap, and nfs client works:
>
> below are the options i see take effect per /proc/mounts if i say "mount
> -t nfs blah:/fs /tmp/somedir"
>
>
rw,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nointr,proto=tcp,timeo=600,retrans=2,sec=sys,mountproto=udp
>
> how can i change some of the above without having to use the "-o" option
> to the mount command?

>From client-side, I'm not sure, but if NFS is/acts/behaves similar than
samba does, you should be able to define NFS mount point options under "/
etc/fstab".

For server-side settings, review "/etc/exports" file.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.05.23.15.53.52(a)gmail.com
From: Tom H on
On Sun, May 23, 2010 at 11:53 AM, Camaleón <noelamac(a)gmail.com> wrote:
> On Fri, 21 May 2010 14:27:44 -0700, Evuraan wrote:
>
>> i did  install nfs-common portmap, and nfs client works:
>>
>> below are the options i see take effect per /proc/mounts if i say "mount
>> -t nfs blah:/fs /tmp/somedir"
>>
> rw,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nointr,proto=tcp,timeo=600,retrans=2,sec=sys,mountproto=udp
>>
>> how can i change some of the above without having to use the "-o" option
>> to the mount command?
>
> >From client-side, I'm not sure, but if NFS is/acts/behaves similar than
> samba does, you should be able to define NFS mount point options under "/
> etc/fstab".

Client-side, you can create an alias
alias mountnfs='mount.nfs -o ...'


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTil7Pu-r81sf2PAXZCLIb1KTDQpZLyTwsahCDP15(a)mail.gmail.com