CN109213447A - A kind of SAN storage volume carry, discharging method and system - Google Patents
A kind of SAN storage volume carry, discharging method and system Download PDFInfo
- Publication number
- CN109213447A CN109213447A CN201810968426.4A CN201810968426A CN109213447A CN 109213447 A CN109213447 A CN 109213447A CN 201810968426 A CN201810968426 A CN 201810968426A CN 109213447 A CN109213447 A CN 109213447A
- Authority
- CN
- China
- Prior art keywords
- host
- information
- volume
- carry
- unloading
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a kind of SAN storage volume carry, hanging method and systems, applied to automatic carry tool of unloading, the hanging method includes: the mounting instructions in response to volume, obtains the port information of host, and create corresponding host information in SAN storage end according to port information;According to the information of the volume carried in mounting instructions, the corresponding volume of the information of volume is bound with host information in SAN storage end;Scanning motion is executed in the operating system of host, finds facility information corresponding with volume on host;The corresponding equipment of facility information is mounted on the specified host file system path of host mount point;Mounting instructions carry host mount point, and the present invention can reduce the operating procedure of administrator, reduce the knowledge threshold of administrator, increase the efficiency of management, and avoid maloperation bring potential problems.
Description
Technical field
This application involves field of computer technology more particularly to a kind of SAN storage volume carries, discharging method and system.
Background technique
Storage area network (Storage Area Network, SAN) uses optical-fibre channel (fiber channel, FC)
Technology connects storage array and server host by FC interchanger, establishes the Local Area Network for being exclusively used in data storage.
The volume that current SAN storage equipment provides, in host side in use, it is generally necessary to administrator executes a series of complex
Carry operation will be wrapping in the file system for being downloaded to host, and not needed in use, executing the unloading operation of a series of complex
Volume is unloaded from the file system of host.This makes SAN storage administrator need to have higher knowledge threshold, manages employee
Make inefficiency, and there is mistake and use the possibility that various potential problems occur caused by order.
Summary of the invention
In order to solve prior art problem, the embodiment of the present application provides a kind of SAN storage volume carry, discharging method and is
System, can effectively reduce the knowledge threshold of administrator, increase the working efficiency of administrator, and avoid using order due to mistake
Caused various potential problems.
A kind of SAN storage volume hanging method provided by the embodiments of the present application is applied to automatic carry tool of unloading, the side
Method includes:
In response to the mounting instructions of volume, the port information of host is obtained, and is created according to the port information in SAN storage end
Build corresponding host information;
It is in the SAN storage end that the information of the volume is corresponding according to the information of the volume carried in the mounting instructions
Volume is bound with the host information;
Scanning motion is executed in the operating system of the host, finds equipment letter corresponding with the volume on the host
Breath;
The corresponding equipment of the facility information is mounted on the specified host file system path of host mount point;It is described
Mounting instructions carry the host mount point.
Optionally, facility information corresponding with the volume on the discovery host, later further include:
Judge whether there is file system in the corresponding equipment of the facility information;
If so, execution is described to be mounted to the specified Hosts file of host mount point for the corresponding equipment of the facility information
On system path;
If it is not, execution is described to be mounted to host carry for the corresponding equipment of the facility information after then creating file system
On the specified host file system path of point.
Optionally, when having file system in the corresponding equipment of the facility information, the method also includes:
Judge whether to need to the corresponding equipment of the facility information according to the carry option carried in the mounting instructions
It is formatted processing;
If so, execution is described to believe the equipment after the corresponding equipment of the facility information is formatted processing
Corresponding equipment is ceased to be mounted on the specified host file system path of host mount point.
A kind of SAN storage volume discharging method provided by the embodiments of the present application is applied to automatic carry tool of unloading, the side
Method includes:
In response to the unloading request of volume, the equipment on the specified host file system path of host mount point is unloaded;It is described
Unloading request carries the host mount point;
According to the information of the volume of acquisition, the corresponding host of SAN storage end volume corresponding with the information of the volume is believed
Breath is unbinded;The information of the volume is obtained according to the host mount point or is obtained from unloading request;
After the port information for obtaining the host, the corresponding host information of the port information is stored from the SAN
It deletes at end.
Optionally, the port information for obtaining the host, later further include:
Judge whether the SAN storage end has the volume of host information binding corresponding with the port information;
Described the corresponding host information of the port information is deleted from the storage end if it is not, then executing.
A kind of SAN storage volume carry system provided by the embodiments of the present application is applied to automatic carry tool of unloading, the system
System includes: order line processing module, host interaction process module and storage interaction process module;
The order line processing module sends the first carry and requests to the host for the mounting instructions in response to volume
Interaction process module;It is also used to after the port information for obtaining host, sends the second carry and request to the storage interaction process
Module;The mounting instructions carry the information of host mount point and volume, and the first carry request carries the host mount point
With the information of the volume, the second carry request carries the information of the port information and the volume;
The host interaction process module returns to the port information to institute for requesting in response to first carry
State order line processing module;It is also used to the information according to the volume, in SAN storage end by the corresponding volume of the information of the volume and institute
Host information is stated to be bound;Execute scanning motion in the operating system of the host, find on the host with the volume
Corresponding facility information;The corresponding equipment of the facility information is mounted to the specified host file system of the host mount point
On path;
The storage interaction process module, for being requested in response to second carry, according to the port information in institute
It states SAN storage end and creates corresponding host information;According to the information of the volume, in the SAN storage end by the information of the volume
Corresponding volume is bound with the host information.
Optionally,
The host interaction process module, specifically for judging whether there is file system in the corresponding equipment of the facility information
System;If so, the corresponding equipment of the facility information is mounted on the specified host file system path of host mount point;If
It is no, then after creating file system, the corresponding equipment of the facility information is mounted to the specified Hosts file system of host mount point
It unites on path.
Optionally,
The host interaction process module, the carry option judgement for being also used to carry in being requested according to second carry are
No needs are formatted processing to the corresponding equipment of the facility information;The mounting instructions carry the carry option;If
It is that after the corresponding equipment of the facility information is then formatted processing, the corresponding equipment of the facility information is mounted to
On the specified host file system path of host mount point.
A kind of SAN storage volume uninstalling system provided by the embodiments of the present application is applied to automatic carry tool of unloading, the system
System includes: order line processing module, host interaction process module and storage interaction process module;
The order line processing module sends the first unloading command to the host for the unloading request in response to volume
Interaction process module;It is also used to after obtaining the port information of information and host of volume, sends the second unloading command and deposited to described
Store up interaction process module;The unloading request carries host mount point, and first unloading command carries the host mount point,
Second unloading command carry the volume information and the port information, the information of the volume is according to the host mount point
It obtains or is obtained from unloading request;
The host interaction process module, for returning to the port information to institute in response to first unloading command
State order line processing module;It is also used to unload the equipment on the specified host file system path of the host mount point;
The storage interaction process module is used in response to second unloading command, will according to the information of the volume
The corresponding host information of SAN storage end volume corresponding with the information of the volume is unbinded;The port information is corresponding
Host information deleted from the SAN storage end.
Optionally,
The storage interaction process module, specifically for judging whether the SAN storage end has and the port information pair
The volume for the host information binding answered;If it is not, then the corresponding host information of the port information is deleted from the storage end.
A kind of automatic carry tool of unloading provided by the embodiments of the present application, including as SAN provided by the above embodiment is stored
Be wrapping in loading system any one and such as any one in SAN storage volume uninstalling system provided by the above embodiment.
Compared with prior art, the application has at least the following advantages:
In the embodiment of the present application, the port information of host side is obtained using the parameter that mounting instructions carry, and stored
End creates corresponding host information, and specified volume and the host information are bound, and then makes the test in host side scanning in host
The file system mounted specified directory to host side on volume is realized the automatic carry of SAN storage volume by the correspondence equipment at end.
And the port information of host side is obtained using the parameter that unloading command carries, by the file system on volume from the specified mesh of host side
Record unloading will roll up after the corresponding route deletion of host side, unbind host information and volume in SAN storage end, deletes
Host information realizes the automatic unloading of SAN storage volume.Pass through the automatic carry of SAN storage volume provided by the embodiments of the present application, unloading
Method and system can reduce the operating procedure of administrator, reduce the knowledge threshold of administrator, increase the efficiency of management, and avoid
Maloperation bring potential problems.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The some embodiments recorded in application, for those of ordinary skill in the art, without creative efforts,
It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is a kind of flow diagram of SAN storage volume hanging method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another SAN storage volume hanging method provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of SAN storage volume discharging method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another SAN storage volume discharging method provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of SAN storage volume carry system provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of SAN storage volume uninstalling system provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only this
Apply for a part of the embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art exist
Every other embodiment obtained under the premise of creative work is not made, shall fall in the protection scope of this application.
It should be appreciated that in this application, " at least one (item) " refers to one or more, and " multiple " refer to two or two
More than a."and/or" indicates may exist three kinds of relationships, for example, " A and/or B " for describing the incidence relation of affiliated partner
It can indicate: only exist A, only exist B and exist simultaneously tri- kinds of situations of A and B, wherein A, B can be odd number or plural number.Word
Symbol "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or"." at least one of following (a) " or its similar expression, refers to
Any combination in these, any combination including individual event (a) or complex item (a).At least one of for example, in a, b or c
(a) can indicate: a, b, c, " a and b ", " a and c ", " b and c ", or " a and b and c ", and wherein a, b, c can be individually, can also
To be multiple.
The volume that current SAN storage equipment provides, in host side in use, it is generally necessary to administrator creates host in storage end
Information, bound host port information, such as the port FC or Internet Small Computer Systems Interface (Internet Small
Computer System Interface, iSCSI) starter identity, and corresponding volume and the host information are tied up
It is fixed, upper corresponding volume then, which is stored, in host side scanning formats on volume then according to whether being used with filesystem manner
File system, and will be file system mounted in host file system on volume, do not needing in use, administrator need will volume
On file system unloaded from host file system, equipment is deleted from host side, and in storage will volume with
Binding information between host is unbinded, and host information is deleted in storage end.It is higher that this requires administrator to have
The working efficiency of technical level, administrator is low, and there is mistake and use the possibility that various potential problems occur caused by order.
For this purpose, the embodiment of the present application provides a kind of SAN storage volume carry, discharging method and system, it can be realized SAN and deposit
Carry or the unloading for storing up volume, effectively reduce the knowledge threshold of administrator, increase the working efficiency of administrator, and avoid due to mistake
Accidentally using various potential problems caused by ordering.
Based on above-mentioned thought, in order to make the above objects, features, and advantages of the present application more apparent, below with reference to
Attached drawing is described in detail the specific embodiment of the application.
Referring to Fig. 1, which is a kind of flow diagram of SAN storage volume hanging method provided by the embodiments of the present application.
SAN storage volume hanging method provided by the embodiments of the present application, is applied to automatic carry tool of unloading, and method includes such as
Lower step S101-S104.
S101: in response to the mounting instructions of volume, the port information of host is obtained, and according to port information in SAN storage end
Create corresponding host information.
In the embodiment of the present application, the mounting instructions of volume can be triggered by users such as administrators, utilize user interface
The typing for carrying out carry parameter can trigger SAN storage volume hanging method provided by the embodiments of the present application, realize SAN storage volume
Automatic carry, reduce the knowledge threshold of administrator, increase the working efficiency of administrator, and avoid due to mistake using order lead
The various potential problems caused.As an example, the parameter (i.e. the parameter of mounting instructions carrying) of user's typing includes at least:
The access path of SAN storage end, to carry volume information (such as the title and/or identity of volume) and host mount point.?
In some possible implementations, according to the configuration of SAN storage end, the parameter that mounting instructions carry can also include: SAN storage
The access mandate information at end.
It, can be straight when receiving mounting instructions since automatic carry tool of unloading is generally configured on a host
The port information that host is obtained from host side is connect, then, the access path of the SAN storage end carried using mounting instructions is to SAN
Storage end accesses, and is created in the corresponding host information of port information.
S102: according to the information of the volume carried in mounting instructions, in SAN storage end by the corresponding volume of the information of volume and host
Information is bound.
In the embodiment of the present application, the information of volume refers to the mark for the volume for it is expected to be bound with host in SAN storage end
Information is known, to indicate to carry out the volume of carry.The information of volume specifically can be the title of volume and/or the identity (ID) of volume etc.,
The application is to this without limiting.
S103: executing scanning motion in the operating system of host, finds facility information corresponding with volume on host.
After volume is bound with host information, scanning motion is executed by the operating system to host, can find to lead
Facility information corresponding with volume on machine can know equipment corresponding with volume on host using the facility information.
S104: the corresponding equipment of facility information is mounted on the specified host file system path of host mount point.
In the embodiment of the present application, host mount point is used to indicate the carry address of volume, i.e. carry is post-rolled on host
System path will be rolled up after corresponding equipment is mounted to specified host system path, that is, be realized to the extension rolled up in SAN storage end
It carries.
In some possible implementations of the embodiment of the present application, as shown in Fig. 2, can also include: after step S103
S201: judge whether there is file system in the corresponding equipment of facility information;If so, thening follow the steps S104;If it is not,
Then follow the steps S202.
S202: after creating file system in the corresponding equipment of facility information, step S104 is executed.
It is understood that need to have file system in corresponding equipment for the normal use for guaranteeing volume, therefore, when
When not having file system in equipment, after needing first to create file system in equipment, SAN storage end is realized carrying out step S104
The carry of middle volume.
In some possible implementations of the embodiment of the present application, when having file system in the corresponding equipment of facility information
When, this method can also include:
Judge whether to need to carry out format to the corresponding equipment of facility information according to the carry option carried in mounting instructions
Change processing;If so, executing step S104 after the corresponding equipment of facility information is formatted processing.
In some possible implementations, mounting instructions can also include the parameters such as carry option, such as the file on volume
System type etc., the application is to this without limiting.
In the embodiment of the present application, the port information of host side is obtained using the parameter that mounting instructions carry, and stored
End creates corresponding host information, and specified volume and the host information are bound, and then makes the test in host side scanning in host
The file system mounted specified directory to host side on volume is realized the automatic carry of SAN storage volume by the correspondence equipment at end,
The operating procedure that administrator can be reduced reduces the knowledge threshold of administrator, increases the efficiency of management, and avoid maloperation bring
Potential problems.
Referring to Fig. 3, which is a kind of flow diagram of SAN storage volume discharging method provided by the embodiments of the present application.
SAN storage volume discharging method provided by the embodiments of the present application, is applied to automatic carry tool of unloading, and this method includes
Following steps S301-S303.
S301: the unloading in response to volume is requested, the equipment on the specified host file system path of unloading host mount point.
In the embodiment of the present application, the unloading command of volume can be triggered by users such as administrators, utilize user interface
The typing for carrying out uninstall parms can trigger SAN storage volume discharging method provided by the embodiments of the present application, realize SAN storage volume
Automatic unloading, reduce the knowledge threshold of administrator, increase the working efficiency of administrator, and avoid due to mistake using order lead
The various potential problems caused.As an example, the parameter (i.e. the parameter of unloading command carrying) of user's typing includes at least:
The access path and host mount point of SAN storage end.In some possible implementations, according to the configuration of SAN storage end, hang
Carry the access mandate information that the parameter that instruction carries can also include: SAN storage end.It can be known according to host mount point and be wrapping with
The host file system of load gets off the device uninstallation of carry thereon.
In some possible implementations, the equipment under unloading can be the equipment after multipath polymerization, therefore, right
When equipment is unloaded, first the equipment after multipath polymerization is unloaded, it then will be after the multipath polymerization under unloading
It is deleted from host in the corresponding all paths of equipment.
S302: according to the information of the volume of acquisition, the corresponding host of SAN storage end volume corresponding with the information of volume is believed
Breath is unbinded.
In the embodiment of the present application, the information of volume refers to the mark for the volume for it is expected to be unbinded with host in SAN storage end
Information is known, to indicate the volume unloaded.The information of volume specifically can be the title of volume and/or the identity (ID) of volume etc.,
The application is to this without limiting.In practical application, the host mount point that the information of volume can be carried according to unloading request is obtained
Or it is directly obtained from unloading request by user's typing.
S303: after the port information for obtaining host, the corresponding host information of port information is deleted from SAN storage end.
In the embodiment of the present application, it since automatic carry tool of unloading is generally configured on a host, is receiving
The port information of host can be directly obtained when to unloading command from host side.It should be noted that the port information of host can
To be directly obtained after receiving unloading command, the corresponding host information of port information can also deleted from SAN storage end
Any time executes before, and the embodiment of the present application executes sequence to it without limiting.
In some possible implementations of the embodiment of the present application, as shown in figure 4, obtain host port information it
Afterwards, this method can also include:
S304: judge whether SAN storage end has the volume of host information binding corresponding with port information;If it is not, then executing
Step S303.
In the embodiment of the present application, the port information that host side is obtained using the parameter that unloading command carries, will be on volume
File system is unloaded from the specified directory of host side, will be rolled up after the corresponding route deletion of host side, will be led in SAN storage end
Machine information is unbinded with volume, is deleted host information, is realized the automatic unloading of SAN storage volume.It is provided by the embodiment of the present application
The automatic carry of SAN storage volume, discharging method and system, the operating procedure of administrator can be reduced, reduce the knowledge of administrator
Threshold increases the efficiency of management, and avoids maloperation bring potential problems.
The SAN storage volume hanging method provided based on the above embodiment, the embodiment of the present application also provides a kind of SAN storages
It is wrapping with loading system.
Referring to Fig. 5, which is a kind of flow diagram of SAN storage volume carry system provided by the embodiments of the present application.
SAN storage volume carry system provided by the embodiments of the present application is applied to automatic carry tool of unloading, comprising: order
Row processing module 501, host interaction process module 502 and storage interaction process module 503;
Order line processing module 501 sends the first carry and requests to host interaction for the mounting instructions in response to volume
Manage module 502;It is also used to after the port information for obtaining host, sends the second carry and request to storage interaction process module 503;
Mounting instructions carry the information of host mount point and volume, and the request of the first carry carries the information of host mount point and volume, and second hangs
Carry the information that request carries port information and volume;
In practical application, existing stock of knowledge is utilized for convenience of administrator, the order line of order line processing module 501
Parameter and interactive form can follow the general carry unloading command forms of each platform.
Host interaction process module 502 returns to port information to order line and handles mould for requesting in response to the first carry
Block 501;It is also used to the information according to volume, binds the corresponding volume of the information of volume with host information in SAN storage end;In master
Scanning motion is executed in the operating system of machine, finds facility information corresponding with volume on host;By the corresponding equipment of facility information
It is mounted on the specified host file system path of host mount point;
Interaction process module 503 is stored, for being requested in response to the second carry, is created according to port information in SAN storage end
Build corresponding host information;According to the information of volume, the corresponding volume of the information of volume is tied up with host information in SAN storage end
It is fixed.
In some possible implementations of the embodiment of the present application, host interaction process module 502 specifically can be used for sentencing
Whether there is file system in the disconnected corresponding equipment of facility information;It is hung if so, the corresponding equipment of facility information is mounted to host
On the specified host file system path of loading point;If it is not, the corresponding equipment of facility information is mounted to after then creating file system
On the specified host file system path of host mount point.
In some possible implementations of the embodiment of the present application, host interaction process module 502 can be also used for basis
The carry option carried in the request of second carry judges whether to need to be formatted processing to the corresponding equipment of facility information;It hangs
It carries instruction and carries carry option;If so, after the corresponding equipment of facility information is formatted processing, facility information is corresponding
Equipment be mounted on the specified host file system path of host mount point.
In the embodiment of the present application, the port information of host side is obtained using the parameter that mounting instructions carry, and stored
End creates corresponding host information, and specified volume and the host information are bound, and then makes the test in host side scanning in host
The file system mounted specified directory to host side on volume is realized the automatic carry of SAN storage volume by the correspondence equipment at end,
The operating procedure that administrator can be reduced reduces the knowledge threshold of administrator, increases the efficiency of management, and avoid maloperation bring
Potential problems.
The SAN storage volume discharging method provided based on the above embodiment, the embodiment of the present application also provides a kind of SAN storages
Roll up uninstalling system.
Referring to Fig. 6, which is a kind of structural schematic diagram of SAN storage volume uninstalling system provided by the embodiments of the present application.
SAN storage volume uninstalling system provided by the embodiments of the present application is applied to automatic carry tool of unloading, comprising: order
Row processing module 601, host interaction process module 602 and storage interaction process module 603;
Order line processing module 601 is sent at the first unloading command to host interaction for the unloading request in response to volume
Manage module 602;It is also used to after obtaining the port information of information and host of volume, sends at the second unloading command to storage interaction
Manage module 603;Unloading request carries host mount point, and the first unloading command carries host mount point, and the second unloading command carries
The information of the information and port information of volume, volume is obtained according to host mount point or is obtained from unloading request;
Host interaction process module 602, for returning to port information to order line and handling mould in response to the first unloading command
Block 601;It is also used to unload the equipment on the specified host file system path of host mount point;
Store interaction process module 603, in response to the second unloading command, according to the information of volume, by SAN storage end with
The corresponding host information of the corresponding volume of the information of volume is unbinded;The corresponding host information of port information is stored from SAN
It deletes at end.
In some possible implementations of the embodiment of the present application, interaction process module 603 is stored, specifically can be used for sentencing
Whether disconnected SAN storage end has the volume of host information binding corresponding with port information;If it is not, then by the corresponding host of port information
Information is deleted from storage end.
In the embodiment of the present application, the port information that host side is obtained using the parameter that unloading command carries, will be on volume
File system is unloaded from the specified directory of host side, will be rolled up after the corresponding route deletion of host side, will be led in SAN storage end
Machine information is unbinded with volume, is deleted host information, is realized the automatic unloading of SAN storage volume.It is provided by the embodiment of the present application
The automatic carry of SAN storage volume, discharging method and system, the operating procedure of administrator can be reduced, reduce the knowledge of administrator
Threshold increases the efficiency of management, and avoids maloperation bring potential problems.
The SAN storage volume hanging method and system and SAN storage volume discharging method and system provided based on the above embodiment,
The embodiment of the present application also provides a kind of automatic carry tools of unloading, including SAN storage volume carry provided by the above embodiment system
Any one in system and any one in SAN storage volume uninstalling system provided by the above embodiment.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment emphasis is said
Bright is the difference from other embodiments, and the same or similar parts in each embodiment may refer to each other.For reality
For applying system or device disclosed in example, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, it is related
Place is referring to method part illustration.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The above is only the preferred embodiment of the application, not makes any form of restriction to the application.Though
Right the application has been disclosed in a preferred embodiment above, however is not limited to the application.It is any to be familiar with those skilled in the art
Member, in the case where not departing from technical scheme ambit, all using the methods and technical content of the disclosure above to the application
Technical solution makes many possible changes and modifications or equivalent example modified to equivalent change.Therefore, it is all without departing from
The content of technical scheme, any simple modification made to the above embodiment of the technical spirit of foundation the application are equal
Variation and modification, still fall within technical scheme protection in the range of.
Claims (11)
1. a kind of SAN storage volume hanging method, which is characterized in that be applied to automatic carry tool of unloading, which comprises
In response to the mounting instructions of volume, the port information of host is obtained, and according to the port information in the creation pair of SAN storage end
The host information answered;
According to the information of the volume carried in the mounting instructions, the SAN storage end by the corresponding volume of the information of the volume with
The host information is bound;
Scanning motion is executed in the operating system of the host, finds facility information corresponding with the volume on the host;
The corresponding equipment of the facility information is mounted on the specified host file system path of host mount point;The carry
Instruction carries the host mount point.
2. the method according to claim 1, wherein equipment corresponding with the volume on the discovery host
Information, later further include:
Judge whether there is file system in the corresponding equipment of the facility information;
If so, execution is described to be mounted to the specified host file system of host mount point for the corresponding equipment of the facility information
On path;
If it is not, after then creating file system, executes and described the corresponding equipment of the facility information is mounted to host mount point refers to
On fixed host file system path.
3. method according to claim 1 or 2, which is characterized in that when having file in the corresponding equipment of the facility information
When system, the method also includes:
Judge whether to need to carry out the corresponding equipment of the facility information according to the carry option carried in the mounting instructions
Formatting processing;
If so, being executed described by the facility information pair after the corresponding equipment of the facility information is formatted processing
The equipment answered is mounted on the specified host file system path of host mount point.
4. a kind of SAN storage volume discharging method, which is characterized in that be applied to automatic carry tool of unloading, which comprises
In response to the unloading request of volume, the equipment on the specified host file system path of host mount point is unloaded;The unloading
Request carries the host mount point;
According to the information of the volume of acquisition, by the corresponding host information of SAN storage end volume corresponding with the information of the volume into
Row unbundlings;The information of the volume is obtained according to the host mount point or is obtained from unloading request;
After the port information for obtaining the host, the corresponding host information of the port information is deleted from the SAN storage end
It removes.
5. according to the method described in claim 4, it is characterized in that, the port information for obtaining the host, is also wrapped later
It includes:
Judge whether the SAN storage end has the volume of host information binding corresponding with the port information;
Described the corresponding host information of the port information is deleted from the storage end if it is not, then executing.
6. a kind of SAN storage volume carry system, which is characterized in that it is applied to automatic carry tool of unloading, the system comprises: life
Enable row processing module, host interaction process module and storage interaction process module;
The order line processing module sends the first carry and requests to host interaction for the mounting instructions in response to volume
Processing module;It is also used to after the port information for obtaining host, sends the second carry and request to the storage interaction process module;
The mounting instructions carry the information of host mount point and volume, and the first carry request carries the host mount point and described
The information of volume, the second carry request carry the information of the port information and the volume;
The host interaction process module returns to the port information to the life for requesting in response to first carry
Enable row processing module;It is also used to the information according to the volume, in SAN storage end by the corresponding volume of the information of the volume and the master
Machine information is bound;Scanning motion is executed in the operating system of the host, is found corresponding with the volume on the host
Facility information;The corresponding equipment of the facility information is mounted to the specified host file system path of the host mount point
On;
The storage interaction process module, for being requested in response to second carry, according to the port information in the SAN
Storage end creates corresponding host information;It is in the SAN storage end that the information of the volume is corresponding according to the information of the volume
Volume is bound with the host information.
7. system according to claim 6, which is characterized in that
The host interaction process module, specifically for judging whether there is file system in the corresponding equipment of the facility information;
If so, the corresponding equipment of the facility information is mounted on the specified host file system path of host mount point;If it is not,
After then creating file system, the corresponding equipment of the facility information is mounted to the specified host file system road of host mount point
On diameter.
8. system according to claim 6 or 7, which is characterized in that
The host interaction process module, the carry option for being also used to carry in being requested according to second carry judge whether need
Processing is formatted to the corresponding equipment of the facility information;The mounting instructions carry the carry option;If so,
After the corresponding equipment of the facility information is formatted processing, the corresponding equipment of the facility information is mounted to host and is hung
On the specified host file system path of loading point.
9. a kind of SAN storage volume uninstalling system, which is characterized in that it is applied to automatic carry tool of unloading, the system comprises: life
Enable row processing module, host interaction process module and storage interaction process module;
The order line processing module sends the first unloading command to host interaction for the unloading request in response to volume
Processing module;It is also used to after obtaining the port information of information and host of volume, sends the second unloading command to the storage and hand over
Mutual processing module;The unloading request carries host mount point, and first unloading command carries the host mount point, described
Second unloading command carries the information of the volume and the port information, the information of the volume are obtained according to the host mount point
Or it is obtained from unloading request;
The host interaction process module, for returning to the port information to the life in response to first unloading command
Enable row processing module;It is also used to unload the equipment on the specified host file system path of the host mount point;
The storage interaction process module, for being deposited SAN according to the information of the volume in response to second unloading command
The corresponding host information of the corresponding volume of the information of volume described in Chu Duanyu is unbinded;By the corresponding host of the port information
Information is deleted from the SAN storage end.
10. system according to claim 9, which is characterized in that
The storage interaction process module, specifically for judging it is corresponding with the port information whether the SAN storage end has
The volume of host information binding;If it is not, then the corresponding host information of the port information is deleted from the storage end.
11. a kind of automatic carry tool of unloading, which is characterized in that stored including SAN described in claim 6 to 8 any one
It is wrapping with SAN storage volume uninstalling system described in loading system and claim 9 or 10 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810968426.4A CN109213447A (en) | 2018-08-23 | 2018-08-23 | A kind of SAN storage volume carry, discharging method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810968426.4A CN109213447A (en) | 2018-08-23 | 2018-08-23 | A kind of SAN storage volume carry, discharging method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109213447A true CN109213447A (en) | 2019-01-15 |
Family
ID=64989648
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810968426.4A Pending CN109213447A (en) | 2018-08-23 | 2018-08-23 | A kind of SAN storage volume carry, discharging method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109213447A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111193677A (en) * | 2019-12-17 | 2020-05-22 | 苏州浪潮智能科技有限公司 | Method, device and medium for attributing FC (fiber channel) port of host to corresponding host |
CN111586141A (en) * | 2020-04-30 | 2020-08-25 | 中国工商银行股份有限公司 | Job processing method, device and system and electronic equipment |
CN113342270A (en) * | 2021-06-01 | 2021-09-03 | 中国工商银行股份有限公司 | Volume unloading method and device and electronic equipment |
CN113835857A (en) * | 2021-09-18 | 2021-12-24 | 青岛海信移动通信技术股份有限公司 | External storage device mounting method, device, equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107193499A (en) * | 2017-05-26 | 2017-09-22 | 郑州云海信息技术有限公司 | A kind of moving method and device of container data volume |
CN107704307A (en) * | 2016-08-09 | 2018-02-16 | 中兴通讯股份有限公司 | A kind of management method, device and the terminal of virtual external storage |
US20180089101A1 (en) * | 2016-09-28 | 2018-03-29 | Intel Corporation | Computer product, method, and system to provide a virtual target to virtualize target system storage resources as virtual target storage resources |
-
2018
- 2018-08-23 CN CN201810968426.4A patent/CN109213447A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107704307A (en) * | 2016-08-09 | 2018-02-16 | 中兴通讯股份有限公司 | A kind of management method, device and the terminal of virtual external storage |
US20180089101A1 (en) * | 2016-09-28 | 2018-03-29 | Intel Corporation | Computer product, method, and system to provide a virtual target to virtualize target system storage resources as virtual target storage resources |
CN107193499A (en) * | 2017-05-26 | 2017-09-22 | 郑州云海信息技术有限公司 | A kind of moving method and device of container data volume |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111193677A (en) * | 2019-12-17 | 2020-05-22 | 苏州浪潮智能科技有限公司 | Method, device and medium for attributing FC (fiber channel) port of host to corresponding host |
CN111193677B (en) * | 2019-12-17 | 2022-03-22 | 苏州浪潮智能科技有限公司 | Method, device and medium for attributing FC (fiber channel) port of host to corresponding host |
CN111586141A (en) * | 2020-04-30 | 2020-08-25 | 中国工商银行股份有限公司 | Job processing method, device and system and electronic equipment |
CN111586141B (en) * | 2020-04-30 | 2023-04-07 | 中国工商银行股份有限公司 | Job processing method, device and system and electronic equipment |
CN113342270A (en) * | 2021-06-01 | 2021-09-03 | 中国工商银行股份有限公司 | Volume unloading method and device and electronic equipment |
CN113835857A (en) * | 2021-09-18 | 2021-12-24 | 青岛海信移动通信技术股份有限公司 | External storage device mounting method, device, equipment and medium |
CN113835857B (en) * | 2021-09-18 | 2024-04-02 | 青岛海信移动通信技术有限公司 | Mounting method, device, equipment and medium of external storage equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109213447A (en) | A kind of SAN storage volume carry, discharging method and system | |
US7363454B2 (en) | Storage pool space allocation across multiple locations | |
US8001327B2 (en) | Method and apparatus for managing placement of data in a tiered storage system | |
US7702865B2 (en) | Storage system and data migration method | |
CN105100146B (en) | Date storage method, apparatus and system | |
CN101276366B (en) | Computer system preventing storage of duplicate files | |
CN103324533B (en) | distributed data processing method, device and system | |
CN108509152A (en) | A kind of method and device for realizing the storage of container runtime data | |
US8131671B2 (en) | Uninterrupted data access during the migration of data between physical file systems | |
EP1953636A2 (en) | Storage module and capacity pool free capacity adjustment method | |
CN103761190B (en) | Data processing method and apparatus | |
CN103984641B (en) | A kind of memory space recovery method and its device based on simplify configuration technology | |
US8082325B2 (en) | Data storing system using network | |
US8001324B2 (en) | Information processing apparatus and informaiton processing method | |
CN104899049B (en) | File deletion method and device | |
KR20120102664A (en) | Allocating storage memory based on future use estimates | |
CN106126374B (en) | Method for writing data, method for reading data and device | |
CN107026876B (en) | A kind of file data access system and method | |
CN106201923A (en) | Method for reading and writing data and device | |
US9122689B1 (en) | Recovering performance of a file system post-migration | |
CN109213604A (en) | A kind of management method and device of data source | |
CN103986779A (en) | Application data transmission method, device and terminal equipment | |
US20090006501A1 (en) | Zone Control Weights | |
CN109783462A (en) | A kind of data access method and device based on distributed file system | |
CN107015767A (en) | A kind of NAS device, distributed processing system(DPS) and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190115 |
|
RJ01 | Rejection of invention patent application after publication |