Hard disk format conversion method and apparatus, and storage device
AssigneeHuawei Technologies Co., Ltd.
InventorsKunsheng REN, Jianhua ZHOU
Life of this patent
Estimating the term…
Abstract
This application provides a hard disk format conversion method and apparatus, and a storage device, and belongs to the field of storage technologies. In this application, a storage format of a storage unit is converted from an SMR format to a PMR format. Because IOPS in the PMR format is higher than IOPS in the SMR format, IOPS in the storage unit can be increased after the storage format is converted. Alternatively, a storage format of a storage unit is converted from the PMR format to the SMR format. Because a storage capacity in the SMR format is higher than a storage capacity in the PMR format, a storage capacity of the storage unit can be increased after the storage format is converted.
Claims18
A hard disk format conversion method, wherein the method is applied to a storage device, and the method comprises:
- selecting a first storage unit, wherein the first storage unit stores data in a first storage format;
- and
- instructing the first storage unit to convert the first storage format into a second storage format to obtain a second storage unit, wherein
- each of the first storage format and the second storage format is one of a shingled magnetic recording SMR format or a perpendicular magnetic recording PMR format, and the first storage format is different from the second storage format.
A hard disk format conversion apparatus, wherein the apparatus is applied to a storage device, and the apparatus comprises:
- a selection module, configured to select a first storage unit, wherein the first storage unit stores data in a first storage format;
- and
- an instruction module, configured to instruct the first storage unit to convert the first storage format into a second storage format, to obtain a second storage unit, wherein
- each of the first storage format and the second storage format is one of a shingled magnetic recording SMR format or a perpendicular magnetic recording PMR format, and the first storage format is different from the second storage format.
A storage device, wherein the storage device comprises a processor and at least two zones, and the at least two zones comprise a shingled magnetic recording SMR zone and a perpendicular magnetic recording PMR zone;
- the processor is configured to select a first zone, wherein data is stored in the first zone in a first storage format;
- and
- the processor is configured to instruct the first zone to convert the first storage format into a second storage format to obtain a second zone, wherein each of the first storage format and the second storage format is one of an SMR format or a PMR format, and the first storage format is different from the second storage format.
Dependencies are inferred from the claim text.