Matt - thanks for the support. Adding leveldb.data_root=“./leveldb”
results in "IO error: /mnt/fast/./leveldb/91343852333181432387730302044767688728495783936/LOCK: No such file or directory" Changing it to leveldb.data_root=“leveldb” results in "IO error: /mnt/fast/leveldb/91343852333181432387730302044767688728495783936/LOCK: No such file or directory"} Running "riak start" as root has no effect, and I also double checked the directory permissions. I also manually created the leveldb subdirectory. Still get the same results. From: "Matthew Von-Maszewski" <matth...@basho.com> To: "Joe Olson" <technol...@nododos.com> Cc: "riak-users" <riak-users@lists.basho.com> Sent: Monday, June 8, 2015 10:56:24 AM Subject: Re: LevelDB Joe, Long story short, I am slowly rebuilding my debug setup. Taking longer than I thought. I suspect, but have not yet verified, that if you add one more line: leveldb.data_root=“./leveldb” … your troubles will go away. If you test that before I do, let me know your results. I will get the documentation updated if it works. 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 BQ_BEGIN On Jun 5, 2015, at 7:48 PM, Mr. Technology < 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/ 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 http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com <riak.conf> BQ_END
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com