免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4080 | 回复: 2
打印 上一主题 下一主题

help:mfsfileinfo:operation not permitted [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-04-01 13:48 |只看该作者 |倒序浏览
Dears:
   
    when i use "mfsfileinfo" or "mfscheckfile" command,there is a error occur.below is the error message,pls help,thanks a lot.
    在使用mfsfileinfo或mfscheckfile命令时,会出现如下报错,请高手帮忙指点,不胜感激!!

    #/usr/local/mfs/bin/mfsfileinfo /mnt/mfs
    /mnt/mfs [0]: Operation not permitted.
    #/usr/local/mfs/bin/mfscheckfile /mnt/mfs
    /mnt/mfs [0]: Operation not permitted.

    #df -Th | grep mfs
    mfs#mfsmaster:9421     fuse      13G      2.4M       13G      1%           /mnt/mfs
   
    #ll /mnt/
    drwxrwxrwx   2   root   root   0   Mar  30  12:51     mfs

   OS:CentOS release 5.4,Version:2.6.18-164.el5,32bit
   MooseFS version: mfs-1.6.13
    Fuse version:fuse-2.8.3

论坛徽章:
0
2 [报告]
发表于 2011-04-02 11:38 |只看该作者
已经解决.

方法太菜:mfsfileinfo和mfscheckfile是针对文件的,而我上面的操作是对目录的,所有会报错.
如果对目录,应该用mfsdirinfo命令.

* execute the commands over files and mfsdirinfo over directory.
* /mnt/mfs is local directory.

感谢moosefs-users@lists.sourceforge.net的jose maria.

thanks for jose maria's help.

论坛徽章:
0
3 [报告]
发表于 2011-04-02 13:15 |只看该作者
{:2_176:}{:3_201:}{:3_201:}
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP