Did the syntax for specifying file extensions to 'option scheduler switch' change between rc1 and rc2?
Dan
Dan
On Wed, Feb 25, 2009 at 1:44 PM, Dan Parsons <dparsons@xxxxxxxx> wrote:
After upgrading to rc2, I'm getting unify errors for a lot of files. If I try to read one of these files, I get an I/O error. Here are the corresponding lines from gluster log:2009-02-25 13:42:49 E [unify.c:1239:unify_open] unify: /bio/db/blast/blastp-nr_v9/blastp-nr.19.pni: entry_count is 12009-02-25 13:42:49 E [unify.c:1242:unify_open] unify: /bio/db/blast/blastp-nr_v9/blastp-nr.19.pni: found on unify-switch-ns2009-02-25 13:42:49 E [unify.c:1246:unify_open] unify: returning EIO as file found on onlyone node2009-02-25 13:42:49 E [fuse-bridge.c:667:fuse_fd_cbk] glusterfs-fuse: 4152: OPEN() /bio/db/blast/blastp-nr_v9/blastp-nr.19.pni => -1 (Input/output error)No errors on any of the servers, and I've verified that the files DO exist on the server. Here's my client config:volume unify-switch-nstype protocol/clientoption transport-type tcpoption remote-host 10.8.101.51option remote-subvolume posix-unify-switch-nsend-volume#volume distfs01-ns-readahead# type performance/read-ahead# option page-size 1MB# option page-count 8# subvolumes distfs01-ns-brick#end-volume#volume unify-switch-ns# type performance/write-behind# option block-size 1MB# option cache-size 3MB# subvolumes distfs01-ns-readahead#end-volumevolume distfs01-unifytype protocol/clientoption transport-type tcpoption remote-host 10.8.101.51option remote-subvolume posix-unifyend-volumevolume distfs02-unifytype protocol/clientoption transport-type tcpoption remote-host 10.8.101.52option remote-subvolume posix-unifyend-volumevolume distfs03-unifytype protocol/clientoption transport-type tcpoption remote-host 10.8.101.53option remote-subvolume posix-unifyend-volumevolume distfs04-unifytype protocol/clientoption transport-type tcpoption remote-host 10.8.101.54option remote-subvolume posix-unifyend-volumevolume distfs01-stripetype protocol/clientoption transport-type tcpoption remote-host 10.8.101.51option remote-subvolume posix-stripeend-volumevolume distfs02-stripetype protocol/clientoption transport-type tcpoption remote-host 10.8.101.52option remote-subvolume posix-stripeend-volumevolume distfs03-stripetype protocol/clientoption transport-type tcpoption remote-host 10.8.101.53option remote-subvolume posix-stripeend-volumevolume distfs04-stripetype protocol/clientoption transport-type tcpoption remote-host 10.8.101.54option remote-subvolume posix-stripeend-volumevolume stripe0type cluster/stripeoption block-size *.jar,*.pin:1MB,*:2MBsubvolumes distfs01-stripe distfs02-stripe distfs03-stripe distfs04-stripeend-volumevolume dht0type cluster/dhtsubvolumes distfs01-unify distfs02-unify distfs03-unify distfs04-unifyend-volumevolume unifytype cluster/unifyoption namespace unify-switch-nsoption self-heal offoption scheduler switch# send *.phr/psq/pnd etc to stripe0, send the rest to hash# extensions have to be *.foo* and not simply *.foo or rsync's tmp file naming will prevent files from being matchedoption scheduler.switch.case *.phr*:stripe0;*.psq*:stripe0;*.pnd*:stripe0;*.psd*:stripe0;*.pin*:stripe0;*.nsi*:stripe0;*.nin*:stripe0;*.nsd*:stripe0;*.nhr*:stripe0;*.nsq*:stripe0;*.tar*:stripe0;*.tar.gz*:stripe0;*.jar*:stripe0;*.img*:stripe0;*.perf*:stripe0;*.tgz*:stripe0;*.fasta*:stripe0;*.huge*:stripe0subvolumes stripe0 dht0end-volumevolume ioctype performance/io-cachesubvolumes unifyoption cache-size 3000MBoption cache-timeout 3600end-volumevolume filtertype features/filteroption fixed-uid 0option fixed-gid 900subvolumes iocend-volume
Dan