Solved

Permission denied after mounting to NFS

Posted on 2004-10-17
7
880 Views
Last Modified: 2010-04-20
suse:/ # mount mvnas:/software /mvnas/
suse:/ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3              37G  2.6G   34G   8% /
shmfs                1010M     0 1010M   0% /dev/shm
mvnas:/software       689G   45G  644G   7% /mvnas
suse:/ # cd /mvnas/
-bash: cd: /mvnas/: Permission denied
suse:/ # ls -al

drwxrwxrwx    2 4294967294 4294967294       64 Oct 17 21:05 mvnas
drwxr-xr-x   10 root     root          240 Jun 10 16:21 opt
dr-xr-xr-x   64 root     root            0 Oct 17 13:53 proc

0
Comment
Question by:oracle_fan
  • 3
  • 2
  • 2
7 Comments
 
LVL 6

Expert Comment

by:blkline
ID: 12336152
What is the content of /etc/exports?
0
 
LVL 6

Expert Comment

by:blkline
ID: 12336156
I mean, what is the contents of /etc/exports on mvnas?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12336185
What does 'ls -ld /software' on the NFS server (mvnas) show?
0
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

Author Comment

by:oracle_fan
ID: 12336252
suse:~ # showmount -e mvnas
Export list for mvnas:
/software (everyone)
/nfs      (everyone)
suse:~ #

mvnas is running windows 2000 storage server on Dell powervualt 745.  NFS is turned on with simple maps and root access allowed, I can see the maps as you see.  Our linux server prozac has NFS also and it works fine, here is the mounts on it:

suse:~ # showmount -e prozac
Export list for prozac:
/hda  *
/hde1 *
/     *
0
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 12338007
If it were a problem with the export of the volme you wouldn't be able to mount the volume. It looks to me like the failure you are seeing is a permissions issue on the content of the mounted volume.
0
 

Author Comment

by:oracle_fan
ID: 12338708
I'm not even able to cd /mvnas after it is mounted, I get permission denied.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12341673
That implies that the w2k server isn't allowing UID 0 read & execute permission on the exported data file/dirs.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
squid3 ntlm and itunes authentication 5 90
Strongswan setup to Cisco ASA Site to site 5 480
Linux SSH Error 9 139
can't umount nfs share after server goes offline... 4 92
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 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