IP Library Granted Patent US 11,977,762
Granted Patent B2
US 11,977,762 · App. 17/907,766 · Granted May 7, 2024

LUN division method and device

Inventor: Yi Feng (Jiangsu, CN)
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
G06F3/0644G06F3/0613G06F3/0673
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,977,762
App. No.
17/907,766
Granted
May 7, 2024
Kind
B2
Abstract

A Logical Unit Number (LUN) division method and device includes checking and adjusting a connection manner and numbers of Serial Attached Small Computer System Interface (SCSI) (SAS) connections of storage enclosures and a controller, so as to make a maximum output bandwidth of each storage enclosure consistent (Si); querying controller port identifiers and storage enclosure identifiers (S 2 ); creating a Mdisk array, and adding the corresponding controller port identifier and the corresponding storage enclosure identifier for each Mdisk (S 3 ); logically dividing a storage space in the Mdisk array to create a volume, and dividing the volume into LUNs, whereby Mdisks that form the LUNs are made to come from different storage enclosures and different controller ports (S 4 ); and mapping the LUNs to a host (S 5 ).

Claims (51)

1. A Logical Unit Number (LUN) division method, comprising:

checking and adjusting a connection manner and number of Serial Attached Small Computer System Interface (SCSI) (SAS) connections of storage enclosures and a controller, so as to make a maximum output bandwidth of each storage enclosure consistent;

querying controller port identifiers and storage enclosure identifiers;

creating a Mdisk array, and adding the corresponding controller port identifier and the corresponding storage enclosure identifier for each Mdisk;

logically dividing a storage space in the Mdisk array to create a volume, and dividing the volume into LUNs, wherein Mdisks that form the LUNs are made to come from different storage enclosures and different controller ports; and

mapping the LUNs to a host.

2. The method according to claim 1 , wherein the querying controller port identifiers and storage enclosure identifiers comprises:

querying the controller port identifier controller_id based on a system command lscontroller, and querying the storage enclosure identifier enclosure_id based on a system command lsenclosure.

3. The method according to claim 1 , further comprising: after the Mdisk array is created, adding the Mdisk array to a storage pool, and specifying a level of a Redundant Array of Independent Disks (RAID) in the Mdisk array based on a system command.

4. The method according to claim 1 , wherein the adding the corresponding controller port identifier and the corresponding storage enclosure identifier for each Mdisk comprises:

modifying an attribute of the Mdisk based on a system command charray to add the corresponding controller port identifier and the corresponding storage enclosure identifier to the Mdisk.

5. The method according to claim 1 , wherein the making Mdisks that form the LUNs come from different storage enclosures and different controller ports comprises:

making the storage enclosure identifier in an attribute of the Mdisk not repeated and the controller port identifier in the attribute of the Mdisk not repeated; and

in response to a requirement of an upper-layer host application for LUNs with same performance, making numbers and capacities of the Mdisks that form the LUNs the same.

6. The method according to claim 1 , wherein connections between the storage enclosures and between the storage enclosures and the controller are implemented by SAS connections.

7. The method according to claim 1 , wherein the Mdisks that form the LUNs are identified as Mdisk [Cn, Em], where Cn represents an n th controller port identifier, and Em represents an m th storage enclosure identifier.

8. A Logical Unit Number (LUN) division device, comprising:

a memory, configured to store a computer program; and

a processor, configured to execute the computer program to implement operations comprising:

checking and adjusting a connection manner and number of Serial Attached Small Computer System Interface (SCSI) (SAS) connections of storage enclosures and a controller, so as to make a maximum output bandwidth of each storage enclosure consistent;

querying controller port identifiers and storage enclosure identifiers;

creating a Mdisk array, and adding the corresponding controller port identifier and the corresponding storage enclosure identifier for each Mdisk;

logically dividing a storage space in the Mdisk array to create a volume, and dividing the volume into LUNs, wherein Mdisks that form the LUNs are made to come from different storage enclosures and different controller ports; and

mapping the LUNs to a host.

9. The device according to claim 8 , wherein the querying controller port identifiers and storage enclosure identifiers comprises:

querying the controller port identifier controller_id based on a system command lscontroller, and querying the storage enclosure identifier enclosure_id based on a system command lsenclosure.

10. The device according to claim 8 , wherein the operations further comprise:

after the Mdisk array is created, adding the Mdisk array to a storage pool, and specifying a level of a Redundant Array of Independent Disks (RAID) in the Mdisk array based on a system command.

11. The device according to claim 8 , wherein the adding the corresponding controller port identifier and the corresponding storage enclosure identifier for each Mdisk comprises:

modifying an attribute of the Mdisk based on a system command charray to add the corresponding controller port identifier and the corresponding storage enclosure identifier to the Mdisk.

12. The device according to claim 8 , wherein the making Mdisks that form the LUNs come from different storage enclosures and different controller ports comprises:

making the storage enclosure identifier in an attribute of the Mdisk not repeated and the controller port identifier in the attribute of the Mdisk not repeated; and

in response to a requirement of an upper-layer host application for LUNs with same performance, making numbers and capacities of the Mdisks that form the LUNs the same.

13. The device according to claim 8 , wherein connections between the storage enclosures and between the storage enclosures and the controller are implemented by SAS connections.

14. The device according to claim 8 , wherein the Mdisks that form the LUNs are identified as Mdisk [Cn, Em], where Cn represents an n th controller port identifier, and Em represents an m th storage enclosure identifier.

15. A non-transitory readable storage medium, storing a computer program which, when executed by a processor, causes the processor to implement operations comprising:

checking and adjusting a connection manner and number of Serial Attached Small Computer System Interface (SCSI) (SAS) connections of storage enclosures and a controller, so as to make a maximum output bandwidth of each storage enclosure consistent;

querying controller port identifiers and storage enclosure identifiers;

creating a Mdisk array, and adding the corresponding controller port identifier and the corresponding storage enclosure identifier for each Mdisk;

logically dividing a storage space in the Mdisk array to create a volume, and dividing the volume into LUNs, wherein Mdisks that form the LUNs are made to come from different storage enclosures and different controller ports; and

mapping the LUNs to a host.

16. The non-transitory readable storage medium according to claim 15 , wherein the querying controller port identifiers and storage enclosure identifiers comprises:

querying the controller port identifier controller_id based on a system command lscontroller, and querying the storage enclosure identifier enclosure_id based on a system command lsenclosure.

17. The non-transitory readable storage medium according to claim 15 , wherein the operations further comprise:

after the Mdisk array is created, adding the Mdisk array to a storage pool, and specifying a level of a Redundant Array of Independent Disks (RAID) in the Mdisk array based on a system command.

18. The non-transitory readable storage medium according to claim 15 , wherein the adding the corresponding controller port identifier and the corresponding storage enclosure identifier for each Mdisk comprises:

modifying an attribute of the Mdisk based on a system command charray to add the corresponding controller port identifier and the corresponding storage enclosure identifier to the Mdisk.

19. The non-transitory readable storage medium according to claim 15 , wherein the making Mdisks that form the LUNs come from different storage enclosures and different controller ports comprises:

making the storage enclosure identifier in an attribute of the Mdisk not repeated and the controller port identifier in the attribute of the Mdisk not repeated; and

in response to a requirement of an upper-layer host application for LUNs with same performance, making numbers and capacities of the Mdisks that form the LUNs the same.

20. The non-transitory readable storage medium according to claim 15 , wherein connections between the storage enclosures and between the storage enclosures and the controller are implemented by SAS connections.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 29, 2022
From: FENG, YI
To: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 060923/0734 →
Priority Claims (1)
CN 202010130100.1 · Feb 28, 2020 · national
Continuity (1)
Related Publication 20230110137A1 · Apr 13, 2023