Linux 客户端访问 NFS报Permission Denied错误

简介:

在Linux服务器上访问NFS共享目录时,报错:Permission denied。 如下截图所示:

clip_image001[4]

因为这个NFS是系统管理员配置的,我又不了解具体情况,而系统管理员休假中,联系不上。那么我只能先多了解一下NFS的相关信息

 

1:首先查看NFS组件(nfs-utils)、RPC组件(portmap)是否安装。

    rpm -qa | grep nfs

    rpm -qa | grep protmap

 

2:查看RPC服务是否启动

    /etc/init.d/portmap status

clip_image002[4]

 

3:查看服务器端是否共享(截图省略,用 xxx.xxx.xxx.xxx 代替具体IP地址)

[root@get-orasvr02 mnt]# showmount -e  xxx.xxx.xxx.xxx

 

4:ping NFS服务器端IP地址,检查网络是否畅通

 

从上面几个步骤发现组件、配置等都正常,那么有可能是挂载有问题,我重新挂载一下目录

[root@get-orasvr02 mnt]# mount -t nfs xxx.xxx.xxx.xxx:/volume1/NFSforLinux/7222 /mnt/nfsbak

mount: xxx.xxx.xxx.xxx:/volume1/NFSforLinux/7222 already mounted or /mnt/nfsbak busy

mount: according to mtab,  xxx.xxx.xxx.xxx :/volume1/NFSforLinux/7222 is already mounted on /mnt/nfsbak

[root@get-orasvr02 mnt]# cd nfsbak/

[root@get-orasvr02 nfsbak]# ls

orabak  src  tcp_tomcat080518.tar.gz  tomcat080518.tar.gz  tomcatbak

[root@get-orasvr02 nfsbak]#

 

OK,问题已经解决了。

 

相关文章
|
7月前
|
Linux 虚拟化 iOS开发
VMware Remote Console 13.0.1 for macOS, Linux, Windows - vSphere 虚拟机控制台的桌面客户端
VMware Remote Console 13.0.1 for macOS, Linux, Windows - vSphere 虚拟机控制台的桌面客户端
1751 0
VMware Remote Console 13.0.1 for macOS, Linux, Windows - vSphere 虚拟机控制台的桌面客户端
|
8月前
|
NoSQL IDE MongoDB
Studio 3T 2025.17 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
Studio 3T 2025.17 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
491 1
Studio 3T 2025.17 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
|
10月前
|
Linux 虚拟化 iOS开发
VMware Remote Console 13.0.0 for macOS, Linux, Windows - vSphere 虚拟机控制台的桌面客户端
VMware Remote Console 13.0.0 for macOS, Linux, Windows - vSphere 虚拟机控制台的桌面客户端
2742 1
VMware Remote Console 13.0.0 for macOS, Linux, Windows - vSphere 虚拟机控制台的桌面客户端
|
11月前
|
NoSQL IDE MongoDB
Studio 3T 2025.11 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
Studio 3T 2025.11 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
583 3
|
11月前
|
NoSQL IDE MongoDB
Studio 3T 2025.10 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
Studio 3T 2025.10 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
1103 21
Studio 3T 2025.10 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
|
11月前
|
Java Linux 开发工具
Linux下版本控制器(SVN) -命令行客户端
Linux下版本控制器(SVN) -命令行客户端
370 4
|
SQL Linux 数据库
YashanDB Linux客户端安装
本文详细介绍了YashanDB客户端在Linux系统中的安装、使用与卸载步骤。安装方法包括适用于所有Linux平台的脚本安装和专用于CentOS的rpm安装。脚本安装需解压软件包并配置环境变量,而rpm安装则需以root用户执行相关命令。此外,文章还说明了如何通过yasql连接YashanDB并进行数据库操作,以及两种安装方式对应的卸载方法,帮助用户顺利完成客户端的管理与维护。
|
NoSQL IDE MongoDB
Studio 3T 2025.5 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
Studio 3T 2025.5 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
510 2
Studio 3T 2025.5 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
|
NoSQL IDE MongoDB
Studio 3T 2025.4 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
Studio 3T 2025.4 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
555 0
Studio 3T 2025.4 (macOS, Linux, Windows) - MongoDB 的终极 GUI、IDE 和 客户端
|
Ubuntu Unix Linux
Linux网络文件系统NFS:配置与管理指南
NFS 是 Linux 系统中常用的网络文件系统协议,通过配置和管理 NFS,可以实现跨网络的文件共享。本文详细介绍了 NFS 的安装、配置、管理和常见问题的解决方法,希望对您的工作有所帮助。通过正确配置和优化 NFS,可以显著提高文件共享的效率和安全性。
4201 7