CN104199926A - File archiving implementation method and device and file access method and device - Google Patents

File archiving implementation method and device and file access method and device Download PDF

Info

Publication number
CN104199926A
CN104199926A CN201410441442.XA CN201410441442A CN104199926A CN 104199926 A CN104199926 A CN 104199926A CN 201410441442 A CN201410441442 A CN 201410441442A CN 104199926 A CN104199926 A CN 104199926A
Authority
CN
China
Prior art keywords
file
migration
storage service
service node
primary storage
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.)
Granted
Application number
CN201410441442.XA
Other languages
Chinese (zh)
Other versions
CN104199926B (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.)
BEIJING LIANCHUANG XINAN TECHNOLOGY CO LTD
Original Assignee
BEIJING LIANCHUANG XINAN TECHNOLOGY 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 BEIJING LIANCHUANG XINAN TECHNOLOGY CO LTD filed Critical BEIJING LIANCHUANG XINAN TECHNOLOGY CO LTD
Priority to CN201410441442.XA priority Critical patent/CN104199926B/en
Publication of CN104199926A publication Critical patent/CN104199926A/en
Application granted granted Critical
Publication of CN104199926B publication Critical patent/CN104199926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/119Details of migration of file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (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 provides a file archiving implementation method and device and a file access method and device. The file archiving implementation method comprises the following steps: the migration and archiving control node migrates the files to be migrated in the main storage service node to the LTFS of the tape library equipment based on the migration strategy, and the migration and archiving control node and the main storage service node form a distributed file storage system; the migration and archiving control node receives a file directory generated by the LTFS, wherein the file directory is generated when the file migration is completed; the migration and archiving control node configures the LTFS into an NFS, and adds a sharing path corresponding to a file contained in the LTFS into the file directory as a shared file directory; and the migration archiving control node maps the shared file directory to the main storage service node. According to the scheme, the cross-media migration and filing of the files are realized, the occupation of the disk space of the main storage service node is reduced, and the long-term off-line storage of massive files is realized.

Description

Archive implementation method and device and file access method and device
Technical field
The embodiment of the present invention relates to information management technique field, relates in particular to a kind of archive implementation method and device and file access method and device.
Background technology
Under cloud storage and large data background, unstructured data presents explosive growth trend.For mass file, except meeting memory capacity, performance and extendability, also need to consider periodic access and the file distribution rule of file, effectively realize file migration or archive, to optimize primary storage framework, reduce non-file the taking valuable main memory resource of enlivening.
In field of information management, file migration and archive are a kind of long-term methods of preserving of common data structure optimization and data, have continued to use for many years.Existing archive method, generally to file software or be integrated in migration filing module scanning document structure and the access frequency of backup software by migration, by time strategy, visiting frequency strategy etc. is realized the dynamic circulation of file, thereby reaches the object of archive.
The defect of above-mentioned archive method is: mainly for less file environment, as several TB, tens TB, are not to be applicable to mass file storage environment, mainly deposits restriction both ways:
The first, mass file store environmental data amount is huge, data volume is expanded to hundreds of TB even when a few PB, existing archive method need to scan with the quantity of documents of generating indexes too huge, performance cost is too large, in addition operation system does not have time enough window to tolerate this generic operation, does not therefore possess exploitativeness and operability;
The second, existing archive is all generally for hosted environment independently, realizes based on local file system, and its structure exists closure.
The existing archive method based on distributed file storage system, generally by the accumulation layer of multiple disks is distinguished to high low performance, access frequency and the file life cycle of monitoring file, and the non-file that enlivens is moved to and set disk from the accumulation layer of a disk, thereby reach the object of archive.
The defect of the above-mentioned archive method based on distributed file storage system is: cannot cross over disk, realize the leap from disk to tape library equipment, therefore cannot realize file off-line and long-term preservation.
Summary of the invention
The embodiment of the present invention provides a kind of archive implementation method and device and file access method and device, to realize the filing from disk to tape library equipment of mass file.
First aspect, the embodiment of the present invention provides a kind of archive implementation method, comprising:
Migration file control node is based on migration strategy, by the file migration to be migrated in primary storage service node to the LTFS (linear tape file system) of tape library equipment, wherein, in described primary storage service node, store the descriptor of file to be migrated, described migration file control node and described primary storage service node composition distributed file storage system;
Described migration file control node receives the file directory that described LTFS generates, and wherein said file directory generates in the time completing file migration;
Described LTFS is configured to NFS (Network File System by described migration file control node, network file system(NFS)), and shared path corresponding to the file that described LTFS is comprised add in described file directory, as shared file catalogue;
Described shared file catalogue is mapped to described primary storage service node by described migration file control node.
Second aspect, the embodiment of the present invention provides a kind of archive implement device, comprising:
Transferring module, for based on migration strategy, to the LTFS of tape library equipment, wherein, stores the descriptor of file to be migrated by the file migration to be migrated in primary storage service node in described primary storage service node;
Receiver module, the file directory generating for receiving described LTFS, wherein said file directory generates in the time completing file migration;
Configuration module, for described LTFS is configured to NFS, and shared path corresponding to the file that described LTFS is comprised add in described file directory, as shared file catalogue;
Mapping block, for mapping to described primary storage service node by described shared file catalogue.
The third aspect, the embodiment of the present invention provides a kind of file access method, comprising:
Primary storage service node receives the file access request that client is initiated;
Described primary storage service node is searched the file corresponding with described file access request in shared file catalogue;
If searched successfully, client is returned in the shared path of the file corresponding with described file access request by described primary storage service node, so that described client is according to described shared path, access and the file moving in the LTFS of the tape library equipment that file control node is connected;
Wherein, described shared file catalogue adopts the archive implementation method that any embodiment of the present invention provides to form.
Fourth aspect, the embodiment of the present invention provides a kind of file access device, comprising:
File access request receiving module, the file access request of initiating for receiving client;
First searches module, for search the file corresponding with described file access request in shared file catalogue;
File access module, if for searching successfully, client is returned to in the shared path of the file corresponding with described file access request, so that described client is according to described shared path, access and the file moving in the LTFS of the tape library equipment that file control node is connected;
Wherein, described shared file catalogue adopts the archive implement device that any embodiment of the present invention provides to form.
Archive implementation method and device that the embodiment of the present invention provides, based on distributed file storage system, can realize the storage of mass file, and after the file to be migrated in the primary storage service node in this distributed file storage system of migration file control node determination by distributed file storage system, by the file migration operation of migration file control node, file to be migrated can be moved in the LTFS of tape library equipment from the disk of primary storage service node, realize file across media migration and filing, thereby can reduce taking of disk space to primary storage service node, and the long-term off-line of realizing mass file is preserved, and by the configuration sharing operation of migration file control node, make can obtain corresponding shared path by the shared file catalogue in primary storage service node.
The file access method that the embodiment of the present invention provides and device, the migration file control node by distributed file storage system by the file migration to be migrated in the primary storage service node in this distributed file storage system the LTFS to tape library equipment, and carrying out configuration sharing operation by migration file control node, after making to store the share directory that migrates to the file in LTFS in primary storage service node, in shared file catalogue, search the file corresponding to file access request of initiating with client by primary storage service node, and in the time searching successfully, client is returned to in shared path corresponding this file, thereby making client is the addressable file being stored in tape library equipment according to described shared path, without the scanning of client executing file and index housekeeping, realized file across medium access.
Brief description of the drawings
In order to be illustrated more clearly in the present invention, introduce simply the accompanying drawing of required use in the present invention being done to one below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of a kind of archive implementation method that Fig. 1 a provides for the embodiment of the present invention one;
The structural representation of the applicable archive system of archive implementation method that Fig. 1 b provides by Fig. 1 a;
A kind of in the archive implementation method that Fig. 1 c provides for the embodiment of the present invention one move file control node by the file migration to be migrated in primary storage service node the method flow diagram to the LTFS of tape library equipment;
The structural representation of a kind of archive implement device that Fig. 2 provides for the embodiment of the present invention two;
The process flow diagram of a kind of file access method that Fig. 3 provides for the embodiment of the present invention three;
The process flow diagram of a kind of file access method that Fig. 4 provides for the embodiment of the present invention four;
The structural representation of a kind of file access device that Fig. 5 provides for the embodiment of the present invention five.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the technical scheme in the embodiment of the present invention is described in further detail, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment.Be understandable that; specific embodiment described herein is only for explaining the present invention; but not limitation of the invention; based on the embodiment in the present invention; those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.It also should be noted that, for convenience of description, in accompanying drawing, only show part related to the present invention but not full content.
Embodiment mono-
The process flow diagram of the archive implementation method that Fig. 1 a provides for the embodiment of the present invention one, introduce below in conjunction with Fig. 1 b the archive implementation method that the embodiment of the present invention provides, the method can be carried out by archive implement device, this device is configurable in the distributed file storage system shown in Fig. 1 b, typical in the migration file control node of this distributed file storage system.
For clarity sake, related network element and the file system of archive implementation method below in conjunction with Fig. 1 b, the present embodiment being provided simply introduced.
The related network element device of archive implementation method that the present embodiment provides comprises: migration file control node, primary storage service node and tape library equipment.
Said network element equipment is logical concept, wherein moves file control node and primary storage service node can physically independently arrange, also can be integrated with a physical host in.Tape library equipment is independent of migration file control node and the setting of primary storage service node.
Wherein, by migration file control node binding tape library equipment, be generally by tape library equipment of a migration file control node binding.
The related file system of archive implementation method that the present embodiment provides, comprising: LTFS (linear tape file system) and the NFS (network file system(NFS)) of distributed file storage system, tape library equipment.
Wherein, migration file control node and primary storage service node composition distributed file storage system, wherein, the file of storing in primary storage service node is to be generally stored in the disk of described primary storage service node.
Distributed file storage system refers to that the physical store resource of file system management is not necessarily directly connected on local node, but is connected with node by computer network.In other words, storage file resource in primary storage service node, and primary storage service node is not necessarily integrated in a physical host with migration file control node, but realize primary storage service node and move being connected of file control node by network.
In a distributed file storage system, can comprise multiple primary storage service nodes and at least one migration file control node, for example, in the distributed file storage system of a N node, can comprise N-1 primary storage service node, using N node as migration file control node.For large-scale tape library equipment, according to performance need, can configure multiple migration file control nodes, bind different tape library equipments, thereby can realize file migration and the filing of parallelization.
The built-in LTFS mechanism of tape library equipment forms LTFS in described tape library equipment.LTFS is acknowledged as the technology that a meeting allows tape application recover, and by file directory, allows user can search for the file on tape library equipment, and the flow process of search tape library equipment is the same with disk storage, and LTFS makes the long term archival of file become possibility.
NFS allow system on network with other people share directory and file.By using NFS, client can be accessed the file on far end system as access local file.
Based on the archive implementation method of said network element equipment and the realization of above-mentioned file system, comprising:
Step 110, migration file control node are based on migration strategy, by the file migration to be migrated in primary storage service node to the LTFS of tape library equipment, wherein, in described primary storage service node, store the descriptor of file to be migrated, described migration file control node and described primary storage service node composition distributed file storage system;
This step specifically, by moving file control node based on migration strategy, is determined the file to be migrated in primary storage service node, and carries out across media migration operation, also moves in tape library equipment from the disk of primary storage service node by file to be migrated.
Conventionally, migration strategy generally can be selected taking of the disk resource of some specific file to primary storage service node, and described specific file can be inactive file.
Wherein, migration file control node connects tape library equipment, and described migration file control node logically shows as mechanical arm and driver.
Wherein, before file migration, the descriptor of file to be migrated and file itself is all stored in primary storage service node, after file migration, in primary storage service node, delete file to be migrated, retained the descriptor of this file, itself is stored in this file in tape library equipment.The descriptor of described file is the metadata of file, can comprise the information such as file size and file attribute.
It should be noted that the descriptor that client can be based on described file is initiated file access request.
Step 120, described migration file control node receive the file directory that described LTFS generates, and wherein said file directory generates in the time completing file migration;
This step is specifically in the time completing file migration, and LTFS spanned file catalogue, receives by described migration file control node the file directory that described LTFS sends.
Described LTFS is configured to network file system(NFS) NFS by step 130, described migration file control node, and shared path corresponding to the file that described LTFS is comprised add in described file directory, as shared file catalogue;
This step is specifically carried out configuration sharing by described migration file control node, thinks that the file-sharing between LTFS and the primary storage service node of tape library equipment is prepared.
Described shared file directory stores, in described migration file control node, had both comprised the catalogue that file that described LTFS comprises forms, and comprised again shared path corresponding to file that described LTFS comprises.Wherein LTFS described in shared path point, also, client, after getting described shared path, based on described shared path, can be accessed the file being stored in tape library equipment.
Described shared file catalogue is mapped to described primary storage service node by step 140, described migration file control node.
This step is specifically carried out the map operation of shared file catalogue by migration file control node, make described primary storage service node can view the file directory in described LTFS and described LTFS, and because described shared file catalogue comprises shared path corresponding to file that described LTFS comprises, make client after getting described shared path by primary storage service node, based on described shared path, can access the file being stored in tape library equipment.
The technical scheme of the present embodiment, based on distributed file storage system, can realize the storage of mass file, and after the file to be migrated in the primary storage service node in this distributed file storage system of migration file control node determination by distributed file storage system, by the file migration operation of migration file control node, file to be migrated can be moved in the LTFS of tape library equipment from the disk of primary storage service node, realize file across media migration and filing, thereby can reduce taking of disk space to primary storage service node, and the long-term off-line of realizing mass file is preserved, and by the configuration sharing operation of migration file control node, make can obtain corresponding shared path by the shared file catalogue in primary storage service node.
Refer to Fig. 1 c, as migration file control node by the file migration to be migrated in primary storage service node a kind of concrete embodiment to the LTFS of tape library equipment, can comprise:
Step 111, described migration file control node and described LTFS set up FC (Fibre Channel, optical-fibre channel) connection or SAS (Serial Attached SCSI, serial connecting small computer system interface) connects;
Wherein, SCSI (Small Computer System Interface, small computer system interface) is a kind of universal interface standard of intelligence.
Step 112, connect or SAS connects based on described FC, described migration file control node by the file migration to be migrated in described primary storage service node to described LTFS.
In the present embodiment, described migration strategy comprises following at least one:
If the size of the file in primary storage service node is greater than the first threshold value, using described file as file to be migrated;
If the usage frequency of the file in primary storage service node is greater than the second threshold value, using described file as file to be migrated.
Conventionally, the disk space of primary storage service node is limited.Described migration strategy, is defined as file to be migrated by file being greater than to the big or small file of setting, can reduce taking of the disk space of larger file to primary storage service node; By file lower usage frequency is defined as to file to be migrated, can reduce non-the taking of the disk space of file to primary storage service node of enlivening.
Embodiment bis-
Refer to Fig. 2, the structural representation of a kind of archive implement device providing for the embodiment of the present invention two, this device can be disposed in the migration file control node of distributed file storage system as shown in Figure 1 b.
This device comprises: transferring module 210, receiver module 220, configuration module 230 and mapping block 240.
Wherein, transferring module 210, for based on migration strategy, to the linear tape file system LTFS of tape library equipment, wherein, stores the descriptor of file to be migrated by the file migration to be migrated in primary storage service node in described primary storage service node; The file directory that receiver module 220 generates for receiving described LTFS, wherein said file directory generates in the time completing file migration; Configuration module 230 is for described LTFS is configured to network file system(NFS) NFS, and shared path corresponding to the file that described LTFS is comprised add in described file directory, as shared file catalogue; Mapping block 240 is for mapping to described primary storage service node by described shared file catalogue.
The technical scheme of the present embodiment, based on distributed file storage system, can realize the storage of mass file, and after the file to be migrated in the primary storage service node in this distributed file storage system of migration file control node determination by distributed file storage system, by the file migration operation of migration file control node, file to be migrated can be moved in the LTFS of tape library equipment from the disk of primary storage service node, realize file across media migration and filing, thereby can reduce taking of disk space to primary storage service node, and the long-term off-line of realizing mass file is preserved, and by the configuration sharing operation of migration file control node, make can obtain corresponding shared path by the shared file catalogue in primary storage service node.
In such scheme, transferring module 210 can comprise: linkage unit and migration units.
Wherein, for setting up with described LTFS, Fibre Channel is connected linkage unit or serial connecting small computer system interface SAS connects; Migration units, for connecting based on described FC or SAS connects, by the file migration to be migrated in described primary storage service node to described LTFS.
In such scheme, described migration strategy comprises following at least one:
If the size of the file in primary storage service node is greater than the first threshold value, using described file as file to be migrated;
If the usage frequency of the file in primary storage service node is greater than the second threshold value, using described file as file to be migrated.
The archive implement device that the embodiment of the present invention provides can be carried out the archive implementation method that any embodiment of the present invention provides, and possesses the corresponding functional module of manner of execution and beneficial effect.
Embodiment tri-
Refer to Fig. 3, the process flow diagram of a kind of file access method providing for the embodiment of the present invention three.The file access device that the method for the embodiment of the present invention can be realized by hardware and/or software is carried out, and this implement device is typically and is disposed in the server that distributed document stores service can be provided.The method comprises:
Step 310, primary storage service node receive the file access request that client is initiated;
This step specifically can be by setting up LAN (Local Area Network between client and primary storage service node, LAN (Local Area Network)), client is initiated file access request based on described LAN, and primary storage service node receives described file access request based on described LAN.
Step 320, described primary storage service node are searched the file corresponding with described file access request in shared file catalogue;
If step 330 is searched successfully, client is returned in the shared path of the file corresponding with described file access request by described primary storage service node, so that described client is according to described shared path, access and the file moving in the LTFS of the tape library equipment that file control node is connected;
Wherein, described shared file catalogue adopts the archive implementation method that any embodiment of the present invention provides to form.
It should be noted that, if searched unsuccessfully, show that the file corresponding with described file access request is not stored in the LTFS of tape library equipment.
The technical scheme of the present embodiment, the migration file control node by distributed file storage system by the file migration to be migrated in the primary storage service node in this distributed file storage system the LTFS to tape library equipment, and carrying out configuration sharing operation by migration file control node, after making to store the share directory that migrates to the file in LTFS in primary storage service node, in shared file catalogue, search the file corresponding to file access request of initiating with client by primary storage service node, and in the time searching successfully, client is returned to in shared path corresponding this file, thereby making client is the addressable file being stored in tape library equipment according to described shared path, without the scanning of client executing file and index housekeeping, realized file across medium access.
Embodiment tetra-
Refer to Fig. 4, the process flow diagram of a kind of file access method providing for the embodiment of the present invention four.The method comprises:
Step 410, primary storage service node receive the file access request that client is initiated;
Step 411, described primary storage service node are searched the file corresponding with described file access request in local file catalogue;
It should be noted that, two file system of described primary storage service node management, the LTFS that is tape library equipment, another is the file system of this node self, is also the local file system in this step.Wherein, described primary storage service node is embodied in the management of described LTFS: on the one hand, after file to be migrated is moved out from described primary storage service node, although document body is deleted from described primary storage service node, the descriptor of deleted original is retained in described primary storage service node; On the other hand, store shared file catalogue corresponding to file that described LTFS comprises in described primary storage service node, wherein, described shared file catalogue adopts the archive implementation method that any embodiment of the present invention provides to form.
If step 412 is searched unsuccessfully in local file catalogue, the operation that triggers described primary storage service node search the file corresponding with described file access request in shared file catalogue.
If searched unsuccessfully in local file catalogue, show that the file corresponding with described file access request is not stored in local file system, due to the file migration filing mechanism disposing in distributed file storage system based on migration strategy, now, in shared file catalogue, search the file corresponding with described file access request by triggering described primary storage service node, can improve the success ratio of file access.
It should be noted that, if searched successfully, client is returned in the local file path corresponding with described file access request by described primary storage service node, so that described client is stored in the file in described primary storage service node according to described local file path access.
Step 420, described primary storage service node are searched the file corresponding with described file access request in shared file catalogue;
If step 430 is searched successfully, client is returned in the shared path of the file corresponding with described file access request by described primary storage service node, so that described client is according to described shared path, access and the file moving in the LTFS of the tape library equipment that file control node is connected;
The technical scheme of the present embodiment, the migration file control node by distributed file storage system by the file migration to be migrated in the primary storage service node in this distributed file storage system the LTFS to tape library equipment, and carrying out configuration sharing operation by migration file control node, after making to store the share directory that migrates to the file in LTFS in primary storage service node, in the time getting the file access request of client initiation, first in the local file catalogue of primary storage service node, search the file corresponding with described file access request, and while searching unsuccessfully in local file catalogue, trigger described primary storage service node and in shared file catalogue, search the operation of the file corresponding with described file access request, and in the time searching successfully in shared file catalogue, client is returned to in shared path corresponding this file, thereby making client is the addressable file being stored in tape library equipment according to described shared path, without the scanning of client executing file and index housekeeping, realized file across medium access, improved the success ratio of file access simultaneously.
It should be noted that, in the local file system of the present embodiment with present primary storage service node, search the file corresponding with described file access request, in the time searching unsuccessfully, further in shared file catalogue, searching the file corresponding with described file access request is that example describes.In addition, can also first in shared file catalogue, search, if searched unsuccessfully, further in the local file catalogue of primary storage service node, inquire about, also can be in shared file catalogue and described local file catalogue parallel query, the present embodiment does not limit looked-up sequence.
Embodiment five
Refer to Fig. 5, the structural representation of a kind of file access device providing for the embodiment of the present invention five, this device comprises: file access request receiving module 510, first is searched module 520 and file access module 530.
Wherein, the file access request that file access request receiving module 510 is initiated for receiving client; First searches module 520 for search the file corresponding with described file access request in shared file catalogue; If file access module 530 is for searching successfully, client is returned to in the shared path of the file corresponding with described file access request, so that described client is according to described shared path, access and the file moving in the linear tape file system LTFS of the tape library equipment that file control node is connected;
Wherein, described shared file catalogue adopts the archive implement device that any embodiment of the present invention provides to form.
The technical scheme of the present embodiment, the migration file control node by distributed file storage system by the file migration to be migrated in the primary storage service node in this distributed file storage system the LTFS to tape library equipment, and carrying out configuration sharing operation by migration file control node, after making to store the share directory that migrates to the file in LTFS in primary storage service node, in shared file catalogue, search the file corresponding to file access request of initiating with client by primary storage service node, and in the time searching successfully, client is returned to in shared path corresponding this file, thereby making client is the addressable file being stored in tape library equipment according to described shared path, without the scanning of client executing file and index housekeeping, realized file across medium access.
In such scheme, described device can also comprise: second searches module and trigger module.
Wherein, second searches module for after receiving the file access request of client initiation, searches the file corresponding with described file access request in local file catalogue; If trigger module, for searching unsuccessfully in local file catalogue, triggers the operation of searching the file corresponding with described file access request in shared file catalogue.
The file access device that the embodiment of the present invention provides can be carried out the file access method that any embodiment of the present invention provides, and possesses the corresponding functional module of manner of execution and beneficial effect.
Finally it should be noted that: above each embodiment is only for technical scheme of the present invention is described, but not be limited; In embodiment, preferred embodiment, be not limited, to those skilled in the art, the present invention can have various changes and variation.All any amendments of doing, be equal to replacement, improvement etc., within protection scope of the present invention all should be included within spirit of the present invention and principle.

Claims (10)

1. an archive implementation method, is characterized in that, comprising:
Migration file control node is based on migration strategy, by the file migration to be migrated in primary storage service node to the linear tape file system LTFS of tape library equipment, wherein, in described primary storage service node, store the descriptor of file to be migrated, described migration file control node and described primary storage service node composition distributed file storage system;
Described migration file control node receives the file directory that described LTFS generates, and wherein said file directory generates in the time completing file migration;
Described LTFS is configured to network file system(NFS) NFS by described migration file control node, and shared path corresponding to the file that described LTFS is comprised add in described file directory, as shared file catalogue;
Described shared file catalogue is mapped to described primary storage service node by described migration file control node.
2. method according to claim 1, is characterized in that, migration file control node to the LTFS of tape library equipment, comprises the file migration to be migrated in primary storage service node:
Described migration file control node and described LTFS set up that Fibre Channel is connected or serial connecting small computer system interface SAS connects;
Connect or SAS connects based on described FC, described migration file control node by the file migration to be migrated in described primary storage service node to described LTFS.
3. method according to claim 1 and 2, is characterized in that, described migration strategy comprises following at least one:
If the size of the file in primary storage service node is greater than the first threshold value, using described file as file to be migrated;
If the usage frequency of the file in primary storage service node is greater than the second threshold value, using described file as file to be migrated.
4. an archive implement device, is characterized in that, comprising:
Transferring module, for based on migration strategy, to the linear tape file system LTFS of tape library equipment, wherein, stores the descriptor of file to be migrated by the file migration to be migrated in primary storage service node in described primary storage service node;
Receiver module, the file directory generating for receiving described LTFS, wherein said file directory generates in the time completing file migration;
Configuration module, for described LTFS is configured to network file system(NFS) NFS, and shared path corresponding to the file that described LTFS is comprised add in described file directory, as shared file catalogue;
Mapping block, for mapping to described primary storage service node by described shared file catalogue.
5. device according to claim 4, is characterized in that, transferring module comprises:
Linkage unit, for setting up with described LTFS, Fibre Channel is connected or serial connecting small computer system interface SAS connects;
Migration units, for connecting based on described FC or SAS connects, by the file migration to be migrated in described primary storage service node to described LTFS.
6. according to the device described in claim 4 or 5, it is characterized in that, described migration strategy comprises following at least one:
If the size of the file in primary storage service node is greater than the first threshold value, using described file as file to be migrated;
If the usage frequency of the file in primary storage service node is greater than the second threshold value, using described file as file to be migrated.
7. a file access method, is characterized in that, comprising:
Primary storage service node receives the file access request that client is initiated;
Described primary storage service node is searched the file corresponding with described file access request in shared file catalogue;
If searched successfully, client is returned in the shared path of the file corresponding with described file access request by described primary storage service node, so that described client is according to described shared path, access and the file moving in the linear tape file system LTFS of the tape library equipment that file control node is connected;
Wherein, described shared file catalogue adopts described archive implementation method formation as arbitrary in claim 1-3.
8. method according to claim 7, is characterized in that, primary storage service node receive client initiate file access request after, in shared file catalogue, search the file corresponding with described file access request before, also comprise:
Described primary storage service node is searched the file corresponding with described file access request in local file catalogue;
If searched unsuccessfully in local file catalogue, the operation that triggers described primary storage service node search the file corresponding with described file access request in shared file catalogue.
9. a file access device, is characterized in that, comprising:
File access request receiving module, the file access request of initiating for receiving client;
First searches module, for search the file corresponding with described file access request in shared file catalogue;
File access module, if for searching successfully, client is returned to in the shared path of the file corresponding with described file access request, so that described client is according to described shared path, access and the file moving in the linear tape file system LTFS of the tape library equipment that file control node is connected;
Wherein, described shared file catalogue adopts described archive implement device formation as arbitrary in claim 4-6.
10. device according to claim 9, is characterized in that, also comprises:
Second searches module, for after receiving the file access request of client initiation, searches the file corresponding with described file access request in local file catalogue;
Trigger module, if for searching unsuccessfully in local file catalogue, triggers the operation of searching the file corresponding with described file access request in shared file catalogue.
CN201410441442.XA 2014-09-01 2014-09-01 File archiving implementation method and device and file access method and device Active CN104199926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410441442.XA CN104199926B (en) 2014-09-01 2014-09-01 File archiving implementation method and device and file access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410441442.XA CN104199926B (en) 2014-09-01 2014-09-01 File archiving implementation method and device and file access method and device

Publications (2)

Publication Number Publication Date
CN104199926A true CN104199926A (en) 2014-12-10
CN104199926B CN104199926B (en) 2017-11-24

Family

ID=52085219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410441442.XA Active CN104199926B (en) 2014-09-01 2014-09-01 File archiving implementation method and device and file access method and device

Country Status (1)

Country Link
CN (1) CN104199926B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108052281A (en) * 2017-11-30 2018-05-18 平安科技(深圳)有限公司 Business Information storage method, application server and computer storage media
CN108427677A (en) * 2017-02-13 2018-08-21 阿里巴巴集团控股有限公司 A kind of object accesses method, apparatus and electronic equipment
CN108776690A (en) * 2018-06-05 2018-11-09 上海孚典智能科技有限公司 The method of HDFS Distribution and Centralization blended data storage systems based on separated layer handling
CN109542858A (en) * 2018-10-11 2019-03-29 平安科技(深圳)有限公司 Data archiving method, device based on distributed memory system, computer equipment
CN110008174A (en) * 2019-04-11 2019-07-12 苏州浪潮智能科技有限公司 A kind of catalogue deriving method, system and relevant apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060053088A1 (en) * 2004-09-09 2006-03-09 Microsoft Corporation Method and system for improving management of media used in archive applications
CN1801923A (en) * 2005-01-05 2006-07-12 中央电视台 Graded memory management system
CN101739307A (en) * 2008-11-04 2010-06-16 北京众志和达信息技术有限公司 Embedded integrated virtual tape library-based data archiving protection system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060053088A1 (en) * 2004-09-09 2006-03-09 Microsoft Corporation Method and system for improving management of media used in archive applications
CN1801923A (en) * 2005-01-05 2006-07-12 中央电视台 Graded memory management system
CN101739307A (en) * 2008-11-04 2010-06-16 北京众志和达信息技术有限公司 Embedded integrated virtual tape library-based data archiving protection system and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427677A (en) * 2017-02-13 2018-08-21 阿里巴巴集团控股有限公司 A kind of object accesses method, apparatus and electronic equipment
CN108427677B (en) * 2017-02-13 2023-01-06 阿里巴巴集团控股有限公司 Object access method and device and electronic equipment
CN108052281A (en) * 2017-11-30 2018-05-18 平安科技(深圳)有限公司 Business Information storage method, application server and computer storage media
CN108776690A (en) * 2018-06-05 2018-11-09 上海孚典智能科技有限公司 The method of HDFS Distribution and Centralization blended data storage systems based on separated layer handling
CN108776690B (en) * 2018-06-05 2020-07-07 上海孚典智能科技有限公司 Method for HDFS distributed and centralized mixed data storage system based on hierarchical governance
CN109542858A (en) * 2018-10-11 2019-03-29 平安科技(深圳)有限公司 Data archiving method, device based on distributed memory system, computer equipment
WO2020073517A1 (en) * 2018-10-11 2020-04-16 平安科技(深圳)有限公司 Data archiving method and apparatus based on distributed storage system, and computer device
CN110008174A (en) * 2019-04-11 2019-07-12 苏州浪潮智能科技有限公司 A kind of catalogue deriving method, system and relevant apparatus

Also Published As

Publication number Publication date
CN104199926B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
US11347408B2 (en) Shared network-available storage that permits concurrent data access
US11392538B2 (en) Archiving data objects using secondary copies
US10852981B2 (en) System for migrating virtual tape volumes between filesystems
US8793448B2 (en) Transparent data migration within a computing environment
US7937393B2 (en) Systems and methods for classifying and transferring information in a storage network
US9043540B2 (en) Systems and methods for tracking block ownership
US10216418B2 (en) Storage apparatus and method for autonomous space compaction
US20070185917A1 (en) Systems and methods for classifying and transferring information in a storage network
US20050246401A1 (en) Extension of write anywhere file system layout
US20210064486A1 (en) Access arbitration to a shared cache storage area in a data storage management system for live browse, file indexing, backup and/or restore operations
CN104199926A (en) File archiving implementation method and device and file access method and device
US9727588B1 (en) Applying XAM processes
WO2017172377A1 (en) File system support for file-level ghosting
Koltsidas et al. Seamlessly integrating disk and tape in a multi-tiered distributed file system
KR20130068590A (en) Method and metadata server for managing storage device of cloud storage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100085 No. 1, building 3, building ten, No. 8, 813 street, Beijing, Haidian District

Applicant after: Beijing Lianchuang Xinan Technology Co.,Ltd.

Address before: 100085, room 712, building 7, block D, Jinyu Ka Wah building, No. 9, 3rd Street, Haidian District, Beijing

Applicant before: Beijing Lianchuang Xinan Technology Co.,Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220511

Address after: 1610, 16th floor, 101-2-16th floor, building 21, Rongda Road, Chaoyang District, Beijing 100012

Patentee after: Zhongguancun Technology Leasing Co.,Ltd.

Address before: 100085 813, 8th floor, building 3, courtyard 1, Shangdi 10th Street, Haidian District, Beijing

Patentee before: Beijing Lianchuang Xinan Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240308

Address after: Room 01, 3rd Floor, Building 1, No. 33 Dijin Road, Haidian District, Beijing, 100095

Patentee after: Beijing Lianchuang Xinan Technology Co.,Ltd.

Country or region after: China

Address before: 1610, 16th floor, 101-2-16th floor, building 21, Rongda Road, Chaoyang District, Beijing 100012

Patentee before: Zhongguancun Technology Leasing Co.,Ltd.

Country or region before: China