小编use*_*058的帖子

NFSv4“符号链接级别过多”错误

两台机器都运行 Ubuntu 12.04

远程 NFSv4 客户端

$ ls /mnt/storage/aaaaaaa_aaa/bbbb/cccc_ccccc gives this error:
ls: reading directory .: Too many levels of symbolic links
Run Code Online (Sandbox Code Playgroud)

我怎样才能解决这个问题?

当发生错误时,ls 开始列出文件,但是 PHP 会刹车。

在 NFSv4 服务器上

/etc/fstab

/mnt/storage    /srv/storage    none    bind    0 0
Run Code Online (Sandbox Code Playgroud)

/etc/exports

/srv         192.168.1.0/24(rw,async,insecure,no_subtree_check,crossmnt,fsid=0,no_root_squash)
/srv/storage   192.168.1.0/24(rw,async,nohide,insecure,no_subtree_check,no_root_squash)
Run Code Online (Sandbox Code Playgroud)

错误

root@ds:root@ds:/mnt/storage/foreign_dbs/imdb/imdb_htmls# ls -l | head
ls: reading directory .: Too many levels of symbolic links
total 10302840
-rw-r--r-- 1 root root  10484 Jul  5 13:56 0019038.gz
-rw-r--r-- 1 root root  16264 Mar 30 00:31 …
Run Code Online (Sandbox Code Playgroud)

symbolic-link nfs4

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

nfs4 ×1

symbolic-link ×1