首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >GFS2标志0x00000005被阻塞,加入

GFS2标志0x00000005被阻塞,加入
EN

Stack Overflow用户
提问于 2015-11-13 13:10:59
回答 1查看 145关注 0票数 0

我有RHEL6,cman,心脏合成,心脏起搏器。

在添加新的备忘录后,我在GFS安装中出错了。GFS从不在服务器上挂载。

代码语言:javascript
复制
group_tool
fence domain
member count  4
victim count  0
victim now    0
master nodeid 1
wait state    none
members       1 2 3 4

dlm lockspaces
name          clvmd
id            0x4104eefa
flags         0x00000000
change        member 4 joined 1 remove 0 failed 0 seq 1,1
members       1 2 3 4

gfs mountgroups
name          lv_gfs_01
id            0xd5eacc83
flags         0x00000005 blocked,join
change        member 3 joined 1 remove 0 failed 0 seq 1,1
members       1 2 3

在过程中:

代码语言:javascript
复制
root      2695  2690  0 08:03 pts/1    00:00:00 /bin/bash /etc/init.d/gfs2 start
root      2702  2695  0 08:03 pts/1    00:00:00 /bin/bash /etc/init.d/gfs2 start
root      2704  2703  0 08:03 pts/1    00:00:00 /sbin/mount.gfs2 /dev/mapper/vg_shared-lv_gfs_01 /mnt/share -o rw,_netdev,noatime,nodiratime

fsck.gfs2 -yf /dev/vg_shared/lv_gfs_01

代码语言:javascript
复制
Initializing fsck
jid=1: Replayed 0 of 0 journaled data blocks
jid=1: Replayed 20 of 21 metadata blocks
Recovering journals (this may take a while)

Journal recovery complete.
Validating Resource Group index.
Level 1 rgrp check: Checking if all rgrp and rindex values are good.
(level 1 passed)
RGs: Consistent: 183   Cleaned: 1   Inconsistent: 0   Fixed: 0   Total: 184
2 blocks may need to be freed in pass 5 due to the cleaned resource groups.
Starting pass1
Pass1 complete
Starting pass1b
Pass1b complete
Starting pass1c
Pass1c complete
Starting pass2
Pass2 complete
Starting pass3
Pass3 complete
Starting pass4
Pass4 complete
Starting pass5
Block 11337799 (0xad0047) bitmap says 1 (Data) but FSCK saw 0 (Free)
Fixed.
Block 11337801 (0xad0049) bitmap says 1 (Data) but FSCK saw 0 (Free)
Fixed.
RG #11337739 (0xad000b) free count inconsistent: is 65500 should be 65502
RG #11337739 (0xad000b) Inode count inconsistent: is 15 should be 13
Resource group counts updated
Pass5 complete
The statfs file is wrong:

Current statfs values:
blocks:  12057320 (0xb7fae8)
free:    9999428 (0x989444)
dinodes: 15670 (0x3d36)

Calculated statfs values:
blocks:  12057320 (0xb7fae8)
free:    9999432 (0x989448)
dinodes: 15668 (0x3d34)
The statfs file was fixed.
Writing changes to disk
gfs2_fsck complete

gfs2_edit -p 0xad0047字段di_size /dev/vg_shared/lv_gfs_01

代码语言:javascript
复制
10 (Block 11337799 is type 10: Ext. attrib which is not implemented)

如何阻止掉旗,从GFS加入?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-07-14 08:14:04

我通过重新启动所有有GFS的服务器来解决这个问题,这是GFS的一个令人不快的行为。

GFS基于内核的锁,在少数情况下,它只通过重新启动来解决。

有非常有用的手册- 2/index.html

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33693493

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档