Joe, I have built up your config and confirmed two bugs:
- you need the fourth config line: leveldb.tiered = 4 leveldb.tiered.path.fast = /mnt/fast leveldb.tiered.path.slow = /mnt/slow leveldb.data_root = ./leveldb - you must manually create the /mnt/fast/leveldb and /mnt/slow/leveldb directories before starting riak Quick test says everything is happy after that. I will get documentation and start-up scripts updated. Thanks, Matthew > On Jun 8, 2015, at 10:37 AM, Joe Olson <technol...@nododos.com> wrote: > > > > Here you go. Thanks for the help. My riak.conf is mostly stock, except for > the LevelDB changes. > > > > > > From: "Matthew Von-Maszewski" <matth...@basho.com> > To: "Mr. Technology" <technol...@nododos.com> > Cc: "riak-users" <riak-users@lists.basho.com> > Sent: Saturday, June 6, 2015 9:08:00 AM > Subject: Re: LevelDB > > There is a script macro that puts paths together during program start. I > will go look at that. > > It would help if you would send your riak.conf file. > > Matthew > > > On Jun 5, 2015, at 7:48 PM, Mr. Technology <technol...@nododos.com > <mailto:technol...@nododos.com>> wrote: > > After installing Riak 2.1.1 on a 5 node Centos7 based test cluster, I > followed the instructions at > http://docs.basho.com/riak/latest/ops/advanced/backends/leveldb/ > <http://docs.basho.com/riak/latest/ops/advanced/backends/leveldb/> to attempt > to configure a tiered LevelDB backend. > > My /etc/riak/riak.conf: > > storage_backend = leveldb > leveldb.tiered = 4 > leveldb.tiered.path.fast = /mnt/fast > leveldb.tiered.path.slow = /mnt/slow > > Upon start, riak crashes with the following message in the log: > > ** > {function_clause,[{riak_kv_vnode,terminate,[{bad_return_value,{stop,{db_open,"IO > error: > /mnt/fast//var/lib/riak/leveldb/159851741583067506678528028578343455274867621888/LOCK: > No such file or > directory"}}},undefined],[{file,"src/riak_kv_vnode.erl"},{line,1155}]},{riak_core_vnode,terminate,3,[{file,"src/riak_core_vnode.erl"},{line,907}]},{gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,597}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]} > > I assume the error is due to riak trying to write to the bogus path: > > /mnt/fast//var/lib/riak/leveldb/159851741583067506678528028578343455274867621888/LOCK > > (bogus due to the double slash above) > > Is this a bug, erroneous documentation, or a configuration problem?? I > followed the example as closely as I could. > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com <mailto:riak-users@lists.basho.com> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > > <riak.conf>
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com