Claims
- 1. A method for efficiently importing/exporting a removable storage volume from a first virtual storage system to a second virtual storage system, said method comprising the steps of:writing a table of contents to the end of said removable storage volume in said first virtual storage system, wherein said table of contents identifies a plurality of data files located in said removable storage volume, and wherein said table of contents for each and every said data file in said plurality of data files is stored only at an end location on said removable storage volume, said end location being reserved as the exclusive location for storing said table of contents for each and all of said plurality of data files, and wherein any previous table of contents stored on said removable storage volume is overwritten when new data files are written to said removable storage volume; transferring said removable storage volume to said second virtual storage system; and updating a database in said second virtual storage system utilizing said table of contents without having to read each of said plurality of data files.
- 2. The method as recited in claim 1, wherein said table of contents for each said data file further includes a timestamp for each said data file.
- 3. The method as recited in claim 1, wherein said step of writing a table of contents to the end of a removable storage volume is initiated after a pre-determined period of time that said removable storage volume is idle.
- 4. The method as recited in claim 1, wherein said table of contents is constructed utilizing information residing in a database in said first virtual storage system.
- 5. The method as recited in claim 1, wherein said removable storage volume is a data tape.
- 6. 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 table of contents to the end of a removable storage volume, said table of contents identifying a plurality of data files in said removable storage volume, and wherein said table of contents for each said data file in said plurality of data files is stored only at an end location on said removable storage volume, said end location being reserved as the exclusive location for storing said table of contents for all of said plurality of data files, and wherein any previous table of contents stored on said removable storage volume is overwritten when new data files are written to said removable storage volume.
- 7. The virtual storage system as recited in claim 6, wherein said table of contents for each said data file further includes a timestamp for each said data file.
- 8. The virtual storage system as recited in claim 6, wherein said table of contents is written to the end of said removable storage volume after a pre-determined period of time that said removable storage volume is idle.
- 9. The virtual storage system as recited in claim 6, wherein said table of contents is constructed utilizing information residing in a database in said virtual storage system.
- 10. The virtual storage system as recited in claim 6, wherein said removable storage volume is a data tape.
- 11. A method for formatting a data tape that allows for efficient importing/exporting of said data tape first from a 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 single table of contents for all data files on said data tape at the end of said data tape, wherein any previous table of contents stored on said data tape is overwritten when new data files are written to said data tape, and wherein said table of contents is utilized to identify said plurality of data files in said data tape allowing said second virtual storage system to update a database in said second virtual storage system without having to read any of said plurality of data files in said data tape.
- 12. 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 perform the steps of: writing a table of contents to the end of said removable storage volume in said first virtual storage system, and wherein any previous table of contents stored on said removable storage volume is overwritten when new data files are written to said data tape; transferring said removable storage volume to said second virtual storage system; and updating a database in said second virtual storage system utilizing said table of contents without having to read each of said plurality of data files.
- 13. The computer program product as recited in claim 12, wherein said table of contents for each said data file further includes a timestamp for each said data file.
- 14. The computer program product as recited in claim 12, wherein said step of writing a table of contents to the end of a removable storage volume is initiated after a pre-determined period of time that said removable storage volume is idle.
- 15. The computer program product as recited in claim 12, wherein said table of contents is constructed utilizing information residing in a database in said first virtual storage system.
- 16. The computer program product as recited in claim 12, wherein said removable storage volume is a data tape.
CROSS REFERENCE TO RELATED APPLICATIONS
The present application is related to the following copending U.S. patent application Ser. No. 09/694,750 filed concurrently on Oct. 23, 2000, entitled “Method and System Utilizing Data Fragments for Efficiently Importing/Exporting Removable Storage Volumes.” The above-mentioned patent application is assigned to the assignee of the present application.
US Referenced Citations (15)