[Gluster-devel] myisampack problem

billy cokalopolous billy.cokalopolous at gmail.com
Fri Feb 22 19:16:54 UTC 2008


Avanti,

Thank you! I've added the feature posix-locks to the server config and this
resolved the issue.

BC

On Fri, Feb 22, 2008 at 12:24 PM, Anand Avati <avati at zresearch.com> wrote:

> billy,
>  do you have posix-locks loaded on the servers (just over storage/posix)?
> looks like posix-locks is missing..
>
> avati
>
> 2008/2/22, billy cokalopolous <billy.cokalopolous at gmail.com>:
> >
> > All, any help or tips would be greatly appreciated.
> >
> > running:
> > fuse 2.7.2 glfs8
> > glusterfs-1.3.8pre1 (same error with glusterfs 1.3.7)
> >
> > afr on 2 nodes, basic setup. Appears to work fine with exception of
> > running
> > the following:
> >
> > myisampack student0.MYI
> > returns:
> > student0.MYI gave error 38 on open
> >
> > same exact command when moving files out of gluster file system to local
> > fs:
> > sudo myisampack student0.MYI
> > Compressing student0.MYD: (125005 records)
> > - Calculating statistics
> > - Compressing file
> > 43.86%
> > ....
> >
> > debug output from error above:
> > ====================
> > 2008-02-22 11:44:23 D [inode.c:356:__active_inode] fuse/inode:
> > activating
> > inode(12124306), lru=14/1024
> > 2008-02-22 11:44:23 D [fuse-bridge.c:505:fuse_lookup] glusterfs-fuse:
> > 330:
> > LOOKUP /student0.MYI(12124306)
> > 2008-02-22 11:44:23 D [fuse-bridge.c:359:fuse_entry_cbk] glusterfs-fuse:
> > 330: /student0.MYI => 12124306
> > 2008-02-22 11:44:23 D [inode.c:386:__passive_inode] fuse/inode:
> > passivating
> > inode(12124306), lru=15/1024
> > 2008-02-22 11:44:23 D [inode.c:356:__active_inode] fuse/inode:
> > activating
> > inode(12124306), lru=14/1024
> > 2008-02-22 11:44:23 D [fuse-bridge.c:1475:fuse_open] glusterfs-fuse:
> > 331:
> > OPEN /student0.MYI
> > 2008-02-22 11:44:24 D [fuse-bridge.c:661:fuse_fd_cbk] glusterfs-fuse:
> > 331:
> > /student0.MYI => 0xb6c04bb8
> > 2008-02-22 11:44:24 D [fuse-bridge.c:1534:fuse_readv] glusterfs-fuse:
> > 332:
> > READ (0xb6c04bb8, size=24, offset=0)
> > 2008-02-22 11:44:24 D [afr.c:2886:afr_readv] afr1: reading from child 0
> > 2008-02-22 11:44:24 D [fuse-bridge.c:1503:fuse_readv_cbk]
> > glusterfs-fuse:
> > 332: READ => 24/24,0/8050688
> > 2008-02-22 11:44:24 D [inode.c:356:__active_inode] fuse/inode:
> > activating
> > inode(12124313), lru=13/1024
> > 2008-02-22 11:44:24 D [fuse-bridge.c:505:fuse_lookup] glusterfs-fuse:
> > 333:
> > LOOKUP /student0.MYD(12124313)
> > 2008-02-22 11:44:24 D [fuse-bridge.c:359:fuse_entry_cbk] glusterfs-fuse:
> > 333: /student0.MYD => 12124313
> > 2008-02-22 11:44:24 D [inode.c:386:__passive_inode] fuse/inode:
> > passivating
> > inode(12124313), lru=14/1024
> > 2008-02-22 11:44:24 D [fuse-bridge.c:2327:fuse_setlk] glusterfs-fuse:
> > 334:
> > SETLK 0xb6c04bb8 (sleep=0)
> > 2008-02-22 11:44:24 E [fuse-bridge.c:2303:fuse_setlk_cbk]
> > glusterfs-fuse:
> > 334: ERR => -1 (38)
> > 2008-02-22 11:44:24 D [fuse-bridge.c:2327:fuse_setlk] glusterfs-fuse:
> > 335:
> > SETLK 0xb6c04bb8 (sleep=1)
> > 2008-02-22 11:44:24 E [fuse-bridge.c:2303:fuse_setlk_cbk]
> > glusterfs-fuse:
> > 335: ERR => -1 (38)
> > 2008-02-22 11:44:24 D [fuse-bridge.c:1620:fuse_flush] glusterfs-fuse:
> > 336:
> > FLUSH 0xb6c04bb8
> > 2008-02-22 11:44:24 D [fuse-bridge.c:892:fuse_err_cbk] glusterfs-fuse:
> > 336:
> > ERR => 0
> > 2008-02-22 11:44:24 D [fuse-bridge.c:1646:fuse_release] glusterfs-fuse:
> > 337:
> > CLOSE 0xb6c04bb8
> > 2008-02-22 11:44:24 D [fuse-bridge.c:892:fuse_err_cbk] glusterfs-fuse:
> > 337:
> > ERR => 0
> > 2008-02-22 11:44:24 D [inode.c:386:__passive_inode] fuse/inode:
> > passivating
> > inode(12124306), lru=15/1024
> >
> >
> > Thanks,
> > BC
> > _______________________________________________
> > Gluster-devel mailing list
> > Gluster-devel at nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/gluster-devel
> >
>
>
>
> --
> If I traveled to the end of the rainbow
> As Dame Fortune did intend,
> Murphy would be there to tell me
> The pot's at the other end.



More information about the Gluster-devel mailing list