HP StorageWorks Storage Mirroring for Linux User's Guide (T2558-96317, June 2009)

4 - 4
If you are using hard links, keep in mind the following.
If a hard link exists (or is created) only inside the replication set on the source, having no
locations outside the replication set, the linked file will be mirrored to the target for all
locations and those locations will be linked if all link locations on the target exist on the same
partition.
If a hard link crosses the boundaries of a replication set on the source, having locations both
inside and outside the replication set, the linked file will be mirrored to the target for only
those locations inside the replication set on the source, and those locations will be linked on
the target if all link locations exist on the same partition.
If a hard link is created on the source linking a file outside the replication set to a location
inside the replication set, the linked file will be created on the target in the location defined by
the link inside the replication set and will be linked to any other locations for that file which
exist inside the replication set.
If any hard link location is moved from outside the replication set into the replication set on
the source, the link will not be replicated to the target even if other link locations already exist
inside the replication set, but the linked file will be created on the target in the location defined
by the link.
If any hard link location existing inside the replication set is moved within the replication set
on the source, the move will be replicated to the target and the link will be maintained if the
new link location does not cross partitions in the target path.
If any hard link location existing inside the replication set is moved out of the replication set,
that file or linked location will be deleted on the target.
If a hard linked file is copied from any location inside or outside the replication set to a location
inside the replication set on the source, the copy will be replicated to the target.
If a hard linked file has a location in the replication set and any of the operating system
commands, such as chmod or chown, are directed at that file from a location inside the
replication set, the modification to the file will be replicated to the target. Operations on hard
links outside of the replication set are not replicated.
If a hard linked file has a location in the replication set and a write operation is directed at that
file from inside the replication set, the write operation will be replicated to the target.
Opertions on hardl inks outside of the replication set are not replicated.
If any hard link location existing inside the replication set is deleted on the source, that file or
linked location will be deleted from the target.
If a hard link location is created on the same volume but outside of the path where DTFS is
mounted, the hard link operation will fail because the operating system regards the DTFS
mount as a separate volume.