易创云论坛

 找回密码
 立即注册
查看: 3034|回复: 0

mount 挂载 nfs 报错 mount: wrong fs type, bad option, bad superblock on

[复制链接]

170

主题

178

帖子

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
100700
发表于 2022-4-25 17:41:27 | 显示全部楼层 |阅读模式
原文连接: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

  1. #centos
  2. yum install nfs-utils
  3. #ubuntu
  4. apt-get install nfs-common
复制代码
验证 mount 挂载

这回就不报错了


mount -t nfs 192.168.55.102:/data /data
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|易创云论坛 ( 吉ICP备17001024号-1 )

GMT+8, 2025-2-1 23:02 , Processed in 0.272050 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表