Hi Hector,
This is what happens, after changing the directories in riak_kv section on
/etc/riak/app.config:
# riak restart
ok
# stanchion restart
ok
# riak-cs start
riak-cs failed to start within 15 seconds,
see the output of 'riak-cs console' for more information.
If you want to wait longer, set the environment variable
WAIT_FOR_ERLANG to the number of seconds to wait.
# riak ping
Node 'riak@machine105' not responding to pings.
Below is the output of `riak-cs console`
Eshell V5.9.1 (abort with ^G)
(riak-cs@machine105)1> 12:24:36.456 [error] CRASH REPORT Process <0.130.0> with
0 neighbours exited with reason: {tcp,econnrefused} in gen_server:init_it/6
line 320
/usr/lib64/riak-cs/lib/os_mon-2.2.9/priv/bin/memsup: Erlang has closed.
Erlang
has closed
{"Kernel pid
terminated",application_controller,"{application_start_failure,riak_cs,{shutdown,{riak_cs_app,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller)
({application_start_failure,riak_cs,{shutdown,{riak_cs_app,start,[normal,[]]}}})
Regards,
Dilip
________________________________
From: Hector Castro <hec...@basho.com>
To: dilip kumar <dilip_nuta...@yahoo.co.in>
Cc: "riak-users@lists.basho.com" <riak-users@lists.basho.com>
Sent: Tuesday, 13 August 2013 7:49 PM
Subject: Re: Changing the filesystem
Hi Dilip,
Are you making these changes to Riak's app.config?
If the `riak-cs start` command isn't working, that's generally an
indicator that Riak is not running. What happens when you execute
`riak ping`?
--
Hector
On Tue, Aug 13, 2013 at 9:20 AM, dilip kumar <dilip_nuta...@yahoo.co.in> wrote:
> Hi,
>
> How do I change the filesystem where the RIAK CS buckets could run. Changing
> the data_root values in storage_backend is not working as it is specified in
> a FAQ
> (http://docs.basho.com/riakcs/latest/cookbooks/faqs/riak-cs/#is-it-possible-to-specify-a-file-system-where-my-r).
>
> When I change the below specified data_root values in Storage Backend, the
> "stanchion start" and "riak-cs start" are not working.
>
>
>
> {add_paths, ["/usr/lib64/riak-cs/lib/riak_cs-1.3.1/ebin"]},
> {storage_backend, riak_cs_kv_multi_backend},
> {multi_backend_prefix_list, [{<<"0b:">>, be_blocks}]},
> {multi_backend_default, be_default},
> {multi_backend, [
> {be_default, riak_kv_eleveldb_backend, [
> {max_open_files, 50},
> {data_root, "/var/lib/riak/leveldb"}
> ]},
> {be_blocks, riak_kv_bitcask_backend, [
> {data_root, "/var/lib/riak/bitcask"}
> ]}
> ]},
>
> Regards,
> Dilip
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com