<div dir="ltr"><div>Hello list,</div><div><br></div><div>Ref (Section 6.6): <a href="http://erlang.org/doc/apps/mnesia/Mnesia_chap5.html">http://erlang.org/doc/apps/mnesia/Mnesia_chap5.html</a></div><div><br></div><div>-QUOTE-</div><div>The functions mnesia:add_table_copy/3 and mnesia:del_table_copy/2 can be used to add and delete replicas of the schema table. Adding a node to the list of nodes where the schema is replicated affects the following:</div><div><br></div><div>It allows other tables to be replicated to this node.</div><div>It causes Mnesia to try to contact the node at startup of disc-full nodes.</div><div>-END QUOTE-</div><div><br></div><div>I can use the functions mnesia:add_table_copy/3 and mnesia:del_table_copy/2 to add and delete replicated copies of other tables successfully, but not table 'schema'. In fact I am not sure at what point in initialization process of a new mnesia node should this be run. Please assist.</div><div><br></div><div>------</div><div>$ erl -mnesia -sname slave</div><div>Erlang/OTP 18 [erts-7.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]</div><div><br></div><div>Eshell V7.0  (abort with ^G)</div><div>(slave@Vimals-MacBook-Pro)1> mnesia:start().</div><div>ok</div><div><br></div><div>(slave@Vimals-MacBook-Pro)3> mnesia:change_config(extra_db_nodes, ['server@Vimals-MacBook-Pro']).</div><div>{ok,['server@Vimals-MacBook-Pro']}</div><div><br></div><div>(slave@Vimals-MacBook-Pro)5> mnesia:add_table_copy(schema, node(), disc_copies).</div><div>{aborted,{already_exists,schema,'slave@Vimals-MacBook-Pro'}}</div><div>------</div><div><br></div><div>Regards,</div><div>Vimal</div></div>