I have a complete mnesia ram_copies-only database but I am experiencing problems adding a disk_copy table to a node. At the moment I do:
Create all my ram_copy tables/nodes
Start mnesia on the disk_copy-to-be node.
- Create a new schema (I didnt create a schema for the ram_copy tables) using
mnesia:create_schema([Node])
- Copy the table I wish to be a disk_copy, using
mnesia:add_table_copy(table, Node, disk_copy)
- I then wait for the tables to be created
Everything seems to go according to plan (no run-time errors), but when I go to the pwd(). directory and check, there is no file reflecting the table I just created. Also when I call mnesia:info()
on the node, there are no disk_copy tables, only a ram_copy schema.