Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Applications > Global File System (GFS) > Issue <<  14 of 71 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 8302
Last update: 05-22-06
Issue:
Why can't I mount a GFS filesystem after changing the name of its cluster in Red Hat Enterprise Linux 4?
Resolution:

The cluster configuration tool system-config-cluster can be used to change the name of a cluster. However, doing this will prevent GFS filesystems from mounting, as the name of the cluster is used when the GFS filesystem is created.

The following error occurs if an attempt to mount a GFS filesystem is made after the name of the cluster is changed:

May 16 15:43:17 rh4cluster2 kernel: GFS: Trying to join cluster "lock_dlm", "rh4cluster:gfsNEW01"
May 16 15:43:17 rh4cluster2 kernel: lock_dlm: cman cluster name "newname" does not match file system cluster name "rh4cluster"
May 16 15:43:17 rh4cluster2 kernel: lock_dlm: init_cluster error -1
May 16 15:43:17 rh4cluster2 kernel: GFS: can't mount proto = lock_dlm, table = rh4cluster:gfsNEW01, hostdata = 

To correct this problem, the superblock of the GFS filesystem must be altered so that it contains the correct cluster name. The following command should be issued from one node in the cluster:

gfs_tool sb /path/to/device table new_cluster_name:filesystem_name

Where "/path/to/device" is the location of the filesystem (for example, /dev/VolGroup00/LogVol00), and "new_cluster_name" is whatever the cluster name was changed to. The last argument "filestem_name" refers to the name the filesystem was given at the time it was created. The name can remain the same, or it can be changed at the same time the cluster name is changed.

After running the above command, the GFS filesystem should mount as expected.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Applications > Global File System (GFS) > Issue <<   14  of  71  >>