GFS2标志0x00000005被阻止,加入



我有集群RHEL6,cman,corosync,起搏器。

在添加新的memeber后,我在GFS安装中出现了错误。GFS从不安装在服务器上。

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

过程中:

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

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

10 (Block 11337799 is type 10: Ext. attrib which is not implemented)

如何删除阻止的标志,从GFS加入?

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

GFS锁定基于内核,在少数情况下,它只需重新启动即可解决。

有非常有用的手册-https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/Global_File_System_2/index.html

相关内容

  • 没有找到相关文章

最新更新