This application relates to and claims priority from Japanese Patent Application No. 2010-070235 filed on Mar. 25, 2010, the entire disclosure of which is incorporated herein by reference.
(1) Field of the Invention
The present invention relates to a storage system and a method for generating a file system in the storage system, and in particular, to a storage system facilitating retrieval of files and a method for generating a file system in the storage system.
(2) Description of the Related Art
With the evolution in storage systems, some have been developed that include a plurality of recording medium drives used to record and reproduce data on a recording medium, such as an optical disc, for the purpose of performing sophisticated information processing. Such systems use a plurality of removable recording media, and therefore are sometimes referred to as “changer” or “library system”.
Japanese Patent Application Laid-Open No. 2005-31930 discloses a technique for improving response of a library system including a library accommodating a plurality of optical recording media, a cassette holding the plurality of optical recording media, and recording/reproducing drives.
Generally, many storage systems as described above store enormous numbers of information files. Thus, it tends to be difficult for a user to search such a storage system for a necessary file. Especially in the case of storage systems utilizing a removable recording medium, such as an optical disc, it sometimes happens that the recording medium with a user's necessary files stored is removed from the storage system, which brings the recording medium into a so-called off-line mode. This makes file retrieval more difficult. Even if, fortunately, the file can be found, the time required for a user to complete the retrieval operations may be very long.
The present invention has been made in view of the above-described problems and provides a storage system facilitating retrieval of a file and a method for generating a file system in the storage system.
In order to solve the problem, an embodiment of the present invention is directed to a storage system including a plurality of recording medium drives, wherein the recording medium drives store file systems on recording media mounted therein, the file system representing a storage structure of files stored at least on the recording media, and the storage system includes virtual file systems based on copies of all the file systems stored in the recording media mounted in the recording medium drives.
Furthermore, the embodiment of the present invention is also directed to a method for generating a file system for a storage system including a plurality of recording medium drives. The method includes the steps of: (a) determining whether any of recording media mounted in the recording medium drives are recording media that are mounted in the storage system for the first time; (b) if it is determined that any of the recording media are recording media that are mounted in the storage system for the first time as a result of the determination in step (a), firstly reading out file systems stored in the firstly-mounted recording media and storing the file systems in a memory unit; (c) determining whether any of the recording media mounted in the recording medium drives have been updated; (d) if it is determined that any of the recording media mounted in the recording medium drives have been updated as a result of the determination in step (c), secondly reading out file systems associated with the updated recording media from the file systems stored in the updated recording media, and updating the memory unit to store the file systems in the memory unit; (e) determining whether any of the recording media mounted in the recording medium drives have been instructed to eject from the storage system; and (f) if it is determined that any of the recording media mounted in the recording medium drives have been instructed to eject from the storage system as a result of the determination in step (e), thirdly reading out file systems associated with the recording media to be ejected from the file systems stored in the recording media to be ejected and updating the memory unit to store the file systems in the memory unit, while reading out file systems associated with the recording media other than the recording media to be ejected from the file systems stored in the memory unit and updating the recording media to be ejected to store the file systems.
According to the present invention, it is possible to provide a storage system facilitating retrieval of a file and a method for generating a file system in the storage system, thereby improving operability of the storage system.
These and other features, objects and advantages of the present invention will become more apparent from the following description when taken in conjunction with the accompanying drawings wherein:
An embodiment of the present invention will now be described with reference to the accompanying drawings.
A storage system 1 includes a CPU (Central Processing Unit) 101 that controls operations of the entire storage system.
The CPU 101 controls a network controller 103 via a local bus 100 to download data and programs supplied from other storage systems (not shown) connected to a network 2. The downloaded data and programs are stored in, for example, a HDD (Hard Disc Drive) 107 via the network controller 103, the local bus 100, a nonvolatile memory 102, a storage controller 104 and a storage bus 108.
Furthermore, the CPU 101 temporarily stores data, which is input by a user of the storage system 1 by using, for example, a mouse and keyboard (not shown), in the nonvolatile memory 102 and then stores the data in the HDD 107 under instructions from the user.
The data and programs stored in the HDD 107 are transferred to any one of or any plurality of ODDs (Optical disc Drives) 0 to 3 (105A to 105D) in response to instructions that are input by a user through the CPU 101. The transferred data and programs are encrypted, if needed, in the ODDs (Optical disc Drives) 0 to 3 (105A to 105D) based on IDs (Identifications), such as a device key, stored in the nonvolatile memory 102, and are stored on optical discs 0 to 3 (106A to 106D) respectively mounted in the drives. After the data and programs are stored in the optical discs 0 to 3 (106A to 106D), the data and programs in the HDD 107 can be deleted as required. As is well known, the optical discs 0 to 3 (106A to 106D) can be removed from the storage system 1 and can be kept in storage.
Although this embodiment uses the four ODDs 105A to 106D, this number is, of course, not a prerequisite of the embodiment and any plural number of the ODDs can be used. Similarly, the storage system in this embodiment can use a plurality of HDDs 107, some of which do not need to be inside the storage system, but can be externally connected. The nonvolatile memory 102 can be also divided into a plurality of parts, some of which do not need to be in the storage system, but can be externally connected.
When data and programs (hereinafter, simply referred to as “data”), which are stored in the optical discs 0 to 3 (106A to 106D), are reproduced for processing, the CPU 101 controls the storage controller 104 to initiate reproduction operations of the data. An ODD that received an instruction from the storage controller 104 reads out, for example, a piece of encrypted recorded data from the optical disc mounted therein, decrypts the encryption made at the time of recording and supplies the reproduced data to the storage controller 104.
The reproduced data supplied to the storage controller 104 is output from an output terminal 110 and supplied to the user. In a case where a display 3, such as an image monitor, is connected to the output terminal 110 as shown in
Next, the method for generating a file system in the storage system, which is one of the features of the embodiment, will be described with reference to
In the embodiment shown in
Another feature of the storage system in
The nonvolatile memory 109 may be an SDRAM or a large-capacity semiconductor memory called as an SSD (Solid State Drive). In addition, a removable memory, such as an SD card, is also applicable.
Alternatively, the copies of the file systems of all optical discs do not need to be stored in the nonvolatile memory 109, but can be stored in the HDD 107 or an HDD externally attached to the storage system 1. The nonvolatile memory 102 shown in
Prior to detailed descriptions about the features and effects of the embodiment in
Although the file system as shown in
Namely, the file system is to represent a hierarchical structure of folders and files as shown on personal computer screens. Note that, for example, the document files in
In
The file system shown in
The file system shown in
It can be said that either of the generated file systems in
As to an optical disc in which the aforementioned file system is stored, for example, when the file system is displayed on the display 3 in
The file system may include, in addition to the above-described bibliographic items, so-called metadata. For example, the metadata created with image data shot by a digital camera is contained in an Exif file and includes information about the model of the camera in use, the shooting data and time, the shutter speed, the aperture and so on. IFO files of DVDs and play lists and clip files of Blu-ray Discs are also categorized as a type of metadata. Due to their small capacity, these files have no significant problems with the file systems and actually improve the convenience of file retrieval.
On the other hand, if the file system includes free space management data (e.g., Space Bitmap), redundant data (e.g., Metadata Mirror File) that are associated with the other optical discs, it is preferable to delete the data from the file system. These data associated with the other optical discs are seldom used for the optical disc having the file system, but increase the volume of the file system, which is detrimental.
Next, the features and effects of the embodiment in
First of all, the file system stored in the optical discs is compatible with general systems, which realizes easy writing and reading of data, and therefore, is very versatile.
The file system stored in the nonvolatile memory 109 or an ejected optical disc is merged with all the file systems of the optical discs mounted in the storage system 1 so as to be treated as if they are a single file system in appearance. Thus, the user can manage the whole file systems as a single large-capacity recording medium without giving consideration to each of the optical discs mounted in the storage system 1. This improves the operability for retrieving a specific file. Even if the ejected optical disc is inserted into another storage system, file retrieval can be done in quite the same manner, thereby further improving operability.
All the file systems of the optical discs are merged and constructed in, for example, the nonvolatile memory 109 in the storage system. This allows the file systems of the other optical discs to be acquired from the memory upon ejection of a specific optical disc, which eliminates the necessity of sending inquiries to each optical disc. Therefore, access latency can be reduced. In the case of only reading, but not writing the file system, the file systems can be read out from the nonvolatile memory 109. Eliminating the need of reading out the file systems from every optical disc also reduces the access latency.
The file systems stored in the nonvolatile memory 109 are an accumulation of copies of the file systems of each of the optical discs. Therefore, the file system in the nonvolatile memory 109 does not need to be updated every time document file data is updated during editing of the document file on the HDD 107. It is enough for the file system to be updated at the least when any of the optical discs are ejected from the storage system 1, when data edited, for example, on the HDD 107 is transferred to and stored on an optical disc, or when the storage system 1 is powered off. This prevents overhead caused by frequent updates of the file system.
As described above, avoiding the storage of the free space management data and redundant data in the nonvolatile memory 109 results in effective use of the capacity of the nonvolatile memory 109 and reduces the amount of data transferred from the nonvolatile memory 109 to the ODD from which the optical disc is ejected, thereby enhancing operation speed.
Furthermore, as described above, the file system stored in the nonvolatile memory 109 is updated upon writing of data on any of the optical discs. In other words, the file system stored in the nonvolatile memory 109 and the file systems stored in each of the optical discs are concurrently updated to synchronize with each other. Thus, when a user refers to the file system to retrieve a file, rather than accessing individual optical discs, all the user has to do is look up the file system stored in the nonvolatile memory 109. This reduces time for file retrieval, thereby improving operability for the user.
As described above, generally, only the file system stored in the nonvolatile memory 109 is updated, while the file systems stored in the optical discs are updated only when any of the optical discs are ejected from the storage system 1, when data edited, for example, on the HDD 107 is transferred to and stored on an optical disc, or when the storage system 1 is powered off. This reduces the number of times the ODDs are accessed and the seek operations by the ODDs, resulting in enhanced access speed to the storage system 1.
In the case where the file system having the structure shown in
The storage system including a plurality of ODDs according to the aforementioned embodiment allows a user to easily retrieve a specific file from a plurality of optical discs, resulting in enhancement of the access speed and improvement in the operability of the storage system.
Although the above-described storage system is configured to, when a specific optical disc is ejected, transfer and store the copies of all the file systems in the nonvolatile memory 109 on the optical disc, the same storage system can employ a different operation mode in addition to the configuration. For example, storage of a large-capacity file is sometimes done by dividing the file into a plurality of files and storing them on a plurality of optical discs. In this case, storing only a file system associated with the file on only the optical discs onto which the divided files are stored may provide convenience. The storage system in this embodiment can be applied with such an operation mode in a switchable manner.
Next, the method for generating a file system for the storage system according to the embodiment will be described with reference to
With the storage system 1 activated with power supply, the flow starts.
At step S401, the storage controller 104 determines whether any of the optical discs currently mounted in the ODD 0 to ODD 3 (105A to 105D) are optical discs that have never been mounted therein in the past.
As a result of the determination at step S401, if the storage controller 104 determines that any of the optical discs are optical discs that have never been mounted in the ODD 0 to ODD 3 (105A to 105D) (“Yes” in
Subsequently, the flow proceeds from step S402 to step S403. In addition, as a result of the determination at step S401, if it is determined that none of the optical discs currently mounted in the ODD 0 to ODD 3 (105A to 105D) is an optical disc that has never been mounted therein in the past (“No” in
At step S403, the storage controller 104 determines whether any of the optical discs mounted in the ODD 0 to ODD 3 (105A to 105D) have been updated.
As a result of the determination at step S403, if it is determined that any of the optical discs mounted in the ODD 0 to ODD 3 (105A to 105D) have been updated (“Yes” in
Subsequently, the flow proceeds from step S404 to step S405. In addition, as a result of the determination step S403, if it is determined that none of the optical discs mounted in the ODD 0 to ODD3 (105A to 105D) has been updated (“No” in
At step S405, the storage controller 104 determines whether any of the optical discs mounted in the ODD 0 to ODD 3 (105A to 105D) have been instructed to eject from the storage system 1.
As a result of the determination at step S405, if it is determined that any of the optical discs mounted in the ODD 0 to ODD 3 (105A to 105D) have been instructed to eject from the storage system 1 (“Yes” in
Subsequently, the flow proceeds from step S406 to step 407. In addition, as a result of the determination step S405, is it is determined that none of the optical discs mounted in the ODD 0 to ODD 3 (105A to 105D) has been instructed to eject from the storage system 1 (“No” in
At step S407, the storage controller 104 determines whether it has received an instruction from the CPU 101 to power off the storage system 1.
As a result of the determination at step S407, if it is determined that the storage controller 104 has received the instruction to power off the storage system (“Yes” in
As a result of the determination at step S407, if it is determined that the storage controller 104 has not received the instruction to power off the storage system (“No” in
Although the steps S403, S405 and S407 are arranged in series for convenience of explanation, this is just an example, and these steps can be arranged in parallel under step S402, for example.
The aforementioned embodiment is merely an example and is not to be limitative of the scope of the present invention. For example, the optical discs are used as removable recording media in the description; however, the present invention is also applicable to storage systems using removable media such as an SSD and HDD. Various other different embodiments along the spirit of the present invention are conceivable and those are all within the scope of the present invention.
While we have shown and described several embodiments in accordance with our invention, it should be understood that disclosed embodiments are susceptible of changes and modifications without departing from the scope of the invention. Therefore, we do not intend to be bound by the details shown and described herein but intend to cover all such changes and modifications that fall within the ambit of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2010-070235 | Mar 2010 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5276867 | Kenley et al. | Jan 1994 | A |
5564011 | Yammine et al. | Oct 1996 | A |
5897645 | Watters | Apr 1999 | A |
5933839 | Hasegawa et al. | Aug 1999 | A |
20050007898 | Maeda | Jan 2005 | A1 |
20050210067 | Nakatani et al. | Sep 2005 | A1 |
20050232589 | Kimura et al. | Oct 2005 | A1 |
20050267916 | Tone et al. | Dec 2005 | A1 |
20060004879 | Tone | Jan 2006 | A1 |
20070136282 | Takashima | Jun 2007 | A1 |
20070223879 | Ito et al. | Sep 2007 | A1 |
20090109823 | Joukov | Apr 2009 | A1 |
20090313621 | Dewa | Dec 2009 | A1 |
20110055629 | Lee et al. | Mar 2011 | A1 |
20120084262 | Dwarampudi et al. | Apr 2012 | A1 |
20120099408 | Hamada et al. | Apr 2012 | A1 |
Number | Date | Country |
---|---|---|
101030223 | Sep 2007 | CN |
2005-31930 | Feb 2005 | JP |
Entry |
---|
Chinese Office Action for Application No. 201010573272.2, issued on Sep. 13, 2012. |
Number | Date | Country | |
---|---|---|---|
20110235481 A1 | Sep 2011 | US |