You are not logged in.

#1 2010-01-08 10:17:51

my64
Member
From: France
Registered: 2007-12-30
Posts: 88

mount.nfs: Operation not permitted

I just install/reinstall nfs-utils and rpcbind on my pc, and I can't get rid of this error when trying to mount a nfs host:

root# mount  /mnt/metis/home 
mount.nfs: Operation not permitted
fstab:
metis:/home    /mnt/metis/home    defaults,noauto   1 1

Any idea how to fix this ?
thanks,
Olivier

Last edited by my64 (2010-01-08 10:26:17)

Offline

#2 2010-01-08 10:48:38

my64
Member
From: France
Registered: 2007-12-30
Posts: 88

Re: mount.nfs: Operation not permitted

I just found a workaround: remove  package  nfs-utils-1.2.1-2-i686.pkg.tar.gz and replace by an oldest version: nfs-utils-1.2.0-5-i686.pkg.tar.gz

Now the mount works fine.
Olivier

Offline

#3 2010-01-08 15:24:08

hutch
Member
From: Lusiana - Italy
Registered: 2008-10-16
Posts: 13

Re: mount.nfs: Operation not permitted

my64 wrote:

I just found a workaround: remove  package  nfs-utils-1.2.1-2-i686.pkg.tar.gz and replace by an oldest version: nfs-utils-1.2.0-5-i686.pkg.tar.gz

Now the mount works fine.
Olivier

The same happens to me. I solved downgrading as you suggested. I think we should open a bug report.

Offline

#4 2010-01-08 16:14:46

hutch
Member
From: Lusiana - Italy
Registered: 2008-10-16
Posts: 13

Re: mount.nfs: Operation not permitted

Ops, a bug report is already present

http://bugs.archlinux.org/task/17721?st … ect=1&type[0]=&sev[0]=&pri[0]=&due[0]=&reported[0]=&cat[0]=&status[0]=open&percent[0]=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=

In that i esplained the reason and also a solution that does not force you tu downgrading.

Last edited by hutch (2010-01-08 16:16:14)

Offline

#5 2010-01-09 03:59:34

glenn69
Member
Registered: 2007-09-26
Posts: 125

Re: mount.nfs: Operation not permitted

I can confirm the problem and b) solution. Since I don't have access to the server I need to use version 3. Can be used from the command line with:

mount.nfs share mount_point -o 'vers=3'

or in /etc/fstab in a line like:

share mount_point nfs vers=3 0 0

When I use vers=3 in my fstab I get an error that the line is bad.  This is the exact line :

FileServer:/media/Music/ /media/NFS_Music nfs vers=3 defaults 0 0

Upon running mount -a, I get the error:

[mntent]: line 18 in /etc/fstab is bad

Where's my error?

Thanks

Offline

#6 2010-01-09 10:51:17

my64
Member
From: France
Registered: 2007-12-30
Posts: 88

Re: mount.nfs: Operation not permitted

Try:

host:/file  /mnt/Toto nfs defaults,vers=3 0 1

Last edited by my64 (2010-01-10 08:11:52)

Offline

#7 2010-01-10 00:58:47

glenn69
Member
Registered: 2007-09-26
Posts: 125

Re: mount.nfs: Operation not permitted

That did it Thanks

Offline

Board footer

Powered by FluxBB