Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird behavior of NFS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jwezel
n00b
n00b


Joined: 29 Jan 2003
Posts: 41
Location: Effretikon, Switzerland

PostPosted: Wed Feb 13, 2013 10:49 pm    Post subject: Weird behavior of NFS Reply with quote

I have a few mounts against a NAS NFS which becomes dysfunctional exactly 15 minutes after the mount.

On another sytem, the same mounts do not get dysfunctional (only to make sure the problem is not on the NAS).

The only significant difference between the two systems is, the one breaking after 15 minutes is a 64-bit whereas the good one is a 32-bit.

The symptom is, after 15 minutes accessing the network drive yields a Permission denied error, like:
Code:

~ # mount -a -t nfs;date -Iseconds;while cat /mnt/Qmultimedia/Music/Meditationen/Atemuebung.mp3 > /dev/null ; do sleep 1 ; done ; date -Iseconds
2013-02-13T17:56:44+0100
cat: /mnt/Qmultimedia/Music/Meditationen/Atemuebung.mp3: Permission denied
2013-02-13T18:11:46+0100

Then
Code:

~ # df -h
df: '/mnt/Backup': Permission denied
df: '/mnt/Documents': Permission denied
df: '/mnt/Public': Permission denied
df: '/mnt/Qdownload': Permission denied
df: '/mnt/Qmultimedia': Permission denied
df: '/mnt/Qrecordings': Permission denied
df: '/mnt/Qusb': Permission denied
df: '/mnt/Qweb': Permission denied
df: '/mnt/Scanned': Permission denied


and

Code:

starfish ~ # ll /mnt/
ls: cannot access /mnt/Qdownload: Permission denied
ls: cannot access /mnt/Qusb: Permission denied
ls: cannot access /mnt/Qrecordings: Permission denied
ls: cannot access /mnt/Scanned: Permission denied
ls: cannot access /mnt/Backup: Permission denied
ls: cannot access /mnt/Documents: Permission denied
ls: cannot access /mnt/Public: Permission denied
ls: cannot access /mnt/Qmultimedia: Permission denied
ls: cannot access /mnt/Qweb: Permission denied
total 4
d????????? ? ?    ?       ?            ? Backup/
d????????? ? ?    ?       ?            ? Documents/
d????????? ? ?    ?       ?            ? Public/
d????????? ? ?    ?       ?            ? Qdownload/
d????????? ? ?    ?       ?            ? Qmultimedia/
d????????? ? ?    ?       ?            ? Qrecordings/
d????????? ? ?    ?       ?            ? Qusb/
d????????? ? ?    ?       ?            ? Qweb/
d????????? ? ?    ?       ?            ? Scanned/


Is there a known bug in 64-bit NFS? What else could be wrong?
_________________
Johnny Wezel
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8936

PostPosted: Wed Feb 13, 2013 11:04 pm    Post subject: Reply with quote

Mounting NFS from 64-bit clients works fine for many people, including me. In my case, both the client and server are modern Linux systems, not special purpose devices. What is the name and version of your NAS?
Back to top
View user's profile Send private message
jwezel
n00b
n00b


Joined: 29 Jan 2003
Posts: 41
Location: Effretikon, Switzerland

PostPosted: Thu Feb 14, 2013 8:33 am    Post subject: Reply with quote

Hu wrote:
Mounting NFS from 64-bit clients works fine for many people, including me. In my case, both the client and server are modern Linux systems, not special purpose devices. What is the name and version of your NAS?


It's a QNAP TS-109 Pro, runnging for years without problems.
Code:

[~] # uname -a
Linux storage 2.6.12.6-arm1 #1 Sun Sep 18 01:42:37 CST 2011 armv5tejl unknown

_________________
Johnny Wezel
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum