Metadata backup and recovery method based on file storage system
A file storage and recovery method technology, which is applied to redundant data error detection, electrical digital data processing, response error generation and other directions in the operation, can solve the problems of no good repair effect, long repair time, etc. Reliable design principle, improve recovery speed, and reduce the effect of data loss
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Such as Figure 1-4 As shown, the embodiment of the present invention provides a metadata backup and recovery method based on a file storage system, including the following steps:
[0045] Step 1: Design the import and export interfaces of omap objects; in this step, metadata objects: members in the metadata pool, non-omap objects: members in the metadata pool, stat It can be viewed, usually the object size is greater than 0; through listomapvals and getomapheader View object does not have (key, value) and header.
[0046] omap object: a member in the metadata pool, the length of the object is equal to 0, and can be passed through listomapvals and getomapvals View the object's (key, value) or header.
[0047] Export omap object command, used to export the binary of omap object key, value, header to a file.
[0048] The storage format of the metadata information exported to the file is as follows:
[0049]
[0050] headerlen, keylen, and valuele...
Embodiment 2
[0073] Embodiments of the present invention provide a metadata backup and recovery method based on a file storage system, comprising the following steps:
[0074] Step 1: Design the import and export interface of the omap object; in this embodiment, when the designed omap object imports and exports the interface, the header, key, and value of the omap object are directly exported in the form of hexadecimal to a local file, and the header , key, and value occupy one line each, and do not need headerlen, keylen, and valuelen. When importing, it is read by line, and the omap object can also be restored.
[0075] Step 2: Design a metadata backup script to call storage system commands or linux commands, and backup metadata objects in the file system at set intervals;
[0076] Step 3: Design a metadata recovery script. When metadata is damaged, restore a single metadata object or all backup metadata objects.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com