Hi list,<br>I am new to cluster and gfs so my apologies if I missed something obvious.<br>I am having problems using gfs2 filesystems where writing
processes hang forever waiting for i/o. It does not seem to be locking
(or even cluster) related since its reproducible on a local gfs2
filesystem with 'lock_nolock' as locking protocol.  <br><br>I can create and mount the gfs2 file system without any
problems. Creating and writing to files works as well, but when I
write larger amounts of data the process gets stuck waiting for i/o. It
doesn't matter whether I amd using lvm or not thre results are the same. The hardware is working
and I have no problem writing to an ext3 filesystem on the same
device.
<br><br>The problem can be reproduced by doing the following:<br><br>-------------------------------------------------------------------------------------------------<br><div id="mb_0">[root@indigo ~]# mkfs.gfs2 -p lock_nolock /dev/cciss/c0d0p3
<br>This will destroy any data on /dev/cciss/c0d0p3.
<br>  It appears to contain a gfs2 filesystem.<br><br>Are you sure you want to proceed? [y/n] y<br><br>Device:                    /dev/cciss/c0d0p3<br>Blocksize:                 4096<br>Device Size                644.44 GB (168935523 blocks)
<br>Filesystem Size:           644.44 GB (168935523 blocks)<br>Journals:                  1<br>Resource Groups:           2578<br>Locking Protocol:          "lock_nolock"<br>Lock Table:                ""
<br><br>[root@indigo ~]# mount -o locktable=xyz /dev/cciss/c0d0p3 /export<br><br>[root@indigo ~]# mount|grep /export
<br>/dev/cciss/c0d0p3 on /export type gfs2 (rw,locktable=xyz,localflocks,localcaching)<br><br>[root@indigo ~]# dd if=/dev/zero of=/export/8GB bs=1024k count=8000<br><br>## A partial file is created, but the process never returns, it is forever waiting for i/o:
<br>[root@indigo ~]# ls -l /export/;ps auxww|grep 8GB<br>total 1995152<br>-rw-r--r-- 1 root root 2039009280 Jun  1 07:12 8GB<br>root      3857 42.8  0.0   4880  1584 pts/0    D    07:12   0:07 dd if /dev/zero of /export/8GB bs 1024k count 8000
<br>----------------------------------------------------------------------------------------------------<br><br>It's
still possible to create new files to the file system but these
processes are also waiting for i/o after a while.<br>After the mounting
there is nothing else appearing in dmesg or messages log. Since the
processes are uninterruptible we are forced to reboot the machine in
order to resolve the lockup.
<br><br>Basic info on the system setup:<br><br>HP dl380 G5 2 xeon cpu with dual cores each, 12 GB RAM<br>local raid controller is p400 but we also reproduced the behaviour on the san disk (Emulex card)<br>OS is RH 5 (32 bit), output of uname is:
<br>    Linux indigo 2.6.18-8.1.4.el5xen #1 SMP Fri May 4 22:42:50 EDT 2007 i686 i686 i386 GNU/Linux<br><br>The same problem could also be reproduced on RH 4 and Ubuntu 7.04<br><br>Thanks in advance for your help!<br><br>
/jmc<br>
</div>