Storage device and firmware setting method and repartitioning method thereof
A storage device and firmware technology, which is applied in the direction of memory system, memory address/allocation/relocation, instrument, etc., can solve the problems of long-time copying process, limited storage capacity, increased labor cost, etc., and achieve simplified re-partitioning method , improve efficiency and save labor cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0023] A firmware setting method of a storage device according to the present application, a logical address mapping switching interface is set in the firmware of the storage device, and the logical address mapping switching interface includes the first address, the second address, and the parameter of setting the length of the switching address, from the first The continuous logical addresses starting from the first address and setting the length of the switching address are the first address segment, and the continuous logical addresses starting from the second address and setting the length of the switching address are the second address segment.
[0024] The logical address mapping exchange interface is used for exchanging the slave first address segment with the second address segment; performing logical address exchange by updating the logical address mapping table.
[0025] Specifically, a logical address mapping switching interface instruction is added in the firmware, ...
specific Embodiment 2
[0029] According to a method for repartitioning a storage device according to the present application, the host computer calculates the logical space to be adjusted according to the repartitioning instruction, calls the mapping exchange interface of the storage device, and adjusts the size of the logical space of different partitions.
[0030] Repartitioning, at the user level, is to expand the size of the original first partition and reduce the size of the original second partition. In essence, it is necessary to adjust user information from state A to state B.
[0031] After receiving the repartition command, the host invokes the partition table and file system information to obtain the logical address information of the original partition and the file usage information of the original partition. The partition table includes the start and end address information of each partition.
[0032] Calculate the logical space address to be adjusted according to the start address, end ...
specific Embodiment 3
[0040] A storage device is solidified with a computer program, and a logic address mapping exchange interface is set in the program. When repartitioning the storage device, it is only necessary to call the logical address mapping exchange interface and set relevant parameters to realize the repartitioning of the storage space, which simplifies user operations and saves labor costs.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
