US 12,001,405 B2
Tape unmounting protocol
Tohru Hasegawa, Tokyo (JP); Tsuyoshi Miyamura, Yokohama (JP); Atsushi Abe, Ebina (JP); Shinsuke Mitsuma, Tokyo (JP); Noriko Yamamoto, Tokyo (JP); and Sosuke Matsui, Tokyo (JP)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Mar. 13, 2020, as Appl. No. 16/817,674.
Prior Publication US 2021/0286772 A1, Sep. 16, 2021
Int. Cl. G06F 16/185 (2019.01); G06F 16/11 (2019.01); G06Q 20/14 (2012.01); G11B 5/008 (2006.01); G11B 5/86 (2006.01)
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
OG exemplary drawing
 
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.