Method for updating file system and storage device

A file system and file update technology, applied in the storage field, can solve the problems of prone to failure, reduced storage device writing efficiency, data damage, etc., to achieve the effect of improving reliability, improving writing efficiency, and reducing the probability of data damage

Active Publication Date: 2013-12-11
浙江海宁经编产业园区开发有限公司
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the current storage structure, the super block is often stored at the head and tail of the disk or partition, so when operating the super block, the magnetic head needs to move a lot in a short time, which will make the storage device as a whole The write efficiency is greatly reduced, and at the same time, it is more prone to failure and data corruption.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for updating file system and storage device
  • Method for updating file system and storage device
  • Method for updating file system and storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0046] A typical application scenario of the present invention is in a network attached storage (Network Attached Storage, NAS), a specific network connection such as figure 1 shown in figure 1 Among them, the client is a user device such as a desktop computer, and the user sends an update request to the network switch through the user device, and the network switch forwards the request to the NAS device after receiving the user's update request It is decompo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a method for updating a file system and a storage device. The write-in efficiency of the storage device can be improved, meanwhile, the probability of data corruption caused by large-amplitude swinging of a magnetic head is reduced, and the reliability of data is improved. The method comprises the steps of receiving a file updating request sent by a client terminal, determining a physical address of the data to be updated in a magnetic disk according to a logic address, then, updating a file according to the data to be updated and the determined physical address, obtaining the transaction serial number to be updated and position information of the updated file in the file system which the file belongs to according to the updated file, and finally updating a first super block of the file system according to the transaction serial number to be updated and the position information of the updated file. The method is used for updating the file system in the storage device.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method for updating a file system and a storage device. Background technique [0002] Currently, the super block (super block) is the content at the beginning of the data stored on the disk. It contains file volume control information, as well as the disk’s sub-volume resource table and file sub-volume information. It is specifically used to store file system attributes and General information such as configuration information and real-time status information of the file system is usually located in a fixed location on the disk or partition. In order to improve the security of the super block, the super block is usually redundantly backed up in the disk or partition, that is, multiple super blocks are stored at the same time. After the data in the disk is updated, correspondingly, the superblock for saving the file system in the disk also needs to be updated. When the super ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/02
Inventor 李洪武孔晗蒲贵友
Owner 浙江海宁经编产业园区开发有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products