关于NIS服务绑定和mount挂载的问题
来源:互联网 发布:windows缩小图片大小 编辑:程序博客网 时间:2024/05/23 13:59
换成备份节点mu01后,
登陆到计算节点很慢,发现nis服务没有挂载,
[root@c02b01 ~]# cat /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
modprobe lnet
modprobe lustre
sleep 10
mount -t lustre 10.0.0.51@o2ib:/lustre /lustre
mount --bind /lustre/home /home
mount -t nfs -o vers=3 mu02:/opt/tsce/share /opt/tsce/share
service pbs_mom restart
[root@c02b02 ~]# mount -l
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /sys/kernel/config type configfs (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.1.51:/public on /public type nfs (rw,vers=3,addr=192.168.1.51)
nfsd on /proc/fs/nfsd type nfsd (rw)
10.0.0.51@o2ib:/lustre on /lustre type lustre (rw)
/lustre/home on /home type none (rw,bind)
发现 mount -t nfs -o vers=3 mu02:/opt/tsce/share /opt/tsce/share 未执行,在计算节点上执行
mount -t nfs -o vers=3 192.168.0.123:/opt/tsce/share /opt/tsce/share, 发现检查时NIS服务没挂载导致的
Starting NIS service: [ OK ]
Binding NIS service: ..。。
binding/ Makefile nicknames TS10K/ ypservers
[root@mu01 ~]# cat /var/yp/ypservers
192.168.0.123
# generated by /sbin/dhclient-script
domain TS10K server 192.168.0.123
[liuqiang2@mu01 ~]$ ssh c02b01
Last login: Wed May 25 06:40:56 2005 from 192.168.0.123
-bash: /opt/tsce/share/tsce.profile: No such file or directory
[liuqiang2@c02b01 ~]$
[root@c02b01 ~]# mount -l
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /sys/kernel/config type configfs (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.1.51:/public on /public type nfs (rw,vers=3,addr=192.168.1.51)
nfsd on /proc/fs/nfsd type nfsd (rw)
10.0.0.51@o2ib:/lustre on /lustre type lustre (rw)
/lustre/home on /home type none (rw,bind)
/lustre/home on /home type none (rw,bind)
192.168.0.123:/opt/tsce/share on /opt/tsce/share type nfs (rw,vers=3,addr=192.168.0.123)
Last login: Wed May 25 06:55:27 2005 from 192.168.0.123
[liuqiang2@c02b01 ~]$
- 关于NIS服务绑定和mount挂载的问题
- 关于NFS服务的mount: RPC: Timed out问题
- 关于NFS服务的mount: RPC: Timed out问题
- NIS和pbs服务改动
- 关于mount挂载共享问题总结!!!
- mount --bind 绑定挂载
- 关于mount后/mnt不能写入和修改的问题
- 关于mount后/mnt不能写入和修改的问题
- nis服务
- 文件系统的挂载(NIS NFS Automounter)
- 手动更新NIS服务的用户密码
- 关于mount中文显示乱码的问题~~
- 关于普通用户执行mount的问题
- 关于mount中文显示乱码的问题~~
- 关于linux下mount和df查看挂载的区别
- 绑定服务遇到的问题,绑定后无法调用其中的数据和函数
- mount挂载权限问题
- 网络信息服务(NIS
- Android studio学习之路
- 有没有必要阅读源码
- 深入理解RunLoop
- VB.net版机房收费-ConfigurationManager类引用方法
- UVA--1211(二分+前缀和)
- 关于NIS服务绑定和mount挂载的问题
- LeetCode--172. Factorial Trailing Zeroes
- 蓝桥杯 历届试题 振兴中华
- Toast的参数选择
- Hust oj 1521 Marshal's Confusion III(整数快速幂)
- CF 615 E Hexagons(找规律)
- 带参数的宏定义
- 感受HTML5 Audio API带来的视听盛宴
- F - 播放器