[Gluster-users] How to use the bdb storage translator?
Nguyễn Khánh Duy
nguyenkhanhduy at gmail.com
Fri Mar 13 15:14:30 UTC 2009
I'm implementing a distributed storage for image thumbnails.
Using GlusterFS 2.0 RC4, I'm planning to create 4 bdb bricks with the
following config (attached is the vol files)
So I built GlusterFS with BDB 4.7 and install it
volume bdb
type storage/bdb
option directory /opt/xalo/glusterbdb
option mode persistent
option errfile /opt/xalo/glusterbdb/err.log
option logdir /opt/xalo/glusterbdb/logs
end-volume
The client is mounted like this: glusterfs -f bdbclient.vol
/opt/glusterclient/bdb
I have successfully mounted the server and client. But when I'm
writing to the client directory it failed with the following message:
cannot create regular file `glusterclient/bdb/xyz': No such file or directory
I checked glusterfsd.log and see the following errors:
2009-03-13 22:11:25 E [bdb.c:2750:bdb_readdir] bdb: invalid argument: bfd
2009-03-13 22:11:25 E [bdb.c:1498:bdb_releasedir] bdb: failed to
extract fd data from fd=0x857fbe8
2009-03-13 22:11:35 E [bdb.c:123:bdb_mknod] bdb: bdb_db_get() failed
for path: /posixclient.vol
Also, the glusterfs.log shows:
2009-03-13 22:00:34 E [fuse-bridge.c:924:fuse_err_cbk] glusterfs-fuse:
62: FLUSH() ERR => -1 (File descriptor in bad state)
I don't know what's wrong. Maybe the BDB storage is not POSIX
compliant? So how do we read from and write to this storage?
--
Nguyen Khanh Duy
nguyenkhanhduy at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bdbclient.vol
Type: application/octet-stream
Size: 995 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090313/bc81395e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: posixclient.vol
Type: application/octet-stream
Size: 1023 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090313/bc81395e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.vol
Type: application/octet-stream
Size: 1471 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090313/bc81395e/attachment-0002.obj>
More information about the Gluster-users
mailing list