CN104077083A - New added storage method, device and system - Google Patents

New added storage method, device and system Download PDF

Info

Publication number
CN104077083A
CN104077083A CN201410309575.1A CN201410309575A CN104077083A CN 104077083 A CN104077083 A CN 104077083A CN 201410309575 A CN201410309575 A CN 201410309575A CN 104077083 A CN104077083 A CN 104077083A
Authority
CN
China
Prior art keywords
newly
memory disk
main frame
newly adding
hba card
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.)
Pending
Application number
CN201410309575.1A
Other languages
Chinese (zh)
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201410309575.1A priority Critical patent/CN104077083A/en
Publication of CN104077083A publication Critical patent/CN104077083A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention discloses a new added storage method, device and system and relates to the computer field. The new added storage method, device and system solve the problem of inconvenience in new added storage. The new added storage method includes that connecting a new added storage disk to an HBA card of a host; re-scanning SCSI disk equipment under the HBA card. The new added storage method, device and system are suitable for the server host and realize to add disk storage under the normal work of equipment.

Description

Newly add storage means, device and system
Technical field
The present invention relates to computer realm, relate in particular to a kind of storage means, device and system of newly adding.
Background technology
Server host, when application is installed, need to newly add Storage Mapping LUN, and system can not be identified this LUN immediately and application is installed, and general method need to restart server host rear system and can identify.The basic core information platform that is mainly used in the lifeblood industries such as finance, telecommunications, the energy, traffic due to server host, concerns national economy security of operation, social safety and national strategy safety, can not carry out operating system and restart in operational process.Thereby need a kind of method badly and can guarantee that business normally moves under prerequisite, can identify the LUN that newly adds storage, and application is installed.
Summary of the invention
The invention provides a kind of storage means, device and system of newly adding, solved and newly added the inconvenient problem of storage.
Newly add a storage means, comprising:
The memory disk newly adding is connected to host bus adaptor (HBA) card of main frame;
Rescan small computer system interface (SCSI) disk unit under described HBA card
Preferably, the HBA card that the memory disk newly adding is connected to main frame comprises:
The memory disk newly adding is connected to the HBA card of main frame by switch;
Main frame obtains the interface at the described memory disk place newly adding.
Preferably, the described HBA card that the memory disk newly adding is connected to main frame also comprises:
Record the global unique name (WWN) number of the described memory disk newly adding.
Preferably, rescan the scsi disk equipment under described HBA card, identify the described memory disk newly adding and comprise:
Rescan described HBA card interface;
Identify and add the described memory disk newly adding.
The present invention also provides a kind of memory storage that newly adds, and comprising:
Link block, for being connected to the memory disk newly adding on the HBA card of main frame;
Scan module, for rescaning the scsi disk equipment under described HBA card, identifies the described memory disk newly adding.
Preferably, described scan module comprises:
Interface scans unit, for rescaning described HBA card interface;
Storage recognition unit, for identifying and adding the described memory disk newly adding.
The present invention also provides a kind of storage system that newly adds, and comprises main frame, and described main frame is connected with at least one HBA card, and this system also comprises the memory disk newly adding;
Described HBA card, for connecting the described memory disk newly adding;
Described main frame, for rescaning the scsi disk equipment under described HBA card, identifies the described memory disk newly adding.
Preferably, this system also comprises switch;
Described HBA cartoon is crossed described switch and is connected to described main frame.
The invention provides a kind of storage means, device and system of newly adding, the memory disk newly adding is connected to the HBA card of main frame, rescan the scsi disk equipment under described HBA card, identify the described memory disk newly adding.Realized under equipment normal operation and added disk storage, solved and newly added the inconvenient problem of storage.
Accompanying drawing explanation
Fig. 1 is a kind of process flow diagram that newly adds storage means that embodiments of the invention one provide;
Fig. 2 is a kind of structural representation that newly adds memory storage that embodiments of the invention two provide.
Embodiment
In order to solve, newly add the inconvenient problem of storage, embodiments of the invention provide a kind of storage means, device and system of newly adding.Hereinafter in connection with accompanying drawing, embodiments of the invention are elaborated.It should be noted that, in the situation that not conflicting, the embodiment in the application and the feature in embodiment be combination in any mutually.
First by reference to the accompanying drawings, embodiments of the invention one are described.
The embodiment of the present invention has proposed a kind of server host that is applied to (as the K1 of Langchao Tiansuo main frame, K-UNIX system) newly add storage means, without restarting server host, can identify plug-in storage and newly add LUN, connect after external storage newly adds LUN and just can under system, identify without restarting server host, assurance system and business can normally be moved.
In 2.6 kernels, (K-UNIX kernel is 2.6.28), has dynamic LUN scan mechanism.HBA drives under export to/sys of scan function catalogue, can be used to rescan the scsi disk equipment under this interface.The embodiment of the present invention provides a kind of storage system that newly adds, and comprising:
(1) the related server host of the embodiment of the present invention, is provided with K-UNIX operating system, can identify newly adding storage LUN.
(2) HBA card, is installed in described server host IO Switching Module PCIE slot, for connecting external storage (as the memory devices such as memory disk that newly add).
(3) optical fiber switch, for connecting HBA card and memory device.
(4) storage system, for installing application.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is done further and described in detail.
1. in this step, the memory disk newly adding is connected to the HBA card of main frame.The memory disk newly adding is connected to the HBA card (also can be directly connected to HBA card, generally connect by switch) of server host (being designated hereinafter simply as main frame) by switch, record corresponding No. WWN of this memory disk newly adding.
2. check described No. WWN corresponding host x (x is the numbering of host), obtain the HBA card interface at the memory disk place newly adding.Concrete, can check this No. WWN by systool-c fc_host – v instruction.
3. view original host and need to newly add the corresponding SCSI of host x corresponding to storage, and can find the information such as channel, id, LUN.Host x is HBA card interface.This step specifically can realize by check/proc/scsi/scsi.
4. rescan the scsi disk equipment under described HBA card, identify the described memory disk newly adding.
In this step, scan the scsi disk equipment under the interface that this host x is corresponding: in this step, be the definitely normal operation of assurance system, storage data are perfectly safe, and other interface scsi devices are not scanned.In this step, specifically can pass through echo " CTL " >/sys/class/scsi_host/hostx/scan realizes.
X is the numbering of SCSI host bus interface card (HBA, Host Bus Adapter);
C is frequency (Channel) numbering of HBA;
T is SCSI target ID;
L is LUN (Logical Unit Number).
5. by fdisk – l, can under system, find and newly add LUN, the LUN for example newly adding is /dev/sdc1, just can carry out subregion by pvcreat or fdisk order, after mkfs.ext3 command formatization, carry out carry (mount order) and use, or use with raw device.
Idiographic flow can be with reference to figure 1.
Below in conjunction with accompanying drawing, embodiments of the invention two are described.
The embodiment of the present invention provides a kind of memory storage that newly adds, and the structure of this device as shown in Figure 2, comprising:
Link block 201, for being connected to the memory disk newly adding on the HBA card of main frame;
Scan module 202, for rescaning the scsi disk equipment under described HBA card, identifies the described memory disk newly adding.
Preferably, described scan module 202 comprises:
Interface scans unit 2021, for rescaning described HBA card interface;
Storage recognition unit 2022, for identifying and adding the described memory disk newly adding.
The present invention also provides a kind of storage system that newly adds, and comprises main frame, and described main frame is connected with at least one HBA card, and this system also comprises the memory disk newly adding;
Described HBA card, for connecting the described memory disk newly adding;
Described main frame, for rescaning the scsi disk equipment under described HBA card, identifies the described memory disk newly adding.
Preferably, this system also comprises switch;
Described HBA cartoon is crossed described switch and is connected to described main frame.
Embodiments of the invention provide a kind of storage means, device and system of newly adding, and the memory disk newly adding are connected to the HBA card of main frame, rescan the scsi disk equipment under described HBA card, identify the described memory disk newly adding.Realized under equipment normal operation and added disk storage, solved and newly added the inconvenient problem of storage.
By the mechanism and multiple that provides under K-UNIX system is provided, to rescan SCSI bus, lays equal stress on and recognize the scsi device adding in system.The in the situation that of the normal operation of maintenance business, can identify and newly add storage and can under system, identify, and can add new application, have fast, safety, the feature such as stable.
For guaranteeing system safety operation, during scsi device under scan interface, can only scan for newly adding interface corresponding to storage LUN, realized for the scanning of storing under particular path.
The all or part of step that one of ordinary skill in the art will appreciate that above-described embodiment can realize by computer program flow process, described computer program can be stored in a computer-readable recording medium, described computer program (as system, unit, device etc.) on corresponding hardware platform is carried out, when carrying out, comprise step of embodiment of the method one or a combination set of.
Alternatively, all or part of step of above-described embodiment also can realize with integrated circuit, and these steps can be made into respectively integrated circuit modules one by one, or a plurality of modules in them or step are made into single integrated circuit module realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in above-described embodiment can adopt general calculation element to realize, and they can concentrate on single calculation element, also can be distributed on the network that a plurality of calculation elements form.
The form of software function module of usining each device/functional module/functional unit in above-described embodiment realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.The above-mentioned computer read/write memory medium of mentioning can be ROM (read-only memory), disk or CD etc.
Anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain described in claim.

Claims (8)

1. newly add a storage means, it is characterized in that, comprising:
The memory disk newly adding is connected to host bus adaptor (HBA) card of main frame;
Rescan small computer system interface (SCSI) disk unit under described HBA card.
2. the storage means that newly adds according to claim 1, is characterized in that, the HBA card that the memory disk newly adding is connected to main frame comprises:
The memory disk newly adding is connected to the HBA card of main frame by switch;
Main frame obtains the interface at the described memory disk place newly adding.
3. the storage means that newly adds according to claim 2, is characterized in that, the described HBA card that the memory disk newly adding is connected to main frame also comprises:
Record the global unique name (WWN) number of the described memory disk newly adding.
4. the storage means that newly adds according to claim 2, is characterized in that, rescans the scsi disk equipment under described HBA card, identifies the described memory disk newly adding and comprises:
Rescan described HBA card interface;
Identify and add the described memory disk newly adding.
5. newly add a memory storage, it is characterized in that, comprising:
Link block, for being connected to the memory disk newly adding on the HBA card of main frame;
Scan module, for rescaning the scsi disk equipment under described HBA card, identifies the described memory disk newly adding.
6. the memory storage that newly adds according to claim 5, is characterized in that, described scan module comprises:
Interface scans unit, for rescaning described HBA card interface;
Storage recognition unit, for identifying and adding the described memory disk newly adding.
7. newly add a storage system, comprise main frame, described main frame is connected with at least one HBA card, and this system also comprises the memory disk newly adding;
Described HBA card, for connecting the described memory disk newly adding;
Described main frame, for rescaning the scsi disk equipment under described HBA card, identifies the described memory disk newly adding.
8. the storage system that newly adds according to claim 7, is characterized in that, this system also comprises switch;
Described HBA cartoon is crossed described switch and is connected to described main frame.
CN201410309575.1A 2014-07-01 2014-07-01 New added storage method, device and system Pending CN104077083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410309575.1A CN104077083A (en) 2014-07-01 2014-07-01 New added storage method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410309575.1A CN104077083A (en) 2014-07-01 2014-07-01 New added storage method, device and system

Publications (1)

Publication Number Publication Date
CN104077083A true CN104077083A (en) 2014-10-01

Family

ID=51598370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410309575.1A Pending CN104077083A (en) 2014-07-01 2014-07-01 New added storage method, device and system

Country Status (1)

Country Link
CN (1) CN104077083A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260137A (en) * 2015-09-28 2016-01-20 天津书生云科技有限公司 Method and device for realizing access of HBA (Host Bus Adapter) card to SATA (Serial ATA) disk in SAS (Serial Attached Scsi) storage system
CN106843898A (en) * 2017-02-09 2017-06-13 郑州云海信息技术有限公司 Scsi disk information query method under a kind of Linux system
WO2017143804A1 (en) * 2016-02-25 2017-08-31 杭州海康威视数字技术股份有限公司 Method and apparatus for dynamic access of storage device in cloud storage system
CN107704209A (en) * 2017-10-26 2018-02-16 郑州云海信息技术有限公司 A kind of disk scanning method, system, equipment and computer-readable storage medium
CN108153578A (en) * 2016-12-05 2018-06-12 北京国双科技有限公司 A kind of method and apparatus that disk is added for virtual machine
CN108845904A (en) * 2018-06-20 2018-11-20 郑州云海信息技术有限公司 A kind of new hard disk method and device of addition
CN109062504A (en) * 2018-07-13 2018-12-21 郑州云海信息技术有限公司 Storage system dispositions method and device under a kind of virtual platform
CN112463670A (en) * 2020-11-25 2021-03-09 苏州浪潮智能科技有限公司 Storage controller access method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0858036A2 (en) * 1997-02-10 1998-08-12 Compaq Computer Corporation Fibre channel attached storage architecture
CN1633131A (en) * 2005-01-14 2005-06-29 清华大学 A method for implementing iSCSI memory system
CN1639702A (en) * 2001-12-19 2005-07-13 英特尔公司 Hot plug interface control method and apparatus
CN101452369A (en) * 2007-11-29 2009-06-10 国际商业机器公司 Method and system for controlling logical unit of USB mass storage device
CN101739220A (en) * 2009-02-25 2010-06-16 浪潮电子信息产业股份有限公司 Method for designing multi-controller memory array
CN203561993U (en) * 2013-11-29 2014-04-23 安徽易商数码科技有限公司 Database server of redundant structure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0858036A2 (en) * 1997-02-10 1998-08-12 Compaq Computer Corporation Fibre channel attached storage architecture
CN1639702A (en) * 2001-12-19 2005-07-13 英特尔公司 Hot plug interface control method and apparatus
CN1633131A (en) * 2005-01-14 2005-06-29 清华大学 A method for implementing iSCSI memory system
CN101452369A (en) * 2007-11-29 2009-06-10 国际商业机器公司 Method and system for controlling logical unit of USB mass storage device
CN101739220A (en) * 2009-02-25 2010-06-16 浪潮电子信息产业股份有限公司 Method for designing multi-controller memory array
CN203561993U (en) * 2013-11-29 2014-04-23 安徽易商数码科技有限公司 Database server of redundant structure

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260137A (en) * 2015-09-28 2016-01-20 天津书生云科技有限公司 Method and device for realizing access of HBA (Host Bus Adapter) card to SATA (Serial ATA) disk in SAS (Serial Attached Scsi) storage system
CN105260137B (en) * 2015-09-28 2018-06-22 天津书生云科技有限公司 Realize that HBA cards access the method and apparatus of SATA disks in SAS storage system
WO2017143804A1 (en) * 2016-02-25 2017-08-31 杭州海康威视数字技术股份有限公司 Method and apparatus for dynamic access of storage device in cloud storage system
CN108153578A (en) * 2016-12-05 2018-06-12 北京国双科技有限公司 A kind of method and apparatus that disk is added for virtual machine
CN106843898A (en) * 2017-02-09 2017-06-13 郑州云海信息技术有限公司 Scsi disk information query method under a kind of Linux system
CN107704209A (en) * 2017-10-26 2018-02-16 郑州云海信息技术有限公司 A kind of disk scanning method, system, equipment and computer-readable storage medium
CN108845904A (en) * 2018-06-20 2018-11-20 郑州云海信息技术有限公司 A kind of new hard disk method and device of addition
CN109062504A (en) * 2018-07-13 2018-12-21 郑州云海信息技术有限公司 Storage system dispositions method and device under a kind of virtual platform
CN112463670A (en) * 2020-11-25 2021-03-09 苏州浪潮智能科技有限公司 Storage controller access method and related device

Similar Documents

Publication Publication Date Title
CN104077083A (en) New added storage method, device and system
CN102223394B (en) Methods and servers to provide remote direct access of solid-state storage
US7970974B2 (en) Method and system for adding or removing a logical unit of a USB mass storage device
CN103412769A (en) External card parameter configuration method, equipment and system
CN103763129A (en) PCIe equipment management method and device
KR101209915B1 (en) Raid-based storage control board and driving method thereof
TW201740370A (en) Hard disk data wiping method, server and system
US10761730B2 (en) Method for configuring disk array of electronic device and related electronic device
CN102187311A (en) Methods and systems for recovering a computer system using a storage area network
US8725923B1 (en) BMC-based communication system
CN107526616B (en) Method and device for writing and reading data of BMC by host
US20090187707A1 (en) System and method of maximization of storage capacity in a configuration limited system
CN103955441A (en) Equipment management system, equipment management method and IO (Input/Output) expansion interface
CN102983989B (en) Removing method, device and equipment of server virtual address
US7831761B2 (en) Multiple multipathing software modules on a computer system
US9720755B2 (en) Information processing device
CN103400602B (en) A kind of bad track of hard disk self-repairing method and equipment
CN111309553B (en) Method, system, equipment and medium for monitoring storage Jbod
CN103761202B (en) A kind of data storage node hard disk position identification method and system
CN103019847A (en) Method and system for migrating data of virtual machine
EP2348681A1 (en) Storage method and system, terminal service board, control board and storage channel board
US8738816B2 (en) Management of detected devices coupled to a host machine
CN104102515A (en) Method and server for processing logical unit number of plug-in storage equipment
CN116126613A (en) Position detection method and device of PCIe (peripheral component interconnect express) equipment, electronic equipment and storage medium
US10681746B2 (en) Wireless enabled hard drive management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141001