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

Reply via email to