[Linux-cluster] error messages while use fsck.gfs2

Polo InitX initxpolo at gmail.com
Thu Nov 10 09:31:02 UTC 2011


Hi
    The host use UIT's CT1600 and UIT's 2000E IP-SAN storage (single LUN
10TB)
last time the switch got a  power failure during the data backup (the iSCSI
connection is lost)
after the iSCSI reconneted, the filesystem was unable to use.

So I try  use fsck.gfs2 to fix the filesystem problem.but there is a error
message and I got no idea with this error.

[root at Toureg ~]# fsck.gfs2 /dev/sdc
Initializing fsck
The system master directory seems to be destroyed.
Okay to rebuild it? (y/n)y
Trying to rebuild the master directory.
libgfs2.h: out of space

file system info
[root at Toureg ~]# gfs2_tool sb /dev/sdc all
  mh_magic = 0x01161970
  mh_type = 1
  mh_format = 100
  sb_fs_format = 1801
  sb_multihost_format = 1900
  sb_bsize = 4096
  sb_bsize_shift = 12
  no_formal_ino = 2
  no_addr = 35
  no_formal_ino = 1
  no_addr = 34
  sb_lockproto = fsck_nolock
  sb_locktable =
  uuid = 5a8234ba-ad89-f87a-c98b-807e307085fe

disk info
Disk /dev/sdc: 9987.9 GB, 9987946446848 bytes
255 heads, 63 sectors/track, 1214298 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

I had attached the host dmesg wish the data can come back.

the OS is RHEL 6.0 and I also tried CentOS 5.7 SL 6.1 the results are the
same . only centos 5.4 will got different error messages
I guess it depends on what version of the gfs2-utils used.

btw:
gfs2_tool version
gfs2_tool master (built Nov 10 2011 21:26:03)
Copyright (C) Red Hat, Inc.  2004-2010  All rights reserved.

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20111110/fb285411/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: host.dmesg
Type: application/octet-stream
Size: 67539 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20111110/fb285411/attachment.obj>


More information about the Linux-cluster mailing list