nfs编码问题 [英] nfs encoding issue

查看:496
本文介绍了nfs编码问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Celerra NS-20导出带有cif和nfs的文件系统。这些文件是由Windows机器编写的。



当我在linux中安装cif时,所有文件名特殊字符都可以,但是在挂载nfs(同一文件系统)时,文件名特殊字符被打破了。



有没有办法挂载更改编码的文件系统?

解决方案

我们与新的VNX 5300有同样的问题,解决方案是在VNX中启用NFSv4协议,默认情况下,它仅支持v3。



为此,编辑:



/ nas / server / slot_2 / config



/ nas / server / slot_3 / config



设置行如下:



nfs config hivers = 4



并重新启动数据转换器:



server_cpu server_2 -reboot -monitor

server_cpu server_3 -reboot -monitor


I have a Celerra NS-20 that export a filesystem with cifs and nfs. The files are written by windows machines.

When I mount the cifs in linux all filename special characters are ok, but when mount the nfs (same filesystem) the filenames special character are broken.

Are there a way to mount the filesystem changing the encoding ?

解决方案

We have the same issue with a new VNX 5300 and the resolution was to enable the NFSv4 protocol in the VNX, by default its only support v3.

For that, edit:

/nas/server/slot_2/config

/nas/server/slot_3/config

And set the line like:

nfs config hivers=4

and restart the datamovers:

server_cpu server_2 -reboot -monitor

server_cpu server_3 -reboot -monitor

这篇关于nfs编码问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆