[Gluster-devel] Serious problem doing a perl operation
Einar Gautun
Einar.Gautun at statkart.no
Fri Sep 16 10:44:02 UTC 2011
Hi all,
I've found a serious problem doing this command:
perl -i -pe 's/something/somethingelse/' filename
from a gluster mount. This command does remove the content of the file,
making it 0 bytes in glusterfs v3.2.0, and in glusterfs v3.2.3 it also
kills the client so the mountpoint have to be unmounted and mounted
again.
Is this a known problem or does the inline editing of the -i switch in
perl doing something unsupported fileop?
Regard
Einar Gautun
Info:
Server and client: Centos 5.6 with glusterfs rpm packages:
glusterfs 3.2.3 built on Aug 23 2011 05:40:50
Repository revision: git://git.gluster.com/glusterfs.git
The command for blanking the file and crashing the client:
perl -i -pe 's/something/somethingelse/' filename
TRACE from client:
[2011-09-16 11:04:57.203581] T [fuse-bridge.c:632:fuse_setattr_cbk]
0-glusterfs-fuse: 1870: SETATTR() /glusterfstest/wash.nml => 163708930
[2011-09-16 11:04:57.203756] T [fuse-bridge.c:1767:fuse_readv_resume]
0-glusterfs-fuse: 1871: READ (0x2aaaacbe9024, size=4096, offset=0)
[2011-09-16 11:04:57.203886] T [rpc-clnt.c:1219:rpc_clnt_record]
0-gahome-client-0: Auth Info: pid: 0, uid: 0, gid: 0, owner: 0
[2011-09-16 11:04:57.203905] T
[rpc-clnt.c:1120:rpc_clnt_record_build_header] 0-rpc-clnt: Request
fraglen 180, payload: 52, rpc hdr: 128
[2011-09-16 11:04:57.203948] T [rpc-clnt.c:1424:rpc_clnt_submit]
0-rpc-clnt: submitted request (XID: 0x1831x Program: GlusterFS 3.1,
ProgVers: 310, Proc: 11) to rpc-transport (gahome-client-0)
[2011-09-16 11:04:57.209937] T [rpc-clnt.c:633:rpc_clnt_reply_init]
0-gahome-client-0: received rpc message (RPC XID: 0x1831x Program:
GlusterFS 3.1, ProgVers: 310, Proc: 11) from rpc-transport
(gahome-client-0)
[2011-09-16 11:04:57.209973] I [client3_1-fops.c:366:client3_1_open_cbk]
0-gahome-client-0: remote operation failed: No such file or directory
[2011-09-16 11:04:57.209997] W [fuse-bridge.c:1751:fuse_readv_cbk]
0-glusterfs-fuse: 1871: READ => -1 (No such file or directory)
[2011-09-16 11:04:57.210037] E [mem-pool.c:468:mem_put] 0-mem-pool:
invalid argument
pending frames:
patchset: git://git.gluster.com/glusterfs.git
signal received: 11
time of crash: 2011-09-16 11:04:57
configuration details:
argp 1
backtrace 1
dlfcn 1
fdatasync 1
libpthread 1
llistxattr 1
setfsid 1
spinlock 1
epoll.h 1
xattr.h 1
st_atim.tv_nsec 1
package-string: glusterfs 3.2.3
/lib64/libc.so.6[0x383c4302d0]
/lib64/libpthread.so.0(pthread_spin_lock+0x2)[0x383d00b722]
/opt/glusterfs/3.2.3/lib64/libglusterfs.so.0(fd_ref+0x23)[0x2b29e57dc203
]
/opt/glusterfs/3.2.3/lib64/glusterfs/3.2.3/xlator/mount/fuse.so[0x2b29e6
c33d05]
/opt/glusterfs/3.2.3/lib64/glusterfs/3.2.3/xlator/mount/fuse.so[0x2b29e6
c38c8b]
/lib64/libpthread.so.0[0x383d00673d]
/lib64/libc.so.6(clone+0x6d)[0x383c4d40cd]
<http://www.statkart.no/>
Einar Gautun
System administrator
Statens kartverk
IT
Sentralbord 32 11 81 00
Direkte/Mobil 32 11 83 72 / 926 926 62
E-post:einar.gautun at statkart.no <mailto:Ditt.Navn at statkart.no>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20110916/4b07a997/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3052 bytes
Desc: image001.jpg
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20110916/4b07a997/attachment-0003.jpg>
More information about the Gluster-devel
mailing list