JP6617741B2 - Storage device, storage device control method, and program - Google Patents

Storage device, storage device control method, and program Download PDF

Info

Publication number
JP6617741B2
JP6617741B2 JP2017062287A JP2017062287A JP6617741B2 JP 6617741 B2 JP6617741 B2 JP 6617741B2 JP 2017062287 A JP2017062287 A JP 2017062287A JP 2017062287 A JP2017062287 A JP 2017062287A JP 6617741 B2 JP6617741 B2 JP 6617741B2
Authority
JP
Japan
Prior art keywords
storage medium
monitoring
unit
data
ssd
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017062287A
Other languages
Japanese (ja)
Other versions
JP2018165861A (en
Inventor
謙介 古澤
謙介 古澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2017062287A priority Critical patent/JP6617741B2/en
Publication of JP2018165861A publication Critical patent/JP2018165861A/en
Application granted granted Critical
Publication of JP6617741B2 publication Critical patent/JP6617741B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、記憶装置、記憶装置の制御方法、プログラムに関する。特に、複数の記憶媒体を備えた記憶装置、記憶装置の制御方法、プログラムに関する。   The present invention relates to a storage device, a storage device control method, and a program. In particular, the present invention relates to a storage device including a plurality of storage media, a storage device control method, and a program.

ディスクアレイ装置などの記憶装置には、記憶媒体としてSSD(solid state drive)を複数備えたものが存在する(例えば、引用文献1〜3参照)。SSDは、使用領域が増えるにつれて性能が低下するという特徴、及び使用領域にデータを上書きできず、未使用領域にしかデータを書き込めないという特徴を有する。そのため、上記の記憶装置では、ガベージコレクションと呼ばれる不要な使用領域を解放して、未使用領域に改変する処理を行い、SSDの性能を回復させている。   Some storage devices such as a disk array device include a plurality of solid state drives (SSDs) as storage media (see, for example, cited documents 1 to 3). The SSD has the characteristics that the performance decreases as the use area increases, and the data cannot be overwritten in the use area, and the data can be written only in the unused area. Therefore, in the above storage device, an unnecessary used area called garbage collection is released and a process of changing to an unused area is performed to restore the SSD performance.

国際公開第2013/046463号International Publication No. 2013/046463 特開2009−277147号公報JP 2009-277147 A 特開2005−339156号公報JP 2005-339156 A

以下の分析は、本発明の観点からなされたものである。なお、上記先行技術文献の各開示を、本書に引用をもって繰り込むものとする。   The following analysis has been made from the viewpoint of the present invention. Each disclosure of the above prior art document is incorporated herein by reference.

特許文献1〜3に開示の記憶装置では、記憶媒体の性能の回復を十分に行うことができないという問題点がある。   The storage devices disclosed in Patent Documents 1 to 3 have a problem that the performance of the storage medium cannot be sufficiently recovered.

すなわち、SSDは初期状態が最も高性能であるため、SSDを初期化することができれば最も効果的な性能の回復が達成される。その一方で、ガベージコレクションは単に不要な使用領域を解放する処理であるため、SSDの初期化に比べて性能の回復が不十分である。   That is, since the initial state of the SSD has the highest performance, the most effective performance recovery can be achieved if the SSD can be initialized. On the other hand, since garbage collection is a process of simply releasing unnecessary used areas, the performance recovery is insufficient compared to the initialization of the SSD.

そこで、本発明では、記憶媒体の性能の回復を効果的に行うことが可能な記憶装置、記憶装置の制御方法、プログラムを提供することを目的とする。   Therefore, an object of the present invention is to provide a storage device, a storage device control method, and a program capable of effectively recovering the performance of the storage medium.

本発明の第1の視点によれば、第1の記憶媒体と、
前記第1の記憶媒体よりも容量が大きい第2の記憶媒体と、
前記第1の記憶媒体における未使用領域を監視する監視部と、
前記監視部による監視結果に基づいて、前記第1の記憶媒体における未使用領域が所定の閾値未満になったことを検出した場合に、前記第1の記憶媒体における使用領域のデータを前記第2の記憶媒体へ移行するデータ移行部と、
前記第1の記憶媒体を初期化する初期化部と、
を有する記憶装置が提供される。
According to a first aspect of the present invention, a first storage medium;
A second storage medium having a larger capacity than the first storage medium;
A monitoring unit for monitoring an unused area in the first storage medium;
Based on the monitoring result by the monitoring unit, when it is detected that the unused area in the first storage medium is less than a predetermined threshold, the data of the used area in the first storage medium is stored in the second storage medium. A data migration unit for migrating to the storage medium,
An initialization unit for initializing the first storage medium;
A storage device is provided.

本発明の第2の視点によれば、第1の記憶媒体及び前記第1の記憶媒体よりも容量が大きい第2の記憶媒体における未使用領域を監視する監視ステップと、
前記監視ステップによる監視結果に基づいて、前記第1の記憶媒体における未使用領域が所定の閾値未満になったことを検出した場合に、前記第1の記憶媒体における使用領域のデータを前記第2の記憶媒体へ移行するデータ移行ステップと、
前記第1の記憶媒体を初期化する初期化ステップと、
を含む記憶装置の制御方法が提供される。
According to a second aspect of the present invention, a monitoring step of monitoring an unused area in the first storage medium and a second storage medium having a larger capacity than the first storage medium;
Based on the monitoring result of the monitoring step, when it is detected that the unused area in the first storage medium is less than a predetermined threshold, the data of the used area in the first storage medium is stored in the second storage medium. A data migration step of migrating to the storage medium,
An initialization step of initializing the first storage medium;
A method for controlling a storage device is provided.

本発明の第3の視点によれば、第1の記憶媒体及び前記第1の記憶媒体よりも容量が大きい第2の記憶媒体における未使用領域を監視する監視処理と、
前記監視処理による監視結果に基づいて、前記第1の記憶媒体における未使用領域が所定の閾値未満になったことを検出した場合に、前記第1の記憶媒体における使用領域のデータを前記第2の記憶媒体へ移行するデータ移行処理と、
前記第1の記憶媒体を初期化する領域開放処理と、
をコンピュータに実行させるプログラムが提供される。
According to a third aspect of the present invention, a monitoring process for monitoring an unused area in a first storage medium and a second storage medium having a larger capacity than the first storage medium;
When it is detected that the unused area in the first storage medium has become less than a predetermined threshold based on the monitoring result of the monitoring process, the data of the used area in the first storage medium is stored in the second storage medium. Data migration processing to migrate to other storage media,
An area release process for initializing the first storage medium;
A program for causing a computer to execute is provided.

本発明の各視点によれば、性能の回復を効果的に行うことが可能な記憶装置、記憶装置の制御方法、プログラムが提供される。   According to each aspect of the present invention, a storage device, a storage device control method, and a program capable of effectively recovering performance are provided.

一実施形態の概要を説明するための図である。It is a figure for demonstrating the outline | summary of one Embodiment. 記憶装置10の一構成を示すブロック図である。2 is a block diagram showing a configuration of a storage device 10. FIG. 監視結果310の一例を示した図である。It is the figure which showed an example of the monitoring result. 記憶装置10の処理フローを示す図である。3 is a diagram illustrating a processing flow of the storage device 10. FIG.

本発明のとり得る好適な実施形態について図面を参照して詳細に説明する。なお、以下の記載に付記した図面参照符号は、理解を助けるための一例として各要素に便宜上付記したものであり、本発明を図示の態様に限定することを意図するものではない。また、各図におけるブロック間の接続線は双方向及び単方向の双方を含み、図面の明瞭化を目的として適宜図示又は削除される。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Preferred embodiments of the invention will be described in detail with reference to the drawings. Note that the reference numerals of the drawings attached to the following description are added for convenience to each element as an example for facilitating understanding, and are not intended to limit the present invention to the illustrated embodiment. In addition, connection lines between blocks in each drawing include both bidirectional and unidirectional directions, and are appropriately illustrated or deleted for the purpose of clarifying the drawings.

図1に示すように、記憶装置10は、制御部100と、SSD(solid state drive)部200とを有する。制御部100は、監視部110と、データ移行部120と、初期化部130とを有する。SSD部200は、複数のSSD210を有する。   As illustrated in FIG. 1, the storage device 10 includes a control unit 100 and an SSD (solid state drive) unit 200. The control unit 100 includes a monitoring unit 110, a data migration unit 120, and an initialization unit 130. The SSD unit 200 includes a plurality of SSDs 210.

SSD210は、未使用領域と、使用領域とを有し、不要な使用領域を解放して未使用領域に改変する処理によって性能が改善される記憶媒体であり、特に、小容量のSSD210(#0)と、大容量のSSD210(#1)を含む。小容量のSSD210は、第1の記憶媒体とも称され、大容量のSSD210は第2の記憶媒体とも称される。監視部110は、SSD210(#0)の未使用領域を監視する。データ移行部120は、監視部110による監視結果に基づいて、SSD210(#0)の未使用領域が所定の閾値未満になったことを検出すると、SSD210(#0)における使用領域のデータをSSD210(#1)へ移行する。そして初期化部130は、SSD210(#0)を初期化する。   The SSD 210 is a storage medium that has an unused area and a used area and whose performance is improved by a process of releasing an unnecessary used area and changing it to an unused area. In particular, the SSD 210 (# 0) has a small capacity. ) And a large capacity SSD 210 (# 1). The small capacity SSD 210 is also referred to as a first storage medium, and the large capacity SSD 210 is also referred to as a second storage medium. The monitoring unit 110 monitors an unused area of the SSD 210 (# 0). When the data migration unit 120 detects that the unused area of the SSD 210 (# 0) is less than a predetermined threshold based on the monitoring result by the monitoring unit 110, the data migration unit 120 converts the data of the used area in the SSD 210 (# 0) to the SSD 210. Move to (# 1). Then, the initialization unit 130 initializes the SSD 210 (# 0).

上述の処理を、一のモデルを用いて概念的に説明する。前提として、SSD210(#1)は、SSD210(#0)の2倍の容量を有するものとし、SSD210(#0)のの未使用領域が40%であり、SSD210(#1)の未使用領域が90%であるものとする。また、各SSD210は、未使用領域が50%未満になるとその性能が著しく低下するものとし、そのため、閾値は50%に設定されるものとする。   The process described above will be conceptually described using one model. As a premise, the SSD 210 (# 1) has twice the capacity of the SSD 210 (# 0), the unused area of the SSD 210 (# 0) is 40%, and the unused area of the SSD 210 (# 1) Is 90%. Further, each SSD 210 is assumed to have a markedly reduced performance when the unused area is less than 50%, and therefore, the threshold value is set to 50%.

データ移行部120は、監視部110による監視結果に基づいて、SSD210(#0)の未使用領域が閾値(50%)未満になったことを検出すると、SSD210(#0)における使用領域のデータをSSD210(#1)へ移行する。そして初期化部130は、SSD210(#0)を初期化する。   When the data migration unit 120 detects that the unused area of the SSD 210 (# 0) is less than the threshold (50%) based on the monitoring result by the monitoring unit 110, the data migration unit 120 uses the data of the used area in the SSD 210 (# 0). Is transferred to the SSD 210 (# 1). Then, the initialization unit 130 initializes the SSD 210 (# 0).

上記のモデルでは、SSD210(#0)は初期状態に戻されており、最も効果的な性能の回復が達成されている。一方で、SSD210(#1)の未使用領域は60%になり、多少の性能の低下が生じるものの、閾値(50%)以上であるため著しい性能の低下は免れる。このように、図1の記憶装置10は、記憶媒体の性能の回復を効果的に行うことが可能である。   In the above model, the SSD 210 (# 0) is returned to the initial state, and the most effective performance recovery is achieved. On the other hand, the unused area of the SSD 210 (# 1) is 60%, and although there is a slight decrease in performance, since it exceeds the threshold (50%), a significant decrease in performance is avoided. As described above, the storage device 10 of FIG. 1 can effectively recover the performance of the storage medium.

以下では本発明のとり得る好適な実施形態について図面を参照して詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

[第1の実施形態]
図2に示すように、記憶装置10は、制御部100と、SSD部200と、記憶部300とを有する。制御部100は、監視部110と、データ移行部120と、初期化部130とを有し、記憶部300からプログラム(図示せず)などを読み出して、記憶装置10全体を制御する。
[First Embodiment]
As illustrated in FIG. 2, the storage device 10 includes a control unit 100, an SSD unit 200, and a storage unit 300. The control unit 100 includes a monitoring unit 110, a data migration unit 120, and an initialization unit 130. The control unit 100 reads a program (not shown) from the storage unit 300 and controls the entire storage device 10.

SSD部200は、複数のSSD210と、各SSD210に対応付けられたコントローラ220を有する。SSD210は、未使用領域と、使用領域とを有し、不要な使用領域を解放して未使用領域に改変する処理によって性能が改善される記憶媒体である。ここで、SSD210(#0、#2)は、小容量の記憶媒体であり、SSD210(#1、#3)は大容量の記憶媒体であるものとする。   The SSD unit 200 includes a plurality of SSDs 210 and a controller 220 associated with each SSD 210. The SSD 210 is a storage medium that has an unused area and a used area, and whose performance is improved by a process of releasing an unnecessary used area and changing it to an unused area. Here, it is assumed that the SSD 210 (# 0, # 2) is a small capacity storage medium, and the SSD 210 (# 1, # 3) is a large capacity storage medium.

コントローラ220は、対応付けられたSSD210の領域に関する情報とSSD210への書き込み回数を管理し、これらの情報が更新される場合に監視部110に対して更新後の情報を送信する。具体的には、SSD210にデータが書き込まれると、コントローラ220は、未使用領域のパーセンテージを算出する。その際に、コントローラ220は、データ移行部120から書き込み回数を受信していれば既存の書き込み回数に受信した書き込み回数を加算する。また、データ移行部120から書き込み回数を受信していなければ、書き込み回数に1を加算する。そして、算出した未使用領域のパーセンテージと更新した書き込み回数を監視部110に対して送信する。   The controller 220 manages information related to the area of the associated SSD 210 and the number of times of writing to the SSD 210, and transmits the updated information to the monitoring unit 110 when such information is updated. Specifically, when data is written to the SSD 210, the controller 220 calculates the percentage of the unused area. At that time, if the write count is received from the data migration unit 120, the controller 220 adds the received write count to the existing write count. If the number of writes has not been received from the data migration unit 120, 1 is added to the number of writes. Then, the calculated percentage of unused area and the updated number of writes are transmitted to the monitoring unit 110.

記憶部300は、記憶装置10全体を制御するためのプログラムなどを記憶し、特に、SSD210の監視結果310を記憶する。例えば、監視結果310は、図3に示すように、SSD210のID(identifier)に対応付けた、各SSD210の容量の大小を示す情報と、各SSD210における未使用領域のパーセンテージと、書き込み回数とである。   The storage unit 300 stores a program for controlling the entire storage device 10, and particularly stores a monitoring result 310 of the SSD 210. For example, as shown in FIG. 3, the monitoring result 310 includes information indicating the size of the capacity of each SSD 210 associated with the ID (identifier) of the SSD 210, the percentage of unused area in each SSD 210, and the number of writes. is there.

監視部110は、各SSD210の未使用領域を監視する。具体的には、監視部110は、各コントローラ220から受け付けたSSD210の未使用領域に関する情報とSSD210への書き込み回数に基づいて、記憶部300に記憶された監視結果310を更新する。   The monitoring unit 110 monitors an unused area of each SSD 210. Specifically, the monitoring unit 110 updates the monitoring result 310 stored in the storage unit 300 based on the information regarding the unused area of the SSD 210 received from each controller 220 and the number of times of writing to the SSD 210.

データ移行部120は、監視部110による監視結果に基づいて、一のSSD210の未使用領域が所定の閾値未満になったことを検出すると、一のSSD210における必要な使用領域のデータを他のSSD210へ移行する。   When the data migration unit 120 detects that the unused area of one SSD 210 has become less than a predetermined threshold based on the monitoring result by the monitoring unit 110, the data migration unit 120 transfers the data of the necessary used area in the one SSD 210 to the other SSD 210. Migrate to

具体的な一例を挙げて説明すると、データ移行部120は、記憶部300に記憶された監視結果310を参照してSSD210(#0)の未使用領域が所定の閾値(例えば、50%)未満であることを検出する。ここで、データ移行部120は、監視結果310を更に参照して、容量が大きいSSD210の内で、最も書き込み回数が少ないSSD210(#1)をデータの移行先に決定する。続いて、データ移行部120は、SSD210(#0)から全てのデータを読み出して、SSD210(#1)に書き込むと共に、SSD210(#1)のコントローラ220に対して、SSD210(#0)の書き込み回数を通知する。そして、データ移行部120は、初期化部130に対してSSD210(#0)のIDを通知して、SSD210(#0)の初期化を依頼する。   To explain with a specific example, the data migration unit 120 refers to the monitoring result 310 stored in the storage unit 300 and the unused area of the SSD 210 (# 0) is less than a predetermined threshold (for example, 50%). Is detected. Here, the data migration unit 120 further refers to the monitoring result 310, and determines the SSD 210 (# 1) having the smallest number of writes as the data migration destination among the SSDs 210 having a large capacity. Subsequently, the data migration unit 120 reads all data from the SSD 210 (# 0), writes it to the SSD 210 (# 1), and writes the SSD 210 (# 0) to the controller 220 of the SSD 210 (# 1). Notify the number of times. Then, the data migration unit 120 notifies the initialization unit 130 of the ID of the SSD 210 (# 0), and requests initialization of the SSD 210 (# 0).

初期化部130は、小容量の記憶媒体を初期化する。具体的には、初期化部130は、データ移行部120からSSD210(#0)における開放対象領域の依頼を受けると、SSD210(#0)を初期化する。   The initialization unit 130 initializes a small-capacity storage medium. Specifically, when the initialization unit 130 receives a request for a release target area in the SSD 210 (# 0) from the data migration unit 120, the initialization unit 130 initializes the SSD 210 (# 0).

以下では、図面を参照しつつ、記憶装置10による一連の処理の流れ、及び各機能部による処理を説明する。   Hereinafter, a series of processing flow by the storage device 10 and processing by each functional unit will be described with reference to the drawings.

図4は、記憶装置10の処理フローを示す図である。データ移行部120は、監視結果310を参照して小容量のSSD210(#0)の未使用領域が所定の閾値未満になったことを検出する(ステップS11、YES)。ここで、データ移行部120は、大容量のSSD210の内で最も書き込み回数が少ないSSD210(#1)をデータの移行先に決定する(ステップS12)。そして、データ移行部120は、SSD210(#0)から全てのデータを読み出して、書き込み先に決定したSSD210に書き込む(ステップS13)。そして、初期化部130は、SSD210(#0)を初期化する(ステップS14)。   FIG. 4 is a diagram illustrating a processing flow of the storage device 10. The data migration unit 120 refers to the monitoring result 310 and detects that the unused area of the small capacity SSD 210 (# 0) is less than a predetermined threshold (YES in step S11). Here, the data migration unit 120 determines the SSD 210 (# 1) with the smallest number of writes in the large capacity SSD 210 as the data migration destination (step S12). Then, the data migration unit 120 reads all the data from the SSD 210 (# 0) and writes it to the SSD 210 determined as the writing destination (step S13). Then, the initialization unit 130 initializes the SSD 210 (# 0) (step S14).

上述のように、第1の実施形態の記憶装置10は、未使用領域が所定の閾値未満になったSSD210が初期状態に戻るようにその使用領域を開放する。そのため、単にSSD210に対してガベージコレクションを実行するよりも、効果的な性能の回復が達成される。   As described above, the storage device 10 according to the first embodiment releases the used area so that the SSD 210 whose unused area is less than the predetermined threshold returns to the initial state. Therefore, more effective performance recovery is achieved than simply performing garbage collection on the SSD 210.

なお、第1の実施形態では、SSD210は4つに限られず、2、3つ又は、5つ以上であっても良い。   In the first embodiment, the number of SSDs 210 is not limited to four, and may be two, three, or five or more.

また、第1の実施形態では、未使用領域が最も多いSSD210をデータの移行先に決定しても良い。   In the first embodiment, the SSD 210 having the largest number of unused areas may be determined as the data migration destination.

また、第1の実施形態では、データ移行先のSSD210の未使用領域が所定の閾値以上になるように、データを分割して移行しても良い。   In the first embodiment, data may be divided and migrated so that the unused area of the data migration destination SSD 210 is equal to or greater than a predetermined threshold.

また、第1の実施形態では、記憶装置10は、ホスト端末に接続されるサーバ装置であっても良い。特に、サーバ装置のOS(Operating System)がTrimコマンドを発行できないものであっても、第1の実施形態に記載の制御部100を搭載すればTrimコマンドと同等の機能を実行することができる。   In the first embodiment, the storage device 10 may be a server device connected to a host terminal. In particular, even if the OS (Operating System) of the server device cannot issue a Trim command, the function equivalent to the Trim command can be executed if the control unit 100 described in the first embodiment is installed.

なお、記憶装置10における各種処理は、例えば、処理モジュールを搭載したコンピュータによって実現される。当該処理モジュールは、例えば、メモリに格納されたプログラムをCPUが実行することで実現される。また、そのプログラムは、ネットワークを介してダウンロードするか、あるいは、プログラムを記憶した記憶媒体を用いて、更新することができる。さらに、上記処理モジュールは、半導体チップにより実現されてもよい。即ち、上記処理モジュールが行う機能は、何らかのハードウェア及び/又はソフトウェアにより実現できればよい。   Various processes in the storage device 10 are realized by, for example, a computer equipped with a processing module. The processing module is realized, for example, when the CPU executes a program stored in the memory. The program can be downloaded through a network or updated using a storage medium storing the program. Furthermore, the processing module may be realized by a semiconductor chip. In other words, the function performed by the processing module may be realized by some kind of hardware and / or software.

上記の実施形態の一部又は全部は、以下の付記のようにも記載され得るが、以下には限られない。   A part or all of the above embodiments can be described as in the following supplementary notes, but is not limited thereto.

(付記1)
第1の記憶媒体と、
前記第1の記憶媒体よりも容量が大きい第2の記憶媒体と、
前記第1の記憶媒体における未使用領域を監視する監視部と、
前記監視部による監視結果に基づいて、前記第1の記憶媒体における未使用領域が所定の閾値未満になったことを検出した場合に、前記第1の記憶媒体における使用領域のデータを前記第2の記憶媒体へ移行するデータ移行部と、
前記第1の記憶媒体を初期化する初期化部と、
を有する記憶装置。
(Appendix 1)
A first storage medium;
A second storage medium having a larger capacity than the first storage medium;
A monitoring unit for monitoring an unused area in the first storage medium;
When it is detected that the unused area in the first storage medium is less than a predetermined threshold based on the monitoring result by the monitoring unit, the data of the used area in the first storage medium is stored in the second storage medium. A data migration unit for migrating to the storage medium,
An initialization unit for initializing the first storage medium;
A storage device.

(付記2)
前記第2の記憶媒体を複数有し、
前記監視部は、前記第2の記憶媒体における未使用領域も監視し、
前記データ移行部は、複数の第2の記憶媒体の内で前記未使用領域が最も多い第2の記憶媒体をデータの移行先に決定する付記1に記載の記憶装置。
(Appendix 2)
A plurality of the second storage media;
The monitoring unit also monitors an unused area in the second storage medium;
The storage device according to appendix 1, wherein the data migration unit determines a second storage medium having the largest number of unused areas among a plurality of second storage media as a data migration destination.

(付記3)
前記第2の記憶媒体を複数有し、
前記監視部は、前記記憶媒体への書き込み回数も監視し、
前記データ移行部は、複数の第2の記憶媒体の内で前記書き込み回数が最も少ない第2の記憶媒体をデータの移行先に決定する付記1に記載の記憶装置。
(Appendix 3)
A plurality of the second storage media;
The monitoring unit also monitors the number of writes to the storage medium,
The storage device according to supplementary note 1, wherein the data migration unit determines, as a data migration destination, a second storage medium having the smallest number of times of writing among a plurality of second storage media.

(付記4)
前記記憶媒体が、SSD(solid state drive)である付記1〜3のいずれか1つに記載の記憶装置。
(Appendix 4)
The storage device according to any one of appendices 1 to 3, wherein the storage medium is an SSD (solid state drive).

(付記5)
前記データ移行部は、前記第1の記憶媒体における使用領域のデータを分割して、複数の第2の記憶媒体へ移行する付記1〜4のいずれか1つに記載の記憶装置。
(Appendix 5)
The storage device according to any one of appendices 1 to 4, wherein the data migration unit divides data in a use area in the first storage medium and migrates the data to a plurality of second storage media.

(付記6)
前記データ移行部は、データ移行先の第2の記憶媒体の未使用領域が前記所定の閾値以上になるように、データを分割して移行する付記5に記載の記憶装置。
(Appendix 6)
The storage device according to appendix 5, wherein the data migration unit divides and migrates data so that an unused area of the second storage medium as a data migration destination is equal to or greater than the predetermined threshold.

(付記7)
第1の記憶媒体及び前記第1の記憶媒体よりも容量が大きい第2の記憶媒体における未使用領域を監視する監視ステップと、
前記監視ステップによる監視結果に基づいて、前記第1の記憶媒体における未使用領域が所定の閾値未満になったことを検出した場合に、前記第1の記憶媒体における使用領域のデータを前記第2の記憶媒体へ移行するデータ移行ステップと、
前記第1の記憶媒体を初期化する初期化ステップと、
を含む記憶装置の制御方法。
(Appendix 7)
A monitoring step of monitoring an unused area in the first storage medium and a second storage medium having a larger capacity than the first storage medium;
Based on the monitoring result of the monitoring step, when it is detected that the unused area in the first storage medium has become less than a predetermined threshold, the data of the used area in the first storage medium is stored in the second storage medium. A data migration step of migrating to the storage medium,
An initialization step of initializing the first storage medium;
A storage device control method including:

(付記8)
第1の記憶媒体及び前記第1の記憶媒体よりも容量が大きい第2の記憶媒体における未使用領域を監視する監視処理と、
前記監視処理による監視結果に基づいて、前記第1の記憶媒体における未使用領域が所定の閾値未満になったことを検出した場合に、前記第1の記憶媒体における使用領域のデータを前記第2の記憶媒体へ移行するデータ移行処理と、
前記第1の記憶媒体を初期化する領域開放処理と、
をコンピュータに実行させるプログラム。
(Appendix 8)
A monitoring process for monitoring an unused area in the first storage medium and a second storage medium having a larger capacity than the first storage medium;
When it is detected that the unused area in the first storage medium has become less than a predetermined threshold based on the monitoring result of the monitoring process, the data of the used area in the first storage medium is stored in the second storage medium. Data migration processing to migrate to other storage media,
An area release process for initializing the first storage medium;
A program that causes a computer to execute.

なお、上記の特許文献の開示を、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態ないし実施例の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素(各請求項の各要素、各実施形態ないし実施例の各要素、各図面の各要素等を含む)の多様な組み合わせ、ないし選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。   The disclosure of the above patent document is incorporated herein by reference. Within the scope of the entire disclosure (including claims) of the present invention, the embodiments and examples can be changed and adjusted based on the basic technical concept. Further, various combinations or selections of various disclosed elements (including each element of each claim, each element of each embodiment or example, each element of each drawing, etc.) within the scope of the claims of the present invention. Is possible. That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the technical idea.

10 記憶装置
100 制御部
110 監視部
120 データ移行部
130 初期化部
200 SSD部
210 SSD
220 コントローラ
300 記憶部
310 監視結果
10 storage device 100 control unit 110 monitoring unit 120 data migration unit 130 initialization unit 200 SSD unit 210 SSD
220 Controller 300 Storage unit 310 Monitoring result

Claims (8)

第1の記憶媒体と、
前記第1の記憶媒体よりも容量が大きい第2の記憶媒体と、
前記第1の記憶媒体における未使用領域を監視する監視部と、
前記監視部による監視結果に基づいて、前記第1の記憶媒体における未使用領域が所定の閾値未満になったことを検出した場合に、前記第1の記憶媒体における使用領域のデータを前記第2の記憶媒体へ移行するデータ移行部と、
前記第1の記憶媒体を初期化する初期化部と、
を有するディスクアレイ装置
A first storage medium;
A second storage medium having a larger capacity than the first storage medium;
A monitoring unit for monitoring an unused area in the first storage medium;
Based on the monitoring result by the monitoring unit, when it is detected that the unused area in the first storage medium is less than a predetermined threshold, the data of the used area in the first storage medium is stored in the second storage medium. A data migration unit for migrating to the storage medium,
An initialization unit for initializing the first storage medium;
A disk array device .
前記第2の記憶媒体を複数有し、
前記監視部は、前記第2の記憶媒体における未使用領域も監視し、
前記データ移行部は、複数の第2の記憶媒体の内で前記未使用領域が最も多い第2の記憶媒体をデータの移行先に決定する請求項1に記載のディスクアレイ装置
A plurality of the second storage media;
The monitoring unit also monitors an unused area in the second storage medium;
The disk array device according to claim 1, wherein the data migration unit determines a second storage medium having the largest number of unused areas among a plurality of second storage media as a data migration destination.
前記第2の記憶媒体を複数有し、
前記監視部は、前記第2の記憶媒体への書き込み回数も監視し、
前記データ移行部は、複数の第2の記憶媒体の内で前記書き込み回数が最も少ない第2の記憶媒体をデータの移行先に決定する請求項1に記載のディスクアレイ装置
A plurality of the second storage media;
The monitoring unit also monitors the number of writes to the second storage medium,
2. The disk array device according to claim 1, wherein the data migration unit determines, as a data migration destination, a second storage medium having the smallest number of times of writing among a plurality of second storage media.
前記第1の記憶媒体及び第2の記憶媒体が、SSD(solid state drive)である請求項1〜3のいずれか1項に記載のディスクアレイ装置The disk array device according to claim 1, wherein the first storage medium and the second storage medium are SSDs (solid state drives). 前記データ移行部は、前記第1の記憶媒体における使用領域のデータを分割して、複数の第2の記憶媒体へ移行する請求項1〜4のいずれか1項に記載のディスクアレイ装置5. The disk array device according to claim 1, wherein the data migration unit divides data in a use area in the first storage medium and migrates the data to a plurality of second storage media. 前記データ移行部は、データ移行先の第2の記憶媒体の未使用領域が前記所定の閾値以上になるように、データを分割して移行する請求項5に記載のディスクアレイ装置The disk array device according to claim 5, wherein the data migration unit divides and migrates data so that an unused area of the second storage medium to which data is migrated is equal to or greater than the predetermined threshold. 第1の記憶媒体及び前記第1の記憶媒体よりも容量が大きい第2の記憶媒体における未使用領域を監視する監視ステップと、
前記監視ステップによる監視結果に基づいて、前記第1の記憶媒体における未使用領域が所定の閾値未満になったことを検出した場合に、前記第1の記憶媒体における使用領域のデータを前記第2の記憶媒体へ移行するデータ移行ステップと、
前記第1の記憶媒体を初期化する初期化ステップと、
を含むディスクアレイ装置の制御方法。
A monitoring step of monitoring an unused area in the first storage medium and a second storage medium having a larger capacity than the first storage medium;
Based on the monitoring result of the monitoring step, when it is detected that the unused area in the first storage medium is less than a predetermined threshold, the data of the used area in the first storage medium is stored in the second storage medium. A data migration step of migrating to the storage medium,
An initialization step of initializing the first storage medium;
A method for controlling a disk array device including:
第1の記憶媒体及び前記第1の記憶媒体よりも容量が大きい第2の記憶媒体における未使用領域を監視する監視処理と、
前記監視処理による監視結果に基づいて、前記第1の記憶媒体における未使用領域が所定の閾値未満になったことを検出した場合に、前記第1の記憶媒体における使用領域のデータを前記第2の記憶媒体へ移行するデータ移行処理と、
前記第1の記憶媒体を初期化する領域開放処理と、
ディスクアレイ装置としてのコンピュータに実行させるプログラム。
A monitoring process for monitoring an unused area in the first storage medium and a second storage medium having a larger capacity than the first storage medium;
When it is detected that the unused area in the first storage medium has become less than a predetermined threshold based on the monitoring result of the monitoring process, the data of the used area in the first storage medium is stored in the second storage medium. Data migration processing to migrate to other storage media,
An area release process for initializing the first storage medium;
That causes a computer as a disk array device to execute
JP2017062287A 2017-03-28 2017-03-28 Storage device, storage device control method, and program Active JP6617741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017062287A JP6617741B2 (en) 2017-03-28 2017-03-28 Storage device, storage device control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017062287A JP6617741B2 (en) 2017-03-28 2017-03-28 Storage device, storage device control method, and program

Publications (2)

Publication Number Publication Date
JP2018165861A JP2018165861A (en) 2018-10-25
JP6617741B2 true JP6617741B2 (en) 2019-12-11

Family

ID=63922756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017062287A Active JP6617741B2 (en) 2017-03-28 2017-03-28 Storage device, storage device control method, and program

Country Status (1)

Country Link
JP (1) JP6617741B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005115438A (en) * 2003-10-03 2005-04-28 Mitsubishi Electric Corp Data management apparatus
JP2007048173A (en) * 2005-08-12 2007-02-22 Casio Comput Co Ltd Recording device and program for the same
JP2008015769A (en) * 2006-07-05 2008-01-24 Hitachi Ltd Storage system and writing distribution method

Also Published As

Publication number Publication date
JP2018165861A (en) 2018-10-25

Similar Documents

Publication Publication Date Title
US10001947B1 (en) Systems, methods and devices for performing efficient patrol read operations in a storage system
JP6228347B2 (en) Storage apparatus and storage device
JP6009095B2 (en) Storage system and storage control method
JP6111575B2 (en) Storage device, internal processing control method, and internal processing control program
US9354907B1 (en) Optimized restore of virtual machine and virtual disk data
CN106776147B (en) Differential data backup method and differential data backup device
EP2942713A1 (en) Storage system and storage apparatus
JP2008046986A (en) Storage system
US10860447B2 (en) Database cluster architecture based on dual port solid state disk
WO2016194095A1 (en) Information processing system, storage unit, and storage device
JP6142860B2 (en) Disk array device, disk control device, solid state drive, disk control method, and program therefor
JP6094677B2 (en) Information processing apparatus, memory dump method, and memory dump program
US20150293719A1 (en) Storage Space Processing Method and Apparatus, and Non-Volatile Computer Readable Storage Medium
JP6652647B2 (en) Storage system
US8296478B2 (en) Data transfer system and data transfer method
JP2012014435A (en) Information processor and data restoring method
JP6617741B2 (en) Storage device, storage device control method, and program
US9547443B2 (en) Method and apparatus to pin page based on server state
JP2015052853A (en) Storage controller, storage control method, and program
US20200319977A1 (en) Method for backing up and restoring digital data stored on a solid-state storage device and a highly secure solid-state storage device
US10956245B1 (en) Storage system with host-directed error scanning of solid-state storage devices
US20170097795A1 (en) Storage system
KR102555800B1 (en) Storage system and operating method thereof
WO2018055686A1 (en) Information processing system
JP5691227B2 (en) Storage apparatus and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190312

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190513

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191015

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191028

R150 Certificate of patent or registration of utility model

Ref document number: 6617741

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150