白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Storage device and storage management method

專(zhuān)利號(hào)
US11175857B2
公開(kāi)日期
2021-11-16
申請(qǐng)人
Hitachi, Ltd.(JP Tokyo)
發(fā)明人
Hideyuki Koseki; Shugo Ogawa
IPC分類(lèi)
G06F3/06; G06F11/10
技術(shù)領(lǐng)域
ssd,ssds,data,parity,storage,in,controller,extent,management,raid
地域: Tokyo

摘要

To provide a storage device by which distribution of data to an added memory device may be carried out in a short period of time.In a case where any new SSD is added to the storage device, a storage controller carries out first data distribution processing moving any piece of user data in a parity group from existing SSDs to the added SSD and second data distribution processing increasing the number of pieces of the user data configuring the parity group from a first number to a second number after the first data distribution processing and storing the user data in a plurality of memory devices SSDs.

說(shuō)明書(shū)

BACKGROUND OF THE INVENTION 1. Field of the Invention

The present disclosure relates to a storage device and a storage management method.

2. Description of the Related Art

Among storage devices with use of redundant array of independent (or inexpensive) disks (RAID) system in which a plurality of memory devices to store data are used as one virtual memory device, storage devices in which solid state drives (SSDs) are used as the memory devices have been put into practical use. In the SSD, however, increasing in storage ratio (capacity usage rate) for data results in decrease in efficiency of garbage collection for release of unnecessary memory region, and a phenomenon called write amplification, which means increase in amount of writing as data volume written into a memory device in comparison with actual data volume, may occur. The SSD, of which a remaining life is fixed in accordance with the amount of writing, has a problem in that occurrence of the write amplification increases a consumption rate at which the remaining life is consumed.

As for the problem, JP-2009-538482-T discloses a technique in which the consumption rate for the remaining life may be decreased by decrease in the storage ratio for data through addition of a memory device. In the technique, data distributed among existing memory devices is restructured in order to be distributed among the existing memory devices and the added memory device, when the memory device is added, and the restructured data is distributed among and stored in the existing memory devices and the added memory device.

SUMMARY OF THE INVENTION

權(quán)利要求

1
What is claimed is:1. A storage device comprising a control unit and a plurality of memory devices, whereina parity group is defined by a first configuration including a first number of pieces of user data and redundant data generated from the first number of pieces of the user data,the user data and the redundant data in the parity group are stored in the different memory devices from each other,in a case where any new memory device is added to the storage device, the control unit carries outfirst data distribution processing moving any piece of the user data in the parity group from the existing memory devices to the added memory device, andsecond data distribution processing increasing the number of pieces of the user data which define the first configuration of the parity group from the first number to a resultant second number, wherein the presence of the second number of pieces of the user data define a second configuration, after the first data distribution processing, and storing the resultant user data in the plurality of memory devices, andwhen the control unit calculates a life difference resulting from subtraction of a remaining life of existing devices that are the existing memory devices from a remaining life of an added device that is the added memory device and receives a write request for data,if the life difference is equal to or greater than the threshold, the control unit distributes and stores the data, by a first data unit, among and in same number of memory devices as the number of the existing devices selected from the existing devices and the added device, andif the life difference is smaller than the threshold, the control unit newly distributes and stores the data, by a second data unit greater than the first data unit, among and in larger number of the existing devices and the added device than the number of the existing devices.2. The storage device according to claim 1, whereinthe lives of the existing and added memory devices are based on amounts of writing, andthe control unit determines a moved data volume for movement from each of the existing memory devices to the added memory device, based on the life of the existing memory device, in the first data distribution processing.3. The storage device according to claim 2, whereinthe control unit determines timing of start of the second data distribution processing, based on the life difference among the memory devices.4. The storage device according to claim 1, whereina data volume of the redundant data with respect to the user data is decreased in the second data distribution processing.5. The storage device according to claim 1, whereinthe data is stored in a log structure scheme, andin the second data distribution processing, the control unit does not change the number of pieces of the data in the parity group that is stored before starting the second data distribution processing but changes the number of pieces of the data in the parity group, the number of pieces of the data being stored after starting the second data distribution processing, to the second number.6. A storage management method executed by a storage device including a plurality of memory devices,a parity group being defined by a first configuration including a first number of pieces of user data and redundant data generated from the first number of pieces of the user data,the user data and the redundant data in the parity group being stored in the different memory devices from each other,in a case where any new memory device being added to the storage device, the method comprising:first data distribution processing moving any piece of the user data in the parity group from the existing memory devices to the added memory device, andsecond data distribution processing increasing the number of pieces of the user data which define the first configuration of the parity group from the first number to a resultant second number, wherein the presence of the second number of pieces of the user data define a second configuration after the first data distribution processing, and storing the resultant user data in the plurality of memory devices, andwhen the control unit calculates a life difference resulting from subtraction of a remaining life of existing devices that are the existing memory devices from a remaining life of an added device that is the added memory device and receives a write request for data,if the life difference is equal to or greater than the threshold, the control unit distributes and stores the data, by a first data unit, among and in same number of memory devices as the number of the existing devices selected from the existing devices and the added device, andif the life difference is smaller than the threshold, the control unit newly distributes and stores the data, by a second data unit greater than the first data unit, among and in larger number of the existing devices and the added device than the number of the existing devices.
微信群二維碼
意見(jiàn)反饋