after midas crash and odb corruption, midas and odbedit now automatically repair
all (yea, right!) structural corruption - fix the free list, fix/remove invalid
subdirectories and data entries, etc.
after this automatic repair, midas user should be able to reload odb from a
backup json or xml file without having to delete and recreate .ODB.SHM and
/dev/shm files, etc.
but sometimes odb corruption is too confusing or too corrupted and a backup file
will not load cleanly.
in this case, delete previous odb contents using the "rm" command (then say "y"
to delete all keys, this is the equivalent of unix "rm -rf /").
this will delete all odb contents except some for some entries in /system,
/experiment, /alarms, /logger and /runinfo. some of these entries are delete-
protected, some are watched and some are auto-re-created by al_check() and
others.
an odb backup file should load cleanly after this.
K.O. |