System, method and program for data mirroring. In response to
identification of a new storage volume on a primary storage subsystem
being designated for use, a plurality of parameters for the new storage
volume needed for data mirroring are automatically determined. Also, a
corresponding storage volume in a second storage subsystem to mirror data
from the new storage volume in the primary storage subsystem is
automatically determined. The parameters of the new storage volume are
automatically entered in a data mirroring table. The table identifies the
new storage volume, the parameters for the new storage volume and the
corresponding storage volume. The table also maps the new storage volume
to the corresponding storage volume such that data updates to the new
storage volume are mirrored to the corresponding storage volume. The
parameters for the new storage volume can be determined by determining
that a prior storage volume and a subsequent storage volume in the
primary storage subsystem have same values for the parameters. In
response, these values are entered for the parameters for the new storage
volume in the data mirroring table.