djc2
asked on
mount failed, reason given by server: Permission denied
I'm running linux2.2.14,
I'm trying to mount 2 different partitions on a remote host computer.
One of them I'm able to mount successfully, while the other one gives me:
mount failed, reason given by server: Permission denied
On the host computer, I list both in the /etc/exports file. And I list both in
my /etc/fstab file.
As far as I can tell things are set up identically for the two, but one fails and one works. Any ideas why the one could be failing?
Thanks,
Dave
I'm trying to mount 2 different partitions on a remote host computer.
One of them I'm able to mount successfully, while the other one gives me:
mount failed, reason given by server: Permission denied
On the host computer, I list both in the /etc/exports file. And I list both in
my /etc/fstab file.
As far as I can tell things are set up identically for the two, but one fails and one works. Any ideas why the one could be failing?
Thanks,
Dave
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The stale entry is most likely the result of simply changing exports without "unexporting the entry". If you look at the manpage for exportfs, it says that it maintains a list of exported file systems in /var/lib/nfs/xtab.
ASKER
the 2 listed in /etc/exports were listed by exportfs. And, I was then able to mount. I have no idea why exportfs listed that stale entry, given that I had rebooted the computer several times. Nevertheless it works now ... thanks for pointing me in the right direction.
-dave