CN105354102A - File system maintenance and repairing method and apparatus - Google Patents

File system maintenance and repairing method and apparatus Download PDF

Info

Publication number
CN105354102A
CN105354102A CN201510662628.2A CN201510662628A CN105354102A CN 105354102 A CN105354102 A CN 105354102A CN 201510662628 A CN201510662628 A CN 201510662628A CN 105354102 A CN105354102 A CN 105354102A
Authority
CN
China
Prior art keywords
metadata
mistake
file system
error
isolable
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
CN201510662628.2A
Other languages
Chinese (zh)
Other versions
CN105354102B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510662628.2A priority Critical patent/CN105354102B/en
Publication of CN105354102A publication Critical patent/CN105354102A/en
Application granted granted Critical
Publication of CN105354102B publication Critical patent/CN105354102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a file system maintenance and repairing method and apparatus. The file system maintenance and repairing method comprises: when it is detected that metadata in a file system has an error, determining whether the error metadata belongs to isolable metadata, wherein the isolable metadata meets a condition that the file system still can continue providing partial services after the error occurs; and when it is determined that the error metadata belongs to the isolable metadata, setting the error metadata to be read-only or inaccessible. By using the technical scheme, the error metadata can be isolated when the error metadata in the file system is the isolable metadata, while the file system continues running, so that the working continuity of the file system can be ensured, the fault tolerance capability of the system is improved, and the overall service performance is raised.

Description

The method and apparatus of a kind of file system maintenance and reparation
Technical field
The present invention relates to file system management technical field, be specifically related to the method and apparatus of a kind of file system maintenance and reparation.
Background technology
The file system of computing machine is a kind of method of storage and organizational computing machine data, it makes to access it and search to become easy, and file system uses the abstract logic concept of file and directory tree to instead of the concept of the physical equipment such as hard disk and CD usage data block.The space of file system to file-storage device is organized and distributes, and is responsible for file and stores and protect the file stored and retrieve.In other words, file system is the abstract data type of a set of operation such as storage, hierarchically organized, access and acquisition achieving data.
File system metadata is the information about the tissue of file data, data field and relation thereof.In brief, metadata is exactly the data about data.The metadata of generic-document system is divided into system file (self creating, for certain administrative purposes by during file system format) metadata and user file (being created by user) metadata.
In some cases, as software self mistake, power fail, or the scene such as the controller of memory device is abnormal, metadata may be caused damaged, and namely file system can be in inconsistent state.In the prior art, after finding metadata error, whole file system can be set to a read states, namely user can not carry out any write operation to file system.When repairing metadata, file system can be unloaded, to perform after repair action again carry again.
In the prior art, owing to being set to read-only by whole file system, business general performance can be caused to be unavailable, and service disconnection influence surface is larger.Meanwhile, after any single metadata damage, file system will be set to read-only or inaccessible, therefore, when repairing, in order to ensure the integrality of repairing, need to scan whole file system, find out the metadata that other make a mistake, thus make repair time longer.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of file system metadata to isolate and the method for repairing and device, for the remediation efficiency of the fault-tolerant ability and file system that improve file system.
First aspect, the embodiment of the present invention provides a kind of method of file system maintenance, when detecting that the metadata in described file system makes a mistake, determine whether the metadata of described mistake belongs to isolable metadata, described isolable metadata is for after making a mistake, and file system still can continue the metadata providing partial service; When the metadata made a mistake described in determining belongs to isolable metadata, the described metadata made a mistake is set to read-only or inaccessible.Because the file system after having isolated wrong metadata rear still can continue to provide service, directly whole file system need not be set to read-only as in prior art, thus improve continuity and the fault-tolerant ability of file system traffic.
In conjunction with first aspect, under the first implementation, can according to the data type of the described metadata that makes a mistake and described metadata and whether isolable corresponding relation, whether the metadata made a mistake described in determining belongs to isolable metadata.
In conjunction with the first implementation of first aspect, under the second implementation, the data type of the metadata made a mistake described in can obtaining; Whether the metadata made a mistake described in determining according to the data type of the described metadata made a mistake and the meta data category table preset can isolate, and described meta data category table comprises data type and the whether isolable corresponding relation of metadata.
In conjunction with first aspect, and first, second kind of implementation of first aspect, in the 3rd under implementation, described the described metadata made a mistake is set to read-only or inaccessible after, whether the type of error of the metadata made a mistake described in determining is relevance mistake, after described relevance misrepresentation mistake occurs, the metadata relevant to the metadata of described mistake also there occurs mistake; When determining that described type of error is relevance mistake, then metadata relevant for the metadata of described and described mistake is also set to read-only or inaccessible.Thus, can after the metadata made a mistake being detected, the metadata be associated with the type of error of this metadata that makes a mistake is isolated, thus the metadata of the mistake of more fully isolating, reduce the impact for file system of the metadata error that is associated, and comprehensive when improve mis repair metadata.Can ensure that the associated metadata of relevance mistake is all isolated simultaneously, and then file system can be made to continue to provide service, improve the stability of file system.
In conjunction with the third implementation of first aspect, under the 4th kind of implementation, when whether the type of error of the metadata made a mistake described in judgement is relevance mistake, can according to type of error, and type of error and be whether that the corresponding relation of relevance mistake determines whether described type of error is relevance mistake.
In conjunction with the 3rd or the 4th kind of implementation of first aspect, under the 5th kind of implementation, when metadata relevant for the metadata of described and described mistake is also set to read-only or inaccessible, the metadata that the metadata of described and described mistake is relevant comprises the metadata of the metadata depending on described mistake.Because the metadata depending on described mistake also can make a mistake, therefore, described relevant metadata is also isolated, the stability of file system can be improved.
In conjunction with first aspect, or in the first to the of first aspect five kind of implementation any one, under the 6th kind of implementation, the error message of described mistake is also added in error message list by the embodiment of the present invention, and described error listing is used for the metadata made a mistake to report user.By error message list, can by user initiate once repair or file system be set as read-only before, add the whole wrong metadata information detected to error message list, User space is when carrying out errors repair, without the need to carrying out error scanning to file system again, and can directly repair the metadata made a mistake in list according to error listing.Simultaneously, the metadata made a mistake in file system is for before not isolable metadata, the isolable metadata made a mistake in file system all can be added in error listing, and therefore user can disposablely repair multiple metadata, improves remediation efficiency.
Second aspect, the embodiment of the present invention additionally provides a kind of file system restorative procedure and receives user in the instruction freezing file system determining to send after metadata makes a mistake, and freezes file system according to the described instruction freezing file system.According to the metadata reparation instruction that user sends, the metadata made a mistake is repaired.Receive the instruction of file system of thawing that user sends, and to thaw described file system according to the instruction of described file system of thawing.Freeze file system by response User space, and the metadata made a mistake is repaired, the quick reparation to file system can be realized.
In conjunction with second aspect, in the first implementation, the embodiment of the present invention is also to reporting of user error message list, and described error message list comprises the error message of the metadata made a mistake.Owing to error message being added in error message list, because the relevant information of metadata that makes a mistake and the relevant information of mistake all return to user by error message list, user is when carrying out errors repair, without the need to carrying out error scanning to whole file system again, and can directly according to error listing, the metadata made a mistake in list be repaired, decrease the time of errors repair.
The third aspect, embodiments provides a kind of file system maintenance device, and described device comprises metadata detection module and metadata isolation module, optionally, can also comprise error message and collect module.Described device may be used for the method described in various implementations performing first aspect and first aspect.
Fourth aspect, the embodiment of the present invention additionally provides a kind of file system prosthetic device, and described device comprises file system and freezes module and metadata reparation module, optionally, can also comprise information reporting module.Method described in the various implementations that described device may be used for performing second aspect and second aspect.
5th aspect, present invention also offers a kind of computer system, described computer system comprises processor, and the storer to be connected with described processor, wherein said processor calls the instruction that stores in described storer for the method described in the various implementations performing described first aspect and first.
6th aspect, present invention also offers a kind of computer system, described computer system comprises processor, and the storer to be connected with described processor, wherein said processor calls the instruction that stores in described storer for the method described in the various implementations performing described second aspect and second.
Visible, the method provided in the present embodiment and device are when file system makes a mistake, first judge whether the metadata made a mistake belongs to isolable metadata, if then only the metadata that this makes a mistake is set to read-only or inaccessible, instead of all whole file system is set to read-only or inaccessible as prior art when there is any mistake, even if the continuity of therefore some mistake generation file system work still can be guaranteed, thus improve the fault-tolerant ability of file system, improve the continuity of overall business.
Simultaneously, after isolable metadata makes a mistake, file system still can continue to run, if still wrong generation during this period, can be reported in the lump to user with mistake before, such user can disposablely repair multiple metadata made a mistake, and improves remediation efficiency, adds the comprehensive of reparation.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the system architecture diagram of a kind of file system maintenance device in the embodiment of the present invention.
The schematic flow sheet of the method for the first metadata isolation that Fig. 2 provides for the embodiment of the present invention.
Fig. 3 is the schematic flow sheet of the method for the second metadata isolation that the embodiment of the present invention provides.
Fig. 4 is the schematic flow sheet of the method for the third metadata isolation that the embodiment of the present invention provides.
Fig. 5 is the schematic flow sheet of the restorative procedure of a kind of file system metadata that the embodiment of the present invention provides.
Fig. 6 is the structural representation of a kind of file system maintenance device that the embodiment of the present invention provides.
Fig. 7 is the structural representation of a kind of computer system that the embodiment of the present invention provides.
Fig. 8 is the structural representation of a kind of file system prosthetic device that the embodiment of the present invention provides.
Fig. 9 is the structural representation of the another kind of computer system that the embodiment of the present invention provides
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
A kind of method that the embodiment of the present invention provides file system metadata to isolate and repair, with realization to the isolation of the metadata made a mistake in file system and reparation, reduce the impact that metadata error causes business, improve the business continuance of file system, and reduce the time of metadata reparation.
Present invention also offers corresponding file system metadata spacer assembly, be described in detail respectively below.
To facilitate understanding of the present embodiment of the invention, first introduce during the embodiment of the present invention describes at this concept that can introduce.
Isolable metadata: as in background technology introduce, under some scenes, the metadata of file system can be damaged and lead to errors.Carry out classification analysis discovery to file system metadata, the damage of most metadata can not affect the overall business of file system, and the data that namely other normal metadata are corresponding all can continue to provide normal service.Therefore, metadata can be classified, can not impact after above-mentioned appearance mistake the overall business of file system, namely file system can continue to provide the meta data category of service to be isolable metadata.Accordingly, after mistake appears in a part of metadata, file system entirety can be caused normally can not to provide service, and these metadata error are generally mistake of overall importance, as allocation of space bitmap etc.For this kind of metadata, not isolable metadata can be categorized as.List in table 1 in linux system, the classification that the metadata of some types is carried out according to described sorting technique.Understandable, in different operating system, and under dissimilar file system, metadata has dissimilar classification.Therefore, the type of metadata can be different under concrete operating system and file system with the corresponding relation whether can isolating reparation.
Metadata type Whether reparation can be isolated
SuperBlock Reparation can be isolated
GlobalBitmap Reparation can not be isolated
Extent Block Reparation can be isolated
Extent Reparation can be isolated
Chain List Reparation can not be isolated
Chain Group Reparation can not be isolated
Inode Alloc Reparation can be isolated
Local Alloc Reparation can be isolated
Truncate Log Reparation can be isolated
Journal Reparation can be isolated
Inline Data Reparation can be isolated
Inode Reparation can be isolated
Table 1
Composition graphs 1 is the system architecture diagram of a kind of file system maintenance device in the embodiment of the present application.Native system framework is for Linux system, but understandable, according to the thought that the present embodiment provides, the present invention can be applied in other operating system.Hardware layer contains the hardware unit that system cloud gray model relies on, and comprises processor, storer, network interface etc.Client layer (also can be referred to as user's space or User space) and inner nuclear layer (also can be referred to as kernel spacing or kernel state) is marked off on hardware layer.Application program in user operation client layer, by system call, is delivered to inner nuclear layer by user to the operation requests of file system (as open, read and write and closedown etc.).Virtual File System is the abstract of file system, is responsible for request to be submitted to concrete file system.File system can have polytype, such as third generation extended file system (Thirdextendedfilesystem, be called for short Ext3), forth generation extended file system (Fourthextendedfilesystem, be called for short Ext4), second generation Oracle cluster file system (OracleClusterFileSystem2, be called for short OCFS2) etc., the operation requests reality of User space application program has been come by these concrete file system.The data of file system and file system management are stored in the storer of hardware layer.In embodiments of the present invention, all or part of module as shown in the figure can be comprised in file system, these modules can as new module integration in file system, also can be the function of the module possessing in the functional module of existing file system or transform it thus introduce in the embodiment of the present invention that made it possess itself.Wherein, metadata detection module to be in operation made a mistake metadata for detecting file system; Metadata isolation module is used for the metadata made a mistake to isolate; Metadata repairs module for responding the reparation order that in client layer, user is initiated metadata by metadata fix tool, and repairs metadata according to reparation order; File system freezes module for responding the file system freeze request of user and freezing file system; Information reporting module is used for the metadata error information reporting that detects to notify user to client layer.In the embodiment of the present application, metadata fix tool is additionally provided in client layer, user can pass through metadata fix tool, initiate to repair order, thus the reparation module calling the metadata in inner nuclear layer is repaired the metadata made a mistake to the metadata made a mistake.
It should be noted that, the embodiment of the present invention goes for the computer equipment under general computer architecture, also go for applying other treatment facilities or the smart machine that file system principle carries out data management, such as, embedded device, mobile device, private server, intelligent terminal, Intelligent Network Element, intelligent things equipment, intelligent storage equipment etc.
Consulting Fig. 2, is the schematic flow sheet of the method for the first file system maintenance that the embodiment of the present invention provides.The method of the embodiment of the present invention is applied to the computer equipment under a kind of general computer architecture, also can be applied to and apply other treatment facilities or the smart machine that file system principle carries out data management.Described equipment comprises processor and memory device, is managed the data in memory device by file system.System architecture cited by the present embodiment composition graphs 1, is performed the method in the present embodiment by metadata error isolation module, isolate the metadata made a mistake in file system.Certainly, understandable, based on the thought of the present embodiment, the method in the present embodiment also as the function be attached in file system, can be performed by file system self, thus reaches the effect identical or similar with the present embodiment.
The method of the embodiment of the present invention can comprise following steps:
S101, when detecting that the metadata in described file system makes a mistake, determine whether the metadata of described mistake belongs to isolable metadata, described isolable metadata is for after making a mistake, and file system still can continue the metadata providing partial service.
After metadata detection module detects that metadata makes a mistake, be different from prior art and directly file system be set to read-only or inaccessible, can judge the type of the metadata made a mistake in embodiments of the present invention.In aforementioned, metadata can be divided into isolable metadata and not isolable metadata, according to this classification, in embodiments of the present invention, whether the metadata made a mistake described in judgement belongs to isolable metadata.
Detect that metadata makes a mistake, can be receive that other modules of file system report to metadata error information, namely file system is in operational process, the metadata error information reported after having found metadata error, such as, when file system access is to concrete a certain metadata, cause the failure of metadata access because metadata makes a mistake, thus report this error message.The type of error of metadata mark, metadata type or the metadata error made a mistake can be comprised in error message.
In another case, file system can dispatch metadata detection module or other modules possessing corresponding function carry out active detecting to metadata.Such as, metadata to be scanned, thus the metadata made a mistake, and reporting described wrong metadata with aforementioned similar error message.
Optionally, in one implementation, whether the metadata made a mistake described in described judgement belongs to isolable metadata comprises: according to the data type of the described metadata that makes a mistake and metadata and whether isolable corresponding relation, whether the metadata made a mistake described in determining belongs to isolable metadata.
Concrete, obtain the data type of the metadata made a mistake, whether the metadata made a mistake described in determining according to the data type of the described metadata made a mistake and described default meta data category table can isolate, and described meta data category table comprises data type and the whether isolable corresponding relation of metadata.
In the implementation that another kind is concrete, the data type of the metadata made a mistake described in can obtaining; Whether the metadata made a mistake described in determining according to the data type of the described metadata made a mistake and the meta data category table preset can isolate, and described meta data category table comprises data type and the whether isolable corresponding relation of metadata.
The meta data category table preset can be comprise the classified information whether dissimilar metadata can be able to isolate respectively after making a mistake, namely when after the data type determining a metadata, whether the metadata that can obtain this data type according to this sorted table belongs to isolable metadata; Or, the meta data category table preset can be contain the classified information that can different type of errors carry out isolating, namely, after determining the type of error of the mistake that a metadata occurs, whether the metadata that can obtain this this type of error of generation according to this sorted table belongs to isolable metadata.
S102, when the metadata made a mistake described in determining belongs to isolable metadata, the described metadata made a mistake is set to read-only or inaccessible.
When metadata is isolable metadata, namely when described metadata makes a mistake, file system still can continue to provide service.Therefore, with prior art, whole file system is set to read-only mode different, only isolable metadata is set to read-only or inaccessible in the embodiment of the present invention, namely for other metadata in file system, still normally provide service, and for isolable metadata, be then set to read-only or inaccessible.When being set to read-only by isolable metadata, user can conduct interviews to described metadata, but can only carry out read operation to described metadata, and can not carry out write operation to described metadata; When isolable metadata is set to inaccessible, user cannot conduct interviews to described metadata, and the user operation namely comprising read operation and write operation is not allowed to.
Concrete, can by arranging isolated marks to metadata, when being set to read-only by metadata, if read request, namely this operation can not bring any renewal, be then allowed to; Otherwise directly return error message, namely User space application program cannot carry out renewal rewards theory before isolation metadata is repaired.When metadata is set to inaccessible, User space application program accesses segregate metadata, all can return error message, and namely User space application program cannot conduct interviews to this metadata before isolation metadata is repaired.
Visible, by isolable metadata is set to read-only or inaccessible, when the metadata that can make to make a mistake in file system is isolable metadata, file system can not be set to read-only by entirety, the continuity of the file system work ensured, improve the fault tolerant ability of system, improve the continuity of overall business.
Consulting Fig. 3, is the schematic flow sheet of the method for the second metadata isolation that the embodiment of the present invention provides.The embodiment of the present invention is described in the first embodiment aforementioned, and the method for the present embodiment contains S101, S102 step in the first embodiment, and therefore description same or analogous with described step, repeats no more in the present embodiment.
In embodiments of the present invention, also step S103 is comprised:
The error message of described mistake added in error message list, described error message list is used for the metadata made a mistake to report user.
After metadata makes a mistake, the error message of metadata can be joined in error message list.Error message can include but not limited to that the relevant information of the position of relevant information as metadata of metadata itself, the data type of metadata etc. and metadata error is as the type etc. of mistake.Error message notifies after may be used for report of user state that user carries out errors repair, and user, according to error message list, can repair the metadata made a mistake one by one.
Visible, owing to error message being added in error message list, because the relevant information of metadata that makes a mistake and the relevant information of mistake all return to User space by error message list, User space is when carrying out errors repair, without the need to carrying out error scanning to file system again, and can directly repair the metadata made a mistake in list according to error listing.Simultaneously, the metadata made a mistake in file system is for before not isolable metadata, the isolable metadata made a mistake in file system all can be added in error listing, and therefore user can disposablely repair multiple metadata, improves remediation efficiency.
Consulting Fig. 4, is the schematic flow sheet of the method for the third metadata isolation that the embodiment of the present invention provides.The embodiment of the present invention is described in the first embodiment aforementioned, the method of the present embodiment contains S101, S102 step in the first embodiment, and the S103 step that can comprise in the second embodiment, therefore description same or analogous with described step, repeats no more in the present embodiment.
Also comprise in embodiments of the present invention: S104, determine described in the type of error of metadata that makes a mistake whether be relevance mistake, after described relevance misrepresentation mistake occurs, the metadata relevant to the metadata of described mistake also there occurs mistake; When determining that described type of error is relevance mistake, then metadata relevant for the metadata of described and described mistake is also set to read-only or inaccessible.
Relevance mistake, refers to what the mistake of generation was caused by multiple metadata often, or after mistake occurs, multiple metadata can be caused to make a mistake.That is, when occurring relevance mistake, the metadata made a mistake relevant to this mistake is greater than one.Therefore, when the type of error of metadata is relevance mistake, not only need the metadata made a mistake detected to isolate, also the metadata relevant in relevance mistake should be isolated.
Concrete, can be set to read-only or inaccessible by the metadata relevant to described relevance mistake, described in specific implementation and previous embodiment, method is similar, does not repeat them here.
In one implementation, according to type of error and type of error and be whether whether the corresponding relation of relevance mistake to obtain described type of error be relevance mistake.Concrete, according to type of error and type of error and be whether that the corresponding relation of relevance mistake determines whether described type of error is relevance mistake.In one in implementation, similar with preceding method, described corresponding relation can be realized by meta data category table.Whether meta data category table can belong to query metadata meta data category table that isolable metadata uses is same and tables, according to described meta data category table, the data type of the metadata made a mistake can be obtained, or obtain the dislocation type made a mistake, thus determine whether the type of error that metadata occurs is relevance mistake.Also can be used alone and aforesaid meta data category table difference sorted table, determination methods and aforementioned similar.
In one implementation, when the metadata that the metadata of described and described mistake is relevant is also set to read-only or inaccessible, the metadata that the metadata of described and described mistake is relevant comprises the metadata of the metadata depending on described mistake.Such as, in linux system, the metadata error of Extentblock or Extent type, Existence dependency relationship between the metadata of the type and relevant metadata, therefore, when finding that the metadata of this type makes a mistake, metadata associated therewith can make a mistake equally.Therefore, need the described associated metadata depending on wrong metadata to isolate.
Visible, in the present embodiment, due to the relevant metadata of relevance mistake is set to read-only or inaccessible, can ensure that the associated metadata of relevance mistake is all isolated, and then file system can be made can to continue to provide service, add the comprehensive of reparation simultaneously.
Consulting Fig. 5, is the schematic flow sheet of the restorative procedure of a kind of file system metadata that the embodiment of the present invention provides.The method that this method is isolated in conjunction with aforementioned metadata is described, and on the basis of preceding method, adds response User space and operates the reparation of metadata.Therefore, there is identical or similar step in the aforementioned embodiment, be described no longer further in the present embodiment.
More than cut-off rule be the step that User space performs in figure, namely can be initiated by user, or initiated by the application program being in User space.Cut-off rule is once the step that kernel state performs, and is initiated by kernel and is performed.Concrete steps are as follows:
S501, after detecting that metadata is wrong, judge whether the metadata that makes a mistake is isolable metadata, preferably, can judge by tabling look-up.Can segregate metadata be set to read-only.Optionally, isolated marks can be set to this metadata, add the chained list of an isolation metadata, and the metadata made a mistake is reported to client layer.
When accessing segregate metadata, if read request, namely this operation can not bring any renewal, be then allowed to; Otherwise directly return-EIO, namely User space application program cannot carry out renewal rewards theory before isolation metadata is repaired.
The segregate list of meta data that S502, user report according to kernel, initiates to freeze file system instruction, and initiates to repair instruction to segregate metadata one by one, completes after all repairing, initiates to thaw operating system instruction.Wherein, the metadata reparation module that reparation instruction calls inner nuclear layer by the metadata fix tool of client layer is repaired metadata.For different metadata, the mode of reparation is incomplete same, because the present invention does not relate to the restorative procedure concrete to metadata, does not therefore repeat them here.
S503, reception user in the instruction freezing file system determining to send after metadata makes a mistake, and freeze file system according to the described instruction freezing file system, keep the coherency state of repair process file system.
The freeze operation of file system is intended to all dirty file system metadatas and data to write disk, produces a disk image almost consistent with file system.The operation of any amendment file system just can must be carried out after thawing.Relative to unloading operation, first unloading of file system needs the business of all operations stopped in file system, closes all handles opened, dirty data brush is returned disk.And freeze to be a kind of operation of temporary suspension, the duration of therefore freezing is shorter, but the time of recovery file system is also shorter.When the list obtaining the metadata made a mistake, carry out according to list the time that metadata reparation uses and greatly shorten relative to prior art, so adopt the mode freezed, more contribute to the quick reparation to file system.
S504, according to user send metadata repair instruction the metadata made a mistake is repaired, if can singlely repair, directly repair; If relate to the metadata of relevance mistake, then need to repair the metadata relevant to relevance mistake simultaneously.
S505, receive the instruction of file system of thawing that user sends, and to thaw described file system according to the instruction of described file system of thawing.
Visible, in the present embodiment, the list of the metadata made a mistake of having isolated that user can report according to kernel, state, by freezing file system, is repaired the metadata made a mistake.Owing to obtaining the list of the metadata made a mistake, without the need to carrying out error scanning as in prior art to file system, therefore can shorten repair time, reducing the time that file system is hung up, improve the efficiency of system.
Consulting Fig. 6, is the structural representation of a kind of file system maintenance device that the embodiment of the present invention provides.Described device can perform or for performing the method provided in preceding method embodiment.Therefore in conjunction with description identical or similar in previous embodiment, repeat no more in the present embodiment.Described device can be computing machine under general computer architecture or integrated module in a computer or equipment, also goes for applying file system principle and carries out other treatment facilities of data management or smart machine or integrated module in the apparatus or equipment.Composition graphs 2 is system architecture diagrams that in the present embodiment, a kind of file system metadata spacer assembly is possible, is illustrated the system architecture of described computer equipment, repeats no more herein in aforementioned.
Described 603 file system maintenance devices comprise:
601 metadata detection modules, for when detecting that the metadata in described file system makes a mistake, whether the metadata made a mistake described in judgement belongs to can segregate metadata, described isolable metadata is for after making a mistake, and file system still can continue the metadata providing partial service;
602 metadata isolation modules, if for described in the metadata that makes a mistake belong to isolable metadata, then the described metadata made a mistake is set to read-only or inaccessible.
Optionally, described metadata detection module also for: whether the type of error of the metadata made a mistake described in judgement is relevance mistake, and after described relevance misrepresentation mistake occurs, the metadata relevant to the metadata of described mistake also there occurs mistake; Described metadata isolation module also for: if described type of error is relevance mistake, then metadata relevant for the metadata of described and described mistake is also set to read-only or inaccessible.
Optionally, whether the type of error of the metadata made a mistake described in described metadata detection module can also judge is relevance mistake, concrete, when whether the type of error for the metadata made a mistake described in judging is relevance mistake, according to type of error and type of error and be whether that the corresponding relation of relevance mistake determines whether described type of error is relevance mistake.
Optionally, described metadata isolation module specifically for, when metadata relevant for the metadata of described and described mistake is also set to read-only or inaccessible, the metadata that the metadata of described and described mistake is relevant comprises the metadata of the metadata depending on described mistake.
Optionally, error message can also be comprised according to device of calculating in the present embodiment and collect module, for the error message of described mistake being added in error message list.
In the present embodiment, described device can in order to perform method in aforementioned S101, S102, S103 and S104 and its concrete or optional implementation accordingly.Therefore, can understand in conjunction with the description of the method in previous embodiment for described device.
In one implementation, in computing machine, memory device stores the program code that can realize above-mentioned each functions of modules, and computer processor reads described program code, to realize the concrete function of above-mentioned each module.
Visible, the present embodiment file system metadata spacer assembly is by being set to read-only or inaccessible by isolable metadata, when the metadata that can make to make a mistake in file system is isolable metadata, file system can not be set to read-only by entirety, the continuity of the file system work ensured, improve the fault tolerant ability of system, improve the continuity of overall business.
Simultaneously, owing to error message being added in error message list, because the relevant information of metadata and the relevant information of mistake that send mistake all return to User space by error message list, User space is when carrying out errors repair, without the need to carrying out error scanning to file system again, and can directly repair the metadata made a mistake in list according to error listing.Simultaneously, the metadata made a mistake in file system is for before not isolable metadata, the isolable metadata made a mistake in file system all can be added in error listing, and therefore user can disposablely repair multiple metadata, improves remediation efficiency.
Meanwhile, due to the relevant metadata of relevance mistake is set to read-only or inaccessible, can ensures that the associated metadata of relevance mistake is all isolated, and then file system can be made can to continue to provide service, add the comprehensive of reparation simultaneously.
With reference to figure 7, it is the structural representation of a kind of computer system 700 that the embodiment of the present invention provides.Described computer system can perform the method in preceding method embodiment, concrete, and described computer system comprises:
Processor 701, and the storer 702 be connected with described processor;
Wherein, described processor call the instruction that stores in described storer for:
When detecting that the metadata in described file system makes a mistake, determine whether the metadata of described mistake belongs to isolable metadata, described isolable metadata is for after making a mistake, and file system still can continue the metadata providing partial service;
If described in the metadata that makes a mistake belong to isolable metadata, then the described metadata made a mistake is set to read-only or inaccessible.
Should be understood that, storer 702 can comprise ROM (read-only memory) and random access memory, and provides instruction and data to sensor processor 702.A part for storer 702 can also comprise nonvolatile RAM (NVRAM).
In conjunction with a kind of system architecture provided in earlier figures 1, in a kind of implementation of the present embodiment, the data that file system and file system manage all are stored in storer 702, certainly, understandable, the data that described file system and file system manage also can store in other memory devices being that processor 701 is connected.
In some embodiments, storer 702 stores following element, executable module or data structure, or their subset, or their superset: operating system, comprise various system program, communication layers such as, sensor management system, driving layer etc., for realizing various basic business and processing hardware based task; And types of applications program.
Under a kind of implementation, when whether the metadata made a mistake described in determining belongs to isolable metadata, described processor is specifically for the data type of the metadata that makes a mistake described in basis and metadata and whether isolable corresponding relation, and whether the metadata made a mistake described in determining belongs to isolable metadata.Optionally, when whether the metadata made a mistake described in determining belongs to isolable metadata, described in can determining according to the data type of the described metadata made a mistake and the meta data category table preset, whether the metadata that makes a mistake can isolate, and described meta data category table comprises data type and the whether isolable corresponding relation of metadata
Under a kind of implementation, described the described metadata made a mistake is set to read-only or inaccessible after, whether described processor is also relevance mistake for the type of error of the metadata made a mistake described in determining, after described relevance misrepresentation mistake occurs, the metadata relevant to the metadata of described mistake also there occurs mistake; If described type of error is relevance mistake, then metadata relevant for the metadata of described and described mistake is also set to read-only or inaccessible.Optionally, when whether the type of error of the metadata made a mistake described in described judgement is relevance mistake, according to type of error and type of error and be whether that the corresponding relation of relevance mistake determines whether described type of error is relevance mistake.Optionally, the metadata that the metadata of described and described mistake is relevant comprises the metadata of the metadata depending on described mistake.
In one implementation, described processor is also for adding in error message list by the error message of described mistake, and described error message list is used for the metadata made a mistake to report user.
In the present embodiment, described computer system can in order to perform method in aforementioned S101, S102, S103 and S104 and its concrete or optional implementation accordingly.Therefore, can understand in conjunction with the description of the method in previous embodiment for described computer system.
Visible, the present embodiment file system metadata spacer assembly is by being set to read-only or inaccessible by isolable metadata, when the metadata that can make to make a mistake in file system is isolable metadata, file system can not be set to read-only by entirety, the continuity of the file system work ensured, improve the fault tolerant ability of system, improve the continuity of overall business.
Simultaneously, owing to error message being added in error message list, because the relevant information of metadata and the relevant information of mistake that send mistake all return to User space by error message list, User space is when carrying out errors repair, without the need to carrying out error scanning to file system again, and can directly repair the metadata made a mistake in list according to error listing.Simultaneously, the metadata made a mistake in file system is for before not isolable metadata, the isolable metadata made a mistake in file system all can be added in error listing, and therefore user can disposablely repair multiple metadata, improves remediation efficiency.
Meanwhile, due to the relevant metadata of relevance mistake is set to read-only or inaccessible, can ensures that the associated metadata of relevance mistake is all isolated, and then file system can be made can to continue to provide service, add the comprehensive of reparation simultaneously.
Consulting Fig. 8, is a kind of file system prosthetic device 800 that the embodiment of the present invention provides, and described device can perform or for performing the method provided in preceding method embodiment.Therefore in conjunction with description identical or similar in previous embodiment, repeat no more in the present embodiment.Described device can be computing machine under general computer architecture or integrated module in a computer or equipment, also goes for applying file system principle and carries out other treatment facilities of data management or smart machine or integrated module in the apparatus or equipment.Composition graphs 2 is system architecture diagrams that in the present embodiment, a kind of file system metadata spacer assembly is possible, is illustrated the system architecture of described computer equipment, repeats no more herein in aforementioned.
Described file system maintenance device comprises:
File system freezes module 801, for receiving user in the instruction freezing file system determining to send after metadata makes a mistake, and freeze file system according to the described instruction freezing file system, and receive the instruction of file system of thawing that user sends, and to thaw described file system according to the instruction of described file system of thawing;
Metadata repairs module 802, and the metadata for occurring according to user is repaired instruction and repaired the metadata made a mistake.
Optionally, described device can also comprise information reporting module, and for reporting of user error message list so that user determines the metadata made a mistake, described error message list comprises the error message of the metadata made a mistake.
Described file system is freezed module and be can be used for performing the method described in aforementioned S503, S505; Described metadata reparation module can perform the method described in aforementioned S502, S504.Therefore can refer to and aforementioned description in embodiment of the method to be understood this device.
Visible, in the present embodiment, the list of the metadata made a mistake of having isolated that user can report according to kernel, state, by freezing file system, is repaired the metadata made a mistake.Owing to obtaining the list of the metadata made a mistake, without the need to carrying out error scanning as in prior art to file system, therefore can shorten repair time, reducing the time that file system is hung up, improve the efficiency of system
With reference to figure 9, it is the structural representation of a kind of computer system 900 that the embodiment of the present invention provides.Described computer system can perform the method in preceding method embodiment, concrete, and described computer system comprises:
Processor, and the storer be connected with described processor;
Wherein, described processor call the instruction that stores in described storer for:
Receive user in the instruction freezing file system determining to send after metadata makes a mistake, and freeze file system according to the described instruction freezing file system;
According to the metadata reparation instruction that user sends, the metadata made a mistake is repaired;
Receive the instruction of file system of thawing that user sends, and to thaw described file system according to the instruction of described file system of thawing.
Optionally, described processor also for:
To reporting of user error message list so that user determines the metadata made a mistake, described error message list comprises the error message of the metadata made a mistake.
Computer system described in the present embodiment is identical or similar with the structure of computer system described in Fig. 7, therefore, can understand in reference diagram 7 to the framework of associated description to the computer system in the present embodiment of described computer system.
Described computer system can be used for performing the method described in aforementioned S502, S503, S504, S505, therefore can refer to aforementionedly to understand this device the description in embodiment of the method.
Visible, in the present embodiment, the list of the metadata made a mistake of having isolated that user can report according to kernel, state, by freezing file system, is repaired the metadata made a mistake.Owing to obtaining the list of the metadata made a mistake, without the need to carrying out error scanning as in prior art to file system, therefore can shorten repair time, reducing the time that file system is hung up, improve the efficiency of system
Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.In addition, in device embodiment accompanying drawing provided by the invention, the annexation between module represents to have communication connection between them, specifically can be implemented as one or more communication bus or signal wire.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that plotting unit described in the embodiment of the present invention can add required common hardware by software and realize, and can certainly comprise special IC, dedicated cpu, private memory, special components and parts etc. realize by specialized hardware.Generally, all functions completed by computer program can realize with corresponding hardware easily, and the particular hardware structure being used for realizing same function also can be diversified, such as mimic channel, digital circuit or special circuit etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (26)

1. a file system maintenance method, is characterized in that, described method comprises:
When detecting that the metadata in described file system makes a mistake, determine whether the metadata of described mistake belongs to isolable metadata, described isolable metadata is for after making a mistake, and file system still can continue the metadata providing partial service;
When the metadata made a mistake described in determining belongs to isolable metadata, the described metadata made a mistake is set to read-only or inaccessible.
2. method according to claim 1, is characterized in that, described determine described in the metadata that makes a mistake whether belong to isolable metadata and comprise:
According to the described metadata made a mistake, and the data type of described metadata and whether isolable corresponding relation, whether the metadata made a mistake described in determining belongs to isolable metadata.
3. method according to claim 2, it is characterized in that, the data type of the metadata made a mistake described in described basis and described metadata and whether isolable corresponding relation, whether the metadata made a mistake described in determining belongs to isolable metadata comprises:
The data type of the metadata made a mistake described in acquisition;
Whether the metadata made a mistake described in determining according to the data type of the described metadata made a mistake and the meta data category table preset can isolate, and described meta data category table comprises data type and the whether isolable corresponding relation of metadata.
4. the method according to claim 1-3 any one, is characterized in that, described the described metadata made a mistake is set to read-only or inaccessible after, also comprise:
Whether the type of error of the metadata made a mistake described in determining is relevance mistake, and after described relevance misrepresentation mistake occurs, the metadata relevant to the described metadata made a mistake also there occurs mistake;
When determining that described type of error is relevance mistake, then metadata relevant for the described and described metadata made a mistake also is set to read-only or inaccessible.
5. method according to claim 4, it is characterized in that, whether the type of error of the metadata made a mistake described in judgement is that relevance mistake comprises: according to type of error, and type of error and be whether that the corresponding relation of relevance mistake determines whether described type of error is relevance mistake.
6. method according to claim 4 or 5, is characterized in that, the metadata that the described and described metadata made a mistake is relevant comprise depend on described in the metadata of metadata that makes a mistake.
7., according to described method arbitrary in claim 1-6, it is characterized in that, described method also comprises:
The error message of described mistake added in error message list, described error message list is used for the metadata made a mistake to report user.
8. a file system restorative procedure, is characterized in that, described method comprises:
Receive user in the instruction freezing file system determining to send after metadata makes a mistake, and freeze file system according to the described instruction freezing file system;
According to the metadata reparation instruction that user sends, the metadata made a mistake is repaired;
Receive the instruction of file system of thawing that user sends, and to thaw described file system according to the instruction of described file system of thawing.
9. method according to claim 8, it is characterized in that, described method also comprises:
To reporting of user error message list so that user determines the metadata made a mistake, described error message list comprises the error message of the metadata made a mistake.
10. a file system maintenance device, is characterized in that, described file system maintenance device comprises:
Metadata detection module, for when detecting that the metadata in described file system makes a mistake, whether the metadata made a mistake described in judgement belongs to can segregate metadata, described isolable metadata is for after making a mistake, and file system still can continue the metadata providing partial service;
Metadata isolation module, during for belonging to isolable metadata when the metadata made a mistake described in determining, is set to read-only or inaccessible by the described metadata made a mistake.
11. devices according to claim 10, is characterized in that, described metadata detection module specifically for:
When detecting that the metadata in described file system makes a mistake, according to the data type of the described metadata that makes a mistake and metadata and whether isolable corresponding relation, whether the metadata made a mistake described in determining belongs to isolable metadata.
12. according to claim 10 or 11 device, it is characterized in that,
Described metadata detection module also for: whether the type of error of the metadata made a mistake described in determining is relevance mistake, and after described relevance misrepresentation mistake occurs, the metadata relevant to the described metadata made a mistake also there occurs mistake;
Described metadata isolation module also for: when determining that described type of error is relevance mistake, then metadata relevant for the described and described metadata made a mistake also is set to read-only or inaccessible.
13. according to device described in claim 12, it is characterized in that, described metadata detection module specifically for: when whether the type of error for the metadata made a mistake described in judging is relevance mistake, according to type of error, and type of error and be whether that the corresponding relation of relevance mistake determines whether described type of error is relevance mistake.
14. according to claim 12 or 13 device, it is characterized in that, described metadata isolation module specifically for, when metadata relevant for the metadata of described and described mistake is also set to read-only or inaccessible, the metadata that the metadata of described and described mistake is relevant comprises the metadata of the metadata depending on described mistake.
15. according to described device arbitrary in claim 10-14, and it is characterized in that, described device also comprises:
Module is collected in error message, the error message of described mistake is added in error message list, and described error message list is used for the metadata made a mistake to report user.
16. 1 kinds of file system prosthetic devices, is characterized in that, described device comprises:
File system freezes module, for receiving user in the instruction freezing file system determining to send after metadata makes a mistake, and freeze file system according to the described instruction freezing file system, and receive the instruction of file system of thawing that user sends, and to thaw described file system according to the instruction of described file system of thawing;
Metadata repairs module, and the metadata for occurring according to user is repaired instruction and repaired the metadata made a mistake.
17., according to device described in claim 16, is characterized in that, described device also comprises:
Information reporting module, for reporting of user error message list so that user determines the metadata made a mistake, described error message list comprises the error message of the metadata made a mistake.
18. 1 kinds of computer systems, is characterized in that, described computer system comprises:
Processor, and the storer be connected with described processor;
Wherein, described processor call the instruction that stores in described storer for:
When detecting that the metadata in described file system makes a mistake, determine whether the metadata of described mistake belongs to isolable metadata, described isolable metadata is for after making a mistake, and file system still can continue the metadata providing partial service;
If described in the metadata that makes a mistake belong to isolable metadata, then the described metadata made a mistake is set to read-only or inaccessible.
19., according to computer system described in claim 18, is characterized in that, when whether the metadata made a mistake described in determining belongs to isolable metadata, described processor specifically for:
According to the data type of the described metadata that makes a mistake and metadata and whether isolable corresponding relation, whether the metadata made a mistake described in determining belongs to isolable metadata.
20. according to computer system described in claim 19, it is characterized in that, the data type of the described metadata according to described mistake, described metadata and whether isolable corresponding relation, when whether the metadata made a mistake described in determining belongs to isolable metadata, described computer system is used for:
The data type of the metadata made a mistake described in obtaining;
Whether the metadata made a mistake described in determining according to the data type of the described metadata made a mistake and the meta data category table preset can isolate, and described meta data category table comprises data type and the whether isolable corresponding relation of metadata.
21. according to claim 18-20 arbitrary computer system, it is characterized in that, described the described metadata made a mistake is set to read-only or inaccessible after, described processor also for:
Whether the type of error of the metadata made a mistake described in determining is relevance mistake, and after described relevance misrepresentation mistake occurs, the metadata relevant to the metadata of described mistake also there occurs mistake;
If described type of error is relevance mistake, then metadata relevant for the metadata of described and described mistake is also set to read-only or inaccessible.
22. according to computer system described in claim 21, it is characterized in that, when whether the type of error of the metadata made a mistake described in described judgement is relevance mistake, described processor specifically for: according to type of error and type of error and be whether that the corresponding relation of relevance mistake determines whether described type of error is relevance mistake.
23. according to claim 21 or 22 computer system, it is characterized in that, when metadata relevant for the metadata of described and described mistake is also set to read-only or inaccessible, described processor specifically for:
The metadata that the metadata of described and described mistake is relevant comprises the metadata of the metadata depending on described mistake.
24. according to claim 18-23 computer system, it is characterized in that, described processor also for:
The error message of described mistake added in error message list, described error message list is used for the metadata made a mistake to report user.
25. 1 kinds of computer systems, is characterized in that, described computer system comprises:
Processor, and the storer be connected with described processor;
Wherein, described processor call the instruction that stores in described storer for:
Receive user in the instruction freezing file system determining to send after metadata makes a mistake, and freeze file system according to the described instruction freezing file system;
According to the metadata reparation instruction that user sends, the metadata made a mistake is repaired;
Receive the instruction of file system of thawing that user sends, and to thaw described file system according to the instruction of described file system of thawing.
26., according to computer system described in claim 25, is characterized in that, described processor also for:
To reporting of user error message list so that user determines the metadata made a mistake, described error message list comprises the error message of the metadata made a mistake.
CN201510662628.2A 2015-10-14 2015-10-14 A kind of method and apparatus of file system maintenance and reparation Active CN105354102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510662628.2A CN105354102B (en) 2015-10-14 2015-10-14 A kind of method and apparatus of file system maintenance and reparation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510662628.2A CN105354102B (en) 2015-10-14 2015-10-14 A kind of method and apparatus of file system maintenance and reparation

Publications (2)

Publication Number Publication Date
CN105354102A true CN105354102A (en) 2016-02-24
CN105354102B CN105354102B (en) 2019-03-01

Family

ID=55330076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510662628.2A Active CN105354102B (en) 2015-10-14 2015-10-14 A kind of method and apparatus of file system maintenance and reparation

Country Status (1)

Country Link
CN (1) CN105354102B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861842A (en) * 2017-11-08 2018-03-30 郑州云海信息技术有限公司 A kind of metadata damage detection method, system, equipment and storage medium
CN109426586A (en) * 2017-08-25 2019-03-05 中兴通讯股份有限公司 A kind of data file restorative procedure, equipment and computer readable storage medium
CN110532032A (en) * 2019-07-31 2019-12-03 华为技术有限公司 A kind of booting file system detection method and relevant device
CN111209138A (en) * 2018-11-22 2020-05-29 浙江宇视科技有限公司 Operation and maintenance method and device of data storage system
CN114327662A (en) * 2021-12-30 2022-04-12 山石网科通信技术股份有限公司 Operating system processing method and device, storage medium and processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030164A (en) * 2006-02-28 2007-09-05 国际商业机器公司 Method of isolating erroneous software program components and system
US20120102280A1 (en) * 2010-08-31 2012-04-26 Hiroshi Nasu Management server and data migration method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030164A (en) * 2006-02-28 2007-09-05 国际商业机器公司 Method of isolating erroneous software program components and system
US20120102280A1 (en) * 2010-08-31 2012-04-26 Hiroshi Nasu Management server and data migration method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
佚名: "linux新内核的freeze框架以及意义", 《CSDN博客》 *
佚名: "修复损坏Linux文件系统", 《CSDN博客》 *
戴华等: "基于CTMO模型的数据库损坏数据隔离技术", 《计算机学报》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109426586A (en) * 2017-08-25 2019-03-05 中兴通讯股份有限公司 A kind of data file restorative procedure, equipment and computer readable storage medium
CN109426586B (en) * 2017-08-25 2023-05-12 中兴通讯股份有限公司 Data file repairing method, device and computer readable storage medium
CN107861842A (en) * 2017-11-08 2018-03-30 郑州云海信息技术有限公司 A kind of metadata damage detection method, system, equipment and storage medium
CN107861842B (en) * 2017-11-08 2021-10-15 郑州云海信息技术有限公司 Metadata damage detection method, system, equipment and storage medium
CN111209138A (en) * 2018-11-22 2020-05-29 浙江宇视科技有限公司 Operation and maintenance method and device of data storage system
CN110532032A (en) * 2019-07-31 2019-12-03 华为技术有限公司 A kind of booting file system detection method and relevant device
CN110532032B (en) * 2019-07-31 2021-01-05 华为技术有限公司 Startup file system detection method and related equipment
CN114327662A (en) * 2021-12-30 2022-04-12 山石网科通信技术股份有限公司 Operating system processing method and device, storage medium and processor

Also Published As

Publication number Publication date
CN105354102B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN105354102A (en) File system maintenance and repairing method and apparatus
CN102355368B (en) Fault processing method of network equipment and system
JP2016533655A (en) Fault management method, entity, and system
CN104765889A (en) Switching method and device of high-availability frame based on database
CN105260485A (en) Method and device for loading data
JP2020057416A (en) Method and device for processing data blocks in distributed database
CN111857998A (en) Configurable timing task scheduling method and system
CN113360579A (en) Database high-availability processing method and device, electronic equipment and storage medium
CN111901176B (en) Fault determination method, device, equipment and storage medium
WO2017220013A1 (en) Service processing method and apparatus, and storage medium
CN113965576B (en) Container-based big data acquisition method, device, storage medium and equipment
CN111342986A (en) Distributed node management method and device, distributed system and storage medium
CN107943615B (en) Data processing method and system based on distributed cluster
CN111988169B (en) Method, system, equipment and medium for cleaning and repairing abnormal disk of cloud platform
CN102752144B (en) Method and device for processing topology change in soft restart in-service software upgrade process
CN111309515B (en) Disaster recovery control method, device and system
CN111488117A (en) Method, electronic device, and computer-readable medium for managing metadata
CN115756955A (en) Data backup and data recovery method and device and computer equipment
CN110968456A (en) Method and device for processing fault disk in distributed storage system
CN110868340B (en) Testing method and device, reconfigurable tester and controller
CN114610567A (en) Container monitoring method, network device and storage medium
CN107590647A (en) The servo supervisory systems of ship-handling system
CN109254880A (en) A kind of method and device handling database delay machine
CN112148513A (en) Dump method and device for single point service data and storage medium
CN103793647A (en) System and method for processing virus files

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant