Chinaunix

标题: mount文件系统时报错"attempt to access beyond end of device" [打印本页]

作者: love2004    时间: 2010-06-08 17:45
标题: mount文件系统时报错"attempt to access beyond end of device"
有两台服务器(server1和server2,安装的都是RHEL 5),连接一台公用EMC存储(CX4-120),从EMC里面划出了一个LUN(大小为6TB),

然后,在server1上检测到该盘后,通过parted分区,然后ext3格式化,最后,mount文件系统,一切正常。往文件系统中写文件等操作,均无异常。于是umount文件系统。

接着,在server2上检测到该盘后,mount文件系统,此时出现:
[root@server1 cdrstorage]# ls -l
total 16
?--------- ? ?    ?        ?            ? archive
?--------- ? ?    ?        ?            ? dbdump
drwx------ 2 root root 16384 Mar 31  2009 lost+found
?--------- ? ?    ?        ?            ? mysqldata
?--------- ? ?    ?        ?            ? Rawdata
出现很多问号,而且检查/var/log/messages日志文件,发现mount的时候,系统有如下报错信息:
Jun  8 13:34:19 new_stat1 kernel: attempt to access beyond end of device
Jun  8 13:34:19 new_stat1 kernel: emcpowera: rw=0, want=12287999779, limit=2097152
Jun  8 13:34:19 new_stat1 kernel: attempt to access beyond end of device
Jun  8 13:34:19 new_stat1 kernel: emcpowera: rw=0, want=12287999947, limit=2097152
Jun  8 13:34:19 new_stat1 kernel: attempt to access beyond end of device
Jun  8 13:34:19 new_stat1 kernel: sdb: rw=0, want=12287999779, limit=2097152
Jun  8 13:34:19 new_stat1 kernel: attempt to access beyond end of device
Jun  8 13:34:19 new_stat1 kernel: sdb: rw=0, want=12287999947, limit=2097152
Jun  8 13:34:19 new_stat1 kernel: attempt to access beyond end of device
Jun  8 13:34:19 new_stat1 kernel: sdb: rw=0, want=12287999779, limit=2097152

网上有关于此问题的一个办法,用fsck检查磁盘,但似乎没有看到有成功的案例。
请问,该问题是什么情况导致的,有什么解决办法?另外,如果文件系统有问题,那在server1上挂接的时候,也应该是有问题的才对,似乎有些矛盾。

望热心的朋友帮忙分析一下。
作者: bj161109    时间: 2010-06-08 21:25
use gfs
作者: jerryjzm    时间: 2010-06-09 10:49
请问你如何让这2台服务器共享盘阵的磁盘信息使用gfs
要是必须使用ext3
那就考虑 HA-LVM




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2