Claims
- 1. A method for efficiently importing/exporting a removable storage volume from a first virtual storage system to a second virtual storage system utilizing a plurality of data fragments, said method comprising the steps of:writing a plurality of data fragments to the end of said removable storage volume used by said first virtual storage system, wherein each of said plurality of data fragments is a portion of a corresponding data file located in said removable storage volume, said portion including an identifier stub of said data file, said identifier stub being a copy of an identifier, of said data file, as written by a host using said data file; transferring said removable storage volume to said second virtual storage system; and updating a tape volume cache in said second virtual storage system utilizing said plurality of data fragments without having to read each of said plurality of data files.
- 2. The method as recited in claim 1, wherein each of said plurality of data fragments includes:at least one customer data file, said customer data file including a tape identifier, and at least one directory identifier.
- 3. The method as recited in claim 2, wherein said each of said plurality of data fragments further includes a data fragment trailer.
- 4. The method as recited in claim 1, wherein said step of writing a data fragment to the end of a removable storage volume is initiated when said removable storage volume is closed.
- 5. The method as recited in claim 1, wherein said step of writing said plurality of data fragments to the end of a removable storage volume is initiated after a pre-determined period of time that said removable storage volume is idle.
- 6. The method as recited in claim 2, wherein said plurality of data fragments are constructed utilizing information residing in a tape volume cache in said first virtual storage system.
- 7. The method as recited in claim 1, wherein said first and second virtual storage systems are different virtual tape servers.
- 8. A virtual storage system comprising:a direct access storage device; a plurality of removable storage volumes, operatively coupled to said direct access storage device to receive data; and a storage manager, coupled to said direct access storage device and said plurality of removable storage volumes, wherein said storage manager writes a plurality of data fragments to the end of a removable storage volume prior to exporting said removable storage volume, each of said plurality of data fragments being a portion of a corresponding data file located in said removable storage volume, said portion including an identifier stub of said data file, said identifier stub being a copy of an identifier, of said data file, as written by a host using said data file.
- 9. A virtual storage system, comprising:a direct access storage device; a plurality of removable storage volumes, operatively coupled to said direct access storage device to receive data; and a storage manager, coupled to said direct access storage device and said plurality of removable storage volumes, wherein said storage manager reads a plurality of data fragments of a removable storage volume, each of said data fragments being a portion of a corresponding data file located in one of said removable storage volumes, said portion including an identifier stub of said data file, said identifier stub being a copy of an identifier, of said data file, as written by a host using said data file, wherein said storage manager is capable of updating a tape volume cache utilizing information contained in said plurality of data fragments without having to read each of said plurality of data files in said removable storage volume.
- 10. The virtual storage system as recited in claim 8, wherein each of said plurality of data fragments includes:at least one customer data file, said customer data file including a tape identifier, and at least one directory identifier.
- 11. The method as recited in claim 10, wherein said each of said plurality of data fragments further includes a data fragment trailer.
- 12. The virtual storage system as recited in claim 8, wherein said plurality of data fragments is written to the end of said removable storage volume when said removable storage volume is closed.
- 13. The virtual storage system as recited in claim 8, wherein said plurality of data fragments is written to the end of said removable storage volume after a pre-determined period of time that said removable storage volume is idle.
- 14. The virtual storage system as recited in claim 8, wherein said plurality of data fragments is constructed utilizing information residing in a tape volume cache in said virtual storage system.
- 15. The virtual storage system as recited in claim 8, wherein said removable storage volume is a data tape.
- 16. A method for formatting a data tape that allows for efficient importing/exporting of said data tape from a first virtual storage system to a second virtual storage system, said method comprising the steps of:writing a plurality of data files to said data tape; utilizing a plurality of filemarks to separate said plurality of data files from each other; and writing a plurality of data fragments at the end of said data tape, wherein each of said plurality of data fragments is a portion of a corresponding data file in said data tape, said portion including an identifier stub of said data file, said identifier stub being a copy of an identifier, of said data file, as written by a host using said data file, thus allowing said second virtual storage system to update a tape volume cache in said second virtual storage system without having to read any of said plurality of data files in said data tape.
- 17. A computer program product, comprising:a computer-readable medium having stored thereon computer executable instructions for implementing a method for efficiently importing/exporting a removable storage volume from a first virtual storage system to a second virtual storage system, said computer executable instructions when executed performing the steps of: writing a plurality of data fragments to the end of said removable storage volume used by said first virtual storage system, wherein each of said plurality of data fragments is a portion of a corresponding data file located in said removable storage volume, said portion including an identifier stub of said data file, said identifier stub being a copy of an identifier, of said data file, as written by a host using said data file; transferring said removable storage volume to said second virtual storage system; and updating a tape volume cache in said second virtual storage system utilizing said plurality of data fragments without having to read each of said plurality of data files.
- 18. The computer program product as recited in claim 17, wherein each of said data fragments includes:at least one customer data file, said customer data file including a tape identifier, and at least one directory identifier.
- 19. The computer program product as recited in claim 18, wherein said each of said data fragments further includes a data fragment trailer.
- 20. The computer program product as recited in claim 17, wherein said step of writing a plurality of data fragments to the end of a removable storage volume is initiated when said removable storage volume is closed.
- 21. The computer program product as recited in claim 17, wherein said step of writing a plurality of data fragments to the end of a removable storage volume is initiated after a pre-determined period of time that said removable storage volume is idle.
- 22. The computer program product as recited in claim 17, wherein said plurality of data fragments is constructed utilizing information residing in a tape volume cache in said first virtual storage system.
- 23. The computer program product as recited in claim 17, wherein said removable storage volume is a data tape.
CROSS REFERENCE TO RELATED APPLICATIONS
The present application is related to the following U.S. patent application Ser. No. 09/695,724 filed concurrently on Oct. 23, 2000, entitled “Method and System for Efficiently Importing/Exporting Removable Storage Volumes Between Virtual Storage Systems.” The above mentioned patent application is assigned to the assignee of the present application.
US Referenced Citations (14)