Provided are a method, system, and program for writing data in a tape
medium having wraps. A layout of the tape is provided including at least
one segment within a full available length of a first set of wraps for
writing user data and at least one segment within a full length of a
second set of wraps for writing a work copy of the user data. User data
is received to write to the tape medium and detecting is performed as to
whether the data being written is occurring in a specified write mode. If
the data writing is not occurring in the specified write mode, then
writing the received user data to one segment in the first set of wraps.
If the data writing is occurring in the specified write mode, then
writing a work copy to available full length wraps not having user data.