file empty when editted using vi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After many times of editting a shell script (named s00_job) using vi, I find that the file is empty when i try to open it using vi, what is interesting is that the file contents can be displayed using more, cat, and file size is not zero by "ls -l". However the file could be editted using vi about 10 more minutes later. The file can be editted by vi in another glusterfs client normally. Applying sync is no use to solve this problem. My glusterfs version is 2.0.3. 
 
BTW: the problem is very hard to reproduce, and my glusterfs is now in a heavy load.
 
Related logs (I started the glusterfs client with -L DEBUG):
 
 
[2009-09-12 09:08:58] D [client-protocol.c:4743:client_lookup_cbk] clientA0: LOOKUP 8511292
109/s00_job (/nwp/grapes_ruc/zhushi/rundir/s00_job): inode number changed from 349700098
 to 349700100
[2009-09-12 09:08:58] D [client-protocol.c:4743:client_lookup_cbk] clientA1: LOOKUP 8511292
109/s00_job (/nwp/grapes_ruc/zhushi/rundir/s00_job): inode number changed from 113147906
 to 113147908

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux