CN101753411B - Method for retrieving disc information of storage area network - Google Patents

Method for retrieving disc information of storage area network Download PDF

Info

Publication number
CN101753411B
CN101753411B CN2008101802199A CN200810180219A CN101753411B CN 101753411 B CN101753411 B CN 101753411B CN 2008101802199 A CN2008101802199 A CN 2008101802199A CN 200810180219 A CN200810180219 A CN 200810180219A CN 101753411 B CN101753411 B CN 101753411B
Authority
CN
China
Prior art keywords
information
disc information
disc
disk
storage area
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.)
Expired - Fee Related
Application number
CN2008101802199A
Other languages
Chinese (zh)
Other versions
CN101753411A (en
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.)
Hunan Zhongke Electric Co., Ltd.
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2008101802199A priority Critical patent/CN101753411B/en
Publication of CN101753411A publication Critical patent/CN101753411A/en
Application granted granted Critical
Publication of CN101753411B publication Critical patent/CN101753411B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for retrieving the disc information of a storage area network, applied to retrieving disc information to a specific disc device when a large amount of data is accessed in the disc device of the storage area network. The retrieving method comprises the following steps of: storing the disc information of the disc device in a buffer zone; detecting the accessing flow of the disc device; obtaining disc information from the buffer zone; analyzing the information attribute of a disc information; when the accessing flow of the disc device reaches a critical threshold value and the information attribute of the disc information is transaction information, extracting corresponding disc information from the buffer zone and replying to a request end; and when the accessing flow of the disc device is lower than the critical threshold value, obtaining corresponding disc information from the disc device so as to update the record in the buffer zone. The invention can reduce access load to the disc device and achieve the purpose of real-time response when the storage area network is accessed in high flow.

Description

The acquisition method of the disc information of storage area network
Technical field
The present invention relates to a kind of acquisition method of disc information, particularly a kind of acquisition method of disc information of storage area network.
Background technology
Enterprise is when construction internal reservoir network; Usually can select directly to connect and store (Direct AccessStorage; Abbreviation DAS), network-attached storage (Network Attached Storage; Be called for short NAS) come collocation each other with the solution of storage data with storage LAN (Storage Area Network is hereinafter to be referred as SAN).
Wherein, SAN is from independent another network that becomes of LAN with many storage devices.The characteristic of SAN is to realize that the high speed of multi-to-multi between server and entity storage device is connected.SAN adopts fiber channel (Fibre Channel) and server to link more, and its connected mode reconnects fibre switch for after installing fiber channel card (FC HBA) in the server, is connected to entity storage device at last again.
The data transfer mode of SAN adopts block (block) level, and the mode to manage concentratedly.Because data are to be stored in the logical unit number (Logic unit number is hereinafter to be referred as LUN), and come the access of keyholed back plate data through lock management person (Lock Manager).So, need just can carry out the access of file through server if desire these data of access.Such practice can avoid same file by the read-write with the time, to reduce the version of different files.
For accelerating to read the speed of file data, can in server, utilize the mode of getting storage (cache) soon to reduce to entity storage device read-write number of times from server.Storing the partial document data in the entity storage facilities in the high-speed cache, it is called gets copy soon.Though it is less to get the formation scale of storage soon, get soon that to store access speed very fast.
Though SAN can provide access usefulness at a high speed, SAN still is subject to the influence of Network Transmission and produces the problem that data packet is jammed.For instance, as SAN again behind the package of receipt source end, SAN can utilize different on-line communication (session) that the data packet that is received is handled.Though this practice provides a kind of parallel processing mode.But SAN then can cause single on-line communication the phenomenon of traffic congestion to occur if effectively when the distribute data package is handled in each on-line communication.
Summary of the invention
In view of above problem; Main purpose of the present invention is to provide a kind of acquisition method of disc information of storage area network; The disk set that is applied to storage area network (storage area network) is in a large number by access data the time, to particular disk device acquisition disc information.
For reaching above-mentioned purpose; The acquisition method of the disc information of the disclosed storage area network of the present invention may further comprise the steps: judge whether deposited disc information in the buffering area; Do not deposit disc information if having in this buffering area, then obtain a disc information of a disk set; The disc information of disk set is deposited in the buffering area; Detect the access flow of disk set; From buffering area, obtain disc information; Set critical threshold value; Analyze the information attribute of disc information; When the information attribute that reaches critical threshold value and disc information when the access flow of disk set is unusual action information; Then by reading corresponding this disc information in the buffering area and it being replied to this request end, wait for after the access flow is less than critical threshold value again reading disk information and upgrade the disc information in the buffering area.
According to embodiments of the invention, when the high flow capacity access, can reduce access load to disk set for storage area network.And according to different disc informations, from the buffering area of disk set, extract corresponding information response again, to reach the target of real-time response to the request end.
About characteristic of the present invention and real the work, cooperate diagram to make most preferred embodiment now and specify as follows.
Description of drawings
Fig. 1 is a structural representation of the present invention;
Fig. 2 is the operation workflow sketch map of unusual action information update module of the present invention;
Fig. 3 is the detailed operation sketch map of information attribute;
Fig. 4 is the running sketch map of fix information update module.
Wherein, Reference numeral:
110 request ends, 120 storage area networks
121 main disc information module 122 flow detection modules
123 fix information update module, 124 unusual action information update module
125 buffering areas
Embodiment
Please refer to shown in Figure 1ly, it is a structural representation of the present invention.In structure of the present invention, have request end 110 and storage area network 120 at least.Request end 110 can be personal computer or other calculator device to storage area network 120 transmission requests.In storage area network 120 of the present invention, also have main disc information module 121, flow detection module 122, fix information update module 123, unusual action information update module 124, with buffering area 125.Main disc information module 121 is in order to provide each item disc information in the storage area network to the request end.Buffering area 125 is connected between main disc information module 121, fix information update module 123 and the unusual action information update module 124.Buffering area 125 is in order to deposit the disc information of storage area network.Fix information update module 123 is in order to the fix information of stored disk device.Wherein, fix information be respectively disk set sequence number, disk path, magnetic track quantity, number of sectors, disk size or self-monitoring analysis report (Self-Monitoring AnalysisReporting Technology, S.M.A.R.T.).In other words, fix information is not for changing the attribute information that causes change because of the entity of disk set.For example, to storage area network 120 increase newly/when removing disk set, such action can change the sum of disk set.Therefore the sum of number of disks is a fix information with regard to not belonging to, but belongs to unusual action information.Unusual action information update module 124 is in order to the unusual action information of stored disk device.Wherein, unusual action information be that hot plug disk set, disk set read-write failure, the flying height of creating the magnetic head of redundant array of inexpensive disk, disk set, data output usefulness occur, rotate start-up time, reconfigure sector data, seek fault rate under normal condition, hunting time usefulness, rotation trial technology or disk tester number of retries.
Please refer to shown in Figure 2ly, it is the operation workflow sketch map of unusual action information update module of the present invention.Include the following step in the operation workflow of unusual action information update module 124 in the present invention:
Set critical threshold value (step S210).Critical threshold value can be according to the access flow of storage area network 120 as the foundation of setting.For instance, total access flow of storage area network 120 is 1 (gigabits/sec), and setting its critical threshold value is 80%.In other words, when the access load of storage area network 120 greater than 800 (megabytes/sec), then represent the access flow to surpass the critical threshold value that sets.
Judge and whether deposited disc information (step S220) in the buffering area;
Do not deposit disc information if having in the buffering area, then obtain the disc information of disk set, and it is deposited to buffering area (step S221);
From buffering area, obtain disc information (step S230), it is according to the information request of obtain from the request end, in order to the disc information of acquisition disk set;
The flow detection module judges whether the access flow reaches critical threshold value (step S240);
When the access flow of disk set does not reach critical threshold value, then from disk set, capture corresponding disc information, and reply examining report and give request end (step S250);
When the access flow of disk set reaches critical threshold value, from buffering area, read corresponding disc information, and according to corresponding handle (the step S260) of the information attribute decision of disc information; And
Disc information according to step S250 and step S260 are obtained upgrades the reformation disc information (step S271) in the buffering area.At last, set up disk error file (step S272), in order to write down the error message of each disk.
Further comprising the steps of in step S250, and please cooperate shown in Figure 3ly, it is the detailed operation sketch map of information attribute: the information attribute of judge disk information (step S251).When the information attribute that reaches critical threshold value and disc information when the access flow of disk set is unusual action information; Then from buffering area, obtain the unusual action information of disk set, and when access flow subcritical threshold value, upgrade the record (step S252) of buffering area according to new unusual action information.When the information attribute that reaches critical threshold value and disc information when the access flow of disk set is fix information, then directly by reading required disc information in the disk set and it being returned back to request end (step S253).
In step S260 of the present invention, can also obtain the unusual action information of disk set through the mode of finger daemon (daemon).For at the access flow during, upgrading unusual action information in the buffering area 125 less than critical threshold value, please cooperate with reference to shown in Figure 4, it is the running sketch map of fix information update module.Judge whether to obtain the fix information (step S2611) of disk; Under the situation of obtaining fix information, judge whether the access flow reaches critical threshold value (step S2612); When the access flow surpasses critical threshold value, then obtain the fix information of disk set and deposit it in the buffering area (step S2613).
Various embodiment of the present invention when the high flow capacity access, can reduce the access load to disk set for storage area network 120.And according to different disc informations, from the buffering area 125 of disk set, extract corresponding information response to request end 110 again, use the target of the response that reaches real-time.

Claims (5)

1. the acquisition method of the disc information of a storage area network, the disk set that is applied to storage area network to particular disk device acquisition disc information, is characterized in that this acquisition method includes in a large number by access data the time:
Judge whether deposited disc information in the buffering area, do not deposit disc information, then obtain a disc information of a disk set if having in this buffering area;
The disc information of this disk set is deposited in the buffering area;
Detect the access flow of this disk set;
Set a critical threshold value;
From buffering area, obtain disc information, it is according to the information request from a request end, in order to capture this disc information of this disk set;
Analyze an information attribute of this disc information; And
When this information attribute that reaches this critical threshold value and this disc information when the access flow of this disk set is a unusual action information; Then, wait for after the access flow is less than this critical threshold value and read this disc information again and upgrade this disc information in this buffering area by reading corresponding this disc information in this buffering area and it being replied to this request end.
2. the acquisition method of the disc information of storage area network as claimed in claim 1 is characterized in that, the fix information in this disc information is disk sequence number, disk path, magnetic track quantity, number of sectors, disk size or self-monitoring analysis report.
3. the acquisition method of the disc information of storage area network as claimed in claim 1; It is characterized in that; When the access flow of this disk set does not reach this critical threshold value, then according to information request by the corresponding information of acquisition in this disk set, and reply examining report and give this request end.
4. the acquisition method of the disc information of storage area network as claimed in claim 1; It is characterized in that; When this information attribute that reaches this critical threshold value and this disc information when the access flow of this disk set is a fix information, this disc information of acquisition and reply examining report and give this request end from this buffering area then.
5. like the acquisition method of the disc information of claim 3 or 4 described storage area networks, it is characterized in that, reply again and more comprise after this examining report is given the request end:
Set up a disk error file, in order to write down the error message of each this disk.
CN2008101802199A 2008-11-28 2008-11-28 Method for retrieving disc information of storage area network Expired - Fee Related CN101753411B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101802199A CN101753411B (en) 2008-11-28 2008-11-28 Method for retrieving disc information of storage area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101802199A CN101753411B (en) 2008-11-28 2008-11-28 Method for retrieving disc information of storage area network

Publications (2)

Publication Number Publication Date
CN101753411A CN101753411A (en) 2010-06-23
CN101753411B true CN101753411B (en) 2012-04-18

Family

ID=42479844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101802199A Expired - Fee Related CN101753411B (en) 2008-11-28 2008-11-28 Method for retrieving disc information of storage area network

Country Status (1)

Country Link
CN (1) CN101753411B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511799B (en) * 2014-09-26 2018-10-02 先智云端数据股份有限公司 System and method for optimizing storage facilities configuration

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7136251B2 (en) * 2003-12-24 2006-11-14 Matsushita Electric Industrial, Co., Ltd. Methods for WORF improvement in conditional servowriting
CN101098476A (en) * 2007-07-12 2008-01-02 刘西红 Method of optimizing video information output of data reading in magnetic disk array

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7136251B2 (en) * 2003-12-24 2006-11-14 Matsushita Electric Industrial, Co., Ltd. Methods for WORF improvement in conditional servowriting
CN101098476A (en) * 2007-07-12 2008-01-02 刘西红 Method of optimizing video information output of data reading in magnetic disk array

Also Published As

Publication number Publication date
CN101753411A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
US8521986B2 (en) Allocating storage memory based on future file size or use estimates
US8019790B2 (en) System and method of dynamically changing file representations
CN103999058B (en) Tape drive system server
US8423739B2 (en) Apparatus, system, and method for relocating logical array hot spots
US8914340B2 (en) Apparatus, system, and method for relocating storage pool hot spots
CA2910211C (en) Object storage using multiple dimensions of object information
US20090228669A1 (en) Storage Device Optimization Using File Characteristics
US9671977B2 (en) Handling data block migration to efficiently utilize higher performance tiers in a multi-tier storage environment
US11687488B2 (en) Directory deletion method and apparatus, and storage server
JP4782825B2 (en) Apparatus, method, and program for selecting data storage destination from a plurality of tape recording devices
US20090132621A1 (en) Selecting storage location for file storage based on storage longevity and speed
CN102215268A (en) Method and device for transferring file data
US11112977B2 (en) Filesystem enhancements for unified file and object access in an object storage cloud
Hsu et al. A novel automated cloud storage tiering system through hot-cold data classification
CN103076993A (en) Storage system and method for concentration type system
CN110147203A (en) A kind of file management method, device, electronic equipment and storage medium
US7409519B2 (en) Synchronizing logical systems
CN101753411B (en) Method for retrieving disc information of storage area network
US9542326B1 (en) Managing tiering in cache-based systems
US8370589B1 (en) System and method for re-use of writeable PPIs
US9454493B1 (en) Systems and methods for wiped storage devices
CN105827681A (en) Backup data transmission method under SAN (Storage Area Network)
CN114023367B (en) Hard disk pressure test method, system, terminal and storage medium
CN117032596B (en) Data access method and device, storage medium and electronic equipment
US11775175B2 (en) Storage system, storage management method, and storage management program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Xiao Peng

Inventor after: Li Aiwu

Inventor after: Xiang Xinxing

Inventor after: Li Yuehua

Inventor after: Fu Haodong

Inventor after: Zou Deyi

Inventor before: Liu Qingbiao

Inventor before: Chen Xuantong

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170405

Address after: Yueyang economic and Technological Development Zone, Yueyang Road, Hunan branch of Industrial Park

Patentee after: Hunan Zhongke Electric Co., Ltd.

Address before: 300193 West Lake Road, Tianjin, No. 38, No.

Patentee before: Inventec Co., Ltd.

Patentee before: Inventec Corporation

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120418

Termination date: 20171128