原文连接:https://blog.csdn.net/leenhem/article/details/122228719
介绍
NFS就是Network File System的缩写,它最大的功能就是可以通过网络,让不同的机器、不同的操作系统可以共享彼此的文件。
NFS服务器可以让PC将网络中的NFS服务器共享的目录挂载到本地端的文件系统中,而在本地端的系统中来看,那个远程主机的目录就好像是自己的一个磁盘分区一样,在使用上相当便利 远程挂载时发生错误
在远程服务器上挂载时报错 mount: wrong fs type, bad option, bad superblock on 192.168.55.102:/data,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so 问题解决方法
这个问题是由于远程客户端没有安装 nfs 工具
在客户端安装nfs-utils - #centos
- yum install nfs-utils
- #ubuntu
- apt-get install nfs-common
复制代码 验证 mount 挂载
这回就不报错了
mount -t nfs 192.168.55.102:/data /data
|