Methods, systems, and configured storage media are provided for flexible
data mirroring. In particular, the invention provides local-remote role
reversal, implementation of hot standby server status through a "media
not ready" signal, several alternate buffer contents and buffering
schemes, transactioning, many-to-one mirroring through use of "virtual"
remote mirroring units, identification of frequently accessed data
without application-specific knowledge but based instead on an
application's logged and analyzed behavior, and use of the secondary
server in a non-authoritative manner.