Unlock instant, AI-driven research and patent intelligence for your innovation.

File access method and device

A file and file system technology, applied in the information field, can solve problems such as business interruption, reliability reduction, and network non-communication

Active Publication Date: 2016-06-29
HUAWEI TECH CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if there is a host network card failure or a switch port failure, a network failure or a software failure, it may cause the cluster file system to be divided into two or more subnetworks. The networks in the subnetworks are interconnected, but in each divided network are not interoperable
[0003] In the prior art, when the network partition occurs in the cluster file system, in order to ensure that the cluster file system does not hang, some servers must be removed from the cluster file system, then the applications on the hosts removed from the cluster file system cannot access the cluster file system, resulting in business interruption. In order to ensure business continuity, the virtual machine can only be shut down and then started on other hosts. Therefore, when the network is divided, the reliability of accessing the cluster file system is reduced.

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
  • File access method and device
  • File access method and device
  • File access method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] 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 some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0029] It should be understood that the technical solutions of the embodiments of the present invention can be applied to various file systems, for example, a cluster file system based on a storage area network (English full name: StorageAreaNetwork, referred to as: SAN), or a distributed file system based on a local disk, etc. This embodiment of the present invention does not limit it.

[0030] For the sake of brevity, the embodiment of the present in...

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 invention discloses a file access method and device.The method comprises the steps that a file system is determined in a network division state, the file system operates on a plurality of hosts, the network partition state indicates the file system to be divided into at least two zones, and networks between the two zones are not communicated; the access request of a first file is received; a first host identification corresponding to the access request is acquired; the first host identification is determined to be consistent with a second host identification configured for the first file in the file system, and the first file is accessed.According to the file access method and device, the reliability for accessing the cluster file system when the networks are divided can be improved.

Description

technical field [0001] The present invention relates to the field of information technology, and more particularly, to a method and device for accessing files. Background technique [0002] Multiple hosts in a cluster file system or distributed file system are connected together through a switch to form an interoperable network. Multiple hosts access shared resources in a mutually exclusive access mode, for example, multiple hosts simultaneously write A file, at this time, use distributed locks to ensure mutual exclusion. Only when a host finishes writing, release the lock, and other hosts can continue to write. However, if there is a host network card failure or a switch port failure, a network failure or a software failure, it may cause the cluster file system to be divided into two or more subnetworks. The networks in the subnetworks are interconnected, but in each divided network are not interoperable. [0003] In the prior art, when the network partition occurs in th...

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): G06F17/30
CPCG06F16/183
Inventor 沈灿泉
Owner HUAWEI TECH CO LTD