Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

mount failed, reason given by server: Permission denied

Posted on 2000-04-09
3
10,808 Views
Last Modified: 2011-08-18
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
0
Comment
Question by:djc2
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 2698659
I suspect that the second export might not be actually occuring (typo in the exports file) and you can check that on the exporting system with "exportfs". It should list both exported filesystems. You probably already know, but there are some things, like logical links that can't be exported.
0
 

Author Comment

by:djc2
ID: 2700079
OK, I figured it out - I wasn't familiar with exportfs. It wasn't a typo in /etc/exports. But when I typed exportfs, it listed a 3rd filesystem (one that I had listed in /etc/exports a week ago, but had since removed). When I then typed exportfs -r to synchronize, only
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
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2700565
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.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reset Root Password on CentOS 6 4 69
Can't ping New Linux Servers 40 89
number in printf 13 32
How do I setup Wordpress to use Master / Slave MySQL database setup? 4 48
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question