Skip to contentSkip to conversation

invalid argument when creating a file on an nfs share

DISCUSSION Jeroen 2 participants 2 messages Oct 23, 2007

Subsystems (2)
lore
Share & tools
lore

Jeroen

author
#0 lore raw

Hi all,

Whenever I try saving a file to a mounted nfs share I get the following error :

/mnt/home/user$ touch bla
touch: setting times of `bla': Invalid argument

it does create the file bla in the specified location but I am unsure as to what is causing this error.

users and groups on the client are "shared" via pam_ldap

/etc/exports on the server:

/home 192.168.0.8(rw,sync,map_identity,no_root_squash)

/etc/fstab on client:

192.168.0.12:/home/ /mnt/home nfs auto,rw 0 0

client OS is debian Etch,

Server is running debian unstable nfs-user-server :Universal NFS Server 2.2beta47

Regards

Jeroen

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 10 lines · Jeroen

Hi all,

Whenever I try saving a file to a mounted nfs share I get the following error :

/mnt/home/user$ touch bla
touch: setting times of `bla': Invalid argument

it does create the file bla in the specified location but I am unsure as to what is causing this error.

"strace -v -o dump touch bla" should tell you which command is failing, and the exact error being returned.

Cheers
Trond

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs