CPC G06F 16/185 (2019.01) [G06F 16/119 (2019.01); G06Q 20/145 (2013.01); G11B 5/00813 (2013.01); G11B 5/86 (2013.01)] | 18 Claims |
1. A computer-implemented method comprising:
accepting a request for copying a file from an unmounted first tape to a primary storage, wherein the accepting comprises:
determining that the first tape is not mounted on any tape drive; and
determining that each of a plurality of tape drives includes a mounted tape;
selecting a second tape for unmounting from the plurality of mounted tape drives, wherein the second tape includes a remaining capacity below a first threshold and a number of migrated files below a second threshold;
unmounting the second tape from a tape drive;
mounting the first tape on the tape drive; and
performing the request by copying the file from the first tape to the primary storage using the tape drive.
|