nfs相关命令
来源:互联网 发布:喷泉动画软件 编辑:程序博客网 时间:2024/06/08 03:08
--查看软连接
find /opt/pay_tomcat -type l|xargs ls -l
--查看无效软连接
find . -type l -print |xargs lsattr -d 2>&1|grep "No such file or directory"| awk '{print $11}'
--创建软连接
ln -s /home/ /opt/pay_tomcat/tomcat7/webapps/
/opt/pay_tomcat/tomcat7/webapps下会出现一个软连接,名称为home,连接的地址为/home
--删除软连接
rm /opt/pay_tomcat/tomcat7/webapps/home
--nfs mount
mount -t nfs 172.29.231.93:/share /home
--取消mount
umount -f /home
--nfs服务器 设置mount文件夹及允许访问的ip
vi /etc/exports
/home/epaysch/sharefile 172.29.231.0/24(rw,no_root_squash,sync)
service rpcbind status
service nfs status
service nfs start
service nfs stop
service nfs restart
showmount -e 172.29.231.93
showmount -a
--查看nfs客户端的挂载情况
第一:查看/etc/fstab文件
命令:cat /etc/fstab
第二:df -Th可以看到挂载的信息
第三:mount可以看到你所要的信息
find /opt/pay_tomcat -type l|xargs ls -l
--查看无效软连接
find . -type l -print |xargs lsattr -d 2>&1|grep "No such file or directory"| awk '{print $11}'
--创建软连接
ln -s /home/ /opt/pay_tomcat/tomcat7/webapps/
/opt/pay_tomcat/tomcat7/webapps下会出现一个软连接,名称为home,连接的地址为/home
--删除软连接
rm /opt/pay_tomcat/tomcat7/webapps/home
--nfs mount
mount -t nfs 172.29.231.93:/share /home
--取消mount
umount -f /home
--nfs服务器 设置mount文件夹及允许访问的ip
vi /etc/exports
/home/epaysch/sharefile 172.29.231.0/24(rw,no_root_squash,sync)
service rpcbind status
service nfs status
service nfs start
service nfs stop
service nfs restart
showmount -e 172.29.231.93
showmount -a
--查看nfs客户端的挂载情况
第一:查看/etc/fstab文件
命令:cat /etc/fstab
第二:df -Th可以看到挂载的信息
第三:mount可以看到你所要的信息
0 0
- nfs相关命令
- NFS相关命令失效问题
- nfs相关
- NFS 相关
- nfs挂载文件系统及相关命令
- NFS 命令
- NFS相关知识
- linux NFS相关tip
- NFS 相关操作
- NFS相关错误
- NFS配置命令详解
- nfs挂载命令
- mount nfs命令
- arm9挂载nfs命令
- NFS文件系统操作命令
- linux nfs 命令
- nfs挂载相关问题
- nfs挂载相关问题
- ORA-00444: background process DBRM failed while starting
- 谷歌科学家、Hinton亲传弟子Ilya Sutskever的深度学习综述及实际建议
- VC SQL 登录对话框数据库对用户名和密码进行验证代码!
- Spring中数据库连接池的三种配置(dbcp,c3p0,proxool)(转载)
- 给出日期输出是星期几
- nfs相关命令
- android所有控件
- WebLogic安装完成,控制台无法登录原因之一
- AD/DA参数
- HTML十进制转换表
- [开心学php100天]第六天:用php玩转页面(基础篇)
- Itexpdf入门学习
- error LNK2001 vc6 工程转到vs2012
- UNIX环境高级编程-第18章- 终端 I/O