Skip to contentSkip to conversation

intermittent EPERM

DISCUSSION Brian J. Murrell 2 participants 2 messages Oct 4, 2006 – Oct 9, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Since having upgraded my Ubuntu (edgy) kernel I have noticed the last few revs of it cause intermittent EPERM errors on NFS clients. For example:

brian@pc:~$ sudo mount pc:/home/brian /mnt/test
brian@pc:~$ cd /mnt/test
brian@pc:/mnt/test$ cat .bash_profile
cat: .bash_profile: Permission denied
brian@pc:/mnt/test$ cat .bash_profile
cat: .bash_profile: Permission denied
brian@pc:/mnt/test$ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi

It took three attempts at reading that file to not get an EPERM.

Is this a known issue of any sort?

Thanx,
b.

Signature · 3 lines
My other computer is your Microsoft Windows server.

Brian J. Murrell

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 13 lines · On Wednesday October 4, [email protected] wrote:

Since having upgraded my Ubuntu (edgy) kernel I have noticed the last few revs of it cause intermittent EPERM errors on NFS clients. For example:

brian@pc:~$ sudo mount pc:/home/brian /mnt/test
brian@pc:~$ cd /mnt/test
brian@pc:/mnt/test$ cat .bash_profile
cat: .bash_profile: Permission denied
brian@pc:/mnt/test$ cat .bash_profile
cat: .bash_profile: Permission denied
brian@pc:/mnt/test$ cat .bash_profile
# .bash_profile
Quoted 8 lines

# Get the aliases and functions
if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi

It took three attempts at reading that file to not get an EPERM.

Is this a known issue of any sort?

Yep. It should be fixed in 2.6.18 and recent 2.6.17.x releases. You can work-around by exporting with no_subtree_check (which is a good idea anyway and will be the default one day soon).

NeilBrown

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs