Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 891
  • Last Modified:

Permission denied after mounting to NFS

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
oracle_fan
Asked:
oracle_fan
  • 3
  • 2
  • 2
1 Solution
 
blklineCommented:
What is the content of /etc/exports?
0
 
blklineCommented:
I mean, what is the contents of /etc/exports on mvnas?
0
 
jlevieCommented:
What does 'ls -ld /software' on the NFS server (mvnas) show?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
oracle_fanAuthor Commented:
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
 
jlevieCommented:
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
 
oracle_fanAuthor Commented:
I'm not even able to cd /mvnas after it is mounted, I get permission denied.
0
 
jlevieCommented:
That implies that the w2k server isn't allowing UID 0 read & execute permission on the exported data file/dirs.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now