新的梦想 | 51mx

CAT | 网络管理

安装GlusterFS客户端时,rpm正常安装没有任何报错,但是挂载时不成功,终端上没有任何提示,/var/log/gluster/下却又报错提示:

[2010-08-23 16:37:34] E [mount.c:525:fuse_mount_sys] glusterfs-fuse: cannot open /dev/fuse (No such file or directory)
[2010-08-23 16:37:34] N [mount.c:602:gf_fuse_mount] glusterfs-fuse: direct mount failed (No such file or directory), retry to mount via fusermount
[2010-08-23 16:37:34] E [mount.c:337:fuse_mount_fusermount] glusterfs-fuse: failed to exec fusermount: No such file or directory
[2010-08-23 16:37:34] E [mount.c:337:fuse_mount_fusermount] glusterfs-fuse: failed to exec fusermount: No such file or directory
[2010-08-23 16:37:34] E [mount.c:626:gf_fuse_mount] glusterfs-fuse: mount failed
[2010-08-23 16:37:34] E [xlator.c:844:xlator_init_rec] fuse: Initialization of volume ‘fuse’ failed, review your volfile again
[2010-08-23 16:37:34] E [glusterfsd.c:591:_xlator_graph_init] glusterfs: initializing translator failed
[2010-08-23 16:37:34] E [glusterfsd.c:1395:main] glusterfs: translator initialization failed. exiting
[2010-08-23 16:38:08] W [socket.c:1468:socket_init] trans: disabling non-blocking IO
[2010-08-23 16:38:08] W [socket.c:1468:socket_init] trans: disabling non-blocking IO

追其原因,是因为内核没有装载fuse模块。解决方案如下:
rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
yum install dkms dkms-fuse

执行 modprobe fuse 确认fuse是否加载,如果正常的话不会有任何输出。

问题解决,重新挂载成功。

No tags

May/10

23

Linux Wake UP 远程唤醒

今天回家后,发现公司的一台服务器关了,于是想是否可以远程唤醒…… 虽然不知道主板配置是否支持远程唤醒,但还是试一下吧!

1. 下载 wake up 源代码
wget http://openixp.devel.phj.hu/cgi-bin/trac.cgi/export/98/package/ether-wake/files/ether-wake.c

2. 编译源代码
gcc -O -Wall -o ether-wake ether-wake.c

3. 制定MAC地址开始远程唤醒
其实远程唤醒的关键是怎么找到要唤醒的主机的MAC地址。呵呵~~我到DHCP服务器上找到了!!
./ether-wake  40:61:86:7c:36:xx

4. 一会儿,我在交换机上display arp 时,发现了期待已久的IP 和 MAC.

 很幸运,主板配置是支持远程唤醒的。

·

Theme Design by devolux.nh2.me