a linux quick question--Too many levels of symbolic links for directory
原创
©著作权归作者所有:来自51CTO博客作者itseeker的原创作品,请联系作者获取转载授权,否则将追究法律责任
a linux quick question--Too many levels of symbolic links for directory
https://blog.51cto.com/itseeker/458401
a linux quick question--Too many levels of symbolic links for directory
https://blog.51cto.com/itseeker/458401
Today, i am trouble shooting a linux issue about hard disk capacity. My cacti system (monitor platform mentioned in my previous post) is based on opensuse 11 which installed and set by service provider when the data center built on HongKong .
According original design , i know the linux server function as MRTG server, the / directory is just allocated 5G space and mounted many system directory such as "usr , var...." when system was installed. but i think this is not a best practice
for any scenario , if all system directory mount / , it offen meet a issue lacking space, just like mine.
So , i want to move some folders to other partition , it has a mount point /home . After checking system , i decide to move /usr/share to /home , meanwhile i will ln-s /home/share to /usr/share. But when i create the symbolic link for folder share, i found that cacti lose fonts, and present a confused display. I check the symbolic link /usr/share, and i got a error
Too many levels of symbolic links
It seems that i fail to create the symbolic link for folder share that located on /home with command ln -s . i researched , found there exist level limit for command ln. It means the directory to long .
The solution:
mount --bind /home/share /usr/share
It will mount the folder /home/share as a folder and exists in /usr . Confirmed all functions, system works.
上一篇:crm4.0 性能故障一例
下一篇:cacti 监控平台部署心得
举报文章
请选择举报类型
内容侵权
涉嫌营销
内容抄袭
违法信息
其他
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
运维有小邓」AD域批量用户创建
运维有小邓」AD域批量用户创建
创建用户 用户账户 用户管理 -
FastDFS搭建文件管理系统(详细教程)
一 FastDFS介绍开源中国:https://www.oschina.net/question/tag/fastdfsgitHub开源地址:https://github.com/happyf统(Distr.
FastDFS 分布式文件存储系统 文件服务器 nginx 客户端 -
JavaFx-exe4j 一键打包 Jar 转 Exe(实现在没有安装JDK环境的电脑上运行)
下载链接教程下载好软件后,首先我们打开软件,第一页我们什么都不用做【下一步】选择【“JAR in Er.
JavaFx exe jar maven exe4j 一键打包 实现没安装JDK环境电脑上运行 桌面级应用程序 exe4j -
一天一个 Linux 命令(31):mount 命令
简介 Linux下的mount命令用于加载文件系统到指定的加载点。二、格式说明 mount[-lhV]mount-a[options]
一个一个Linux命令 Linux 文件系统 加载 服务器