[Linux-cluster] gfs_fsck problem

Jay Cable jcable at gi.alaska.edu
Fri May 20 04:39:36 UTC 2005

Hello --

I am having trouble fscking (running gfs_fsck) on gfs filesystems.  I have
a two node cluster that is going to be used as file servers.  I recently
noticed that I could not fsck the gfs filesystem they share.  Initially I
thought this was due to some problem with my hardware, but when
I tried creating a new gfs filesystem, then immediately fsck-ing it, I
still have problems, and the fsck is unable to complete.  The storage
system appears to work fine with other file systems.

I am using the "RHEL4 branch", current as of this morning.

Does anyone have any advice as to what I might be doing wrong?

Here is what I was trying:

[root at mugen gfs]# gfs_mkfs -V
gfs_mkfs DEVEL.1116516970 (built May 19 2005 11:37:18)
Copyright (C) Red Hat, Inc.  2004-2005  All rights reserved.

[root at mugen gfs]# gfs_mkfs -j 3 -p lock_dlm -t ftp:dds_space
This will destroy any data on /dev/mapper/ftp_space-erc1.
  It appears to contain a GFS filesystem.

Are you sure you want to proceed? [y/n] y

Device:                    /dev/mapper/ftp_space-erc1
Blocksize:                 4096
Filesystem Size:           340773216
Journals:                  3
Resource Groups:           5202
Locking Protocol:          lock_dlm
Lock Table:                ftp:dds_space

All Done

[root at mugen gfs]# gfs_fsck -V
GFS fsck DEVEL.1116516970 (built May 19 2005 11:37:14)
Copyright (C) Red Hat, Inc.  2004-2005  All rights reserved.
[root at mugen gfs]#  gfs_fsck /dev/mapper/ftp_space-erc1
Initializing fsck
Buffer #4296081376 (5 of 134571718) is neither GFS_METATYPE_RB nor
Resource group is corrupted.
Unable to read in rgrp descriptor.
Unable to fill in resource group information.

 jcable at gi.alaska.edu

More information about the Linux-cluster mailing list