A method for realizing off-line file writing in a san shared file system
A technology for sharing files and writing files, which is applied in transmission systems, redundancy in computing, data error detection, electrical components, etc. It can solve problems such as SAN network paralysis and client inability to communicate, so as to improve security and improve The efficiency of file writing and the effect of ensuring continuity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] This embodiment is a method for offline writing files in a SAN shared file system. The hardware system used in the method is as figure 1 As shown, it includes: multiple clients are connected to a metadata server and a disk array through a SAN network that transmits video files, and the multiple clients are connected to a metadata server through a LAN network that transmits metadata. The client can be an ordinary PC workstation or a server, with the ability to connect to a SAN network, and can process large files, such as high-definition video files. The SAN network described in this embodiment is an optical fiber network composed of fiber optic switches and optical cables. It is a broadband network with a bandwidth exceeding 1G. It can transmit high-definition video files. It can also form a SAN with a thousand or ten thousand M high-speed Ethernet. The internet. The LAN network described in this embodiment is an Ethernet network consisting of Ethernet switches and using...
Embodiment 2
[0032] This embodiment is an improvement of the first embodiment. It is about the refinement of the metadata of the pre-amount space of the disk in the "step of obtaining metadata" in the first embodiment. The process is as follows: image 3 Shown. In this embodiment, the client terminal obtains the metadata of the disk pre-amount space including the following sub-steps:
[0033] (1) The sub-step of detecting whether there is an original record: it is used for the client to check whether there is a backup of the metadata of the pre-amount space in the local memory or hard disk, if "no", then enter the "sub-step of opening up storage space", if "Yes" goes to the next substep.
[0034] This sub-step is a detection and judgment step to judge whether the metadata of the disk pre-amount space already exists in the local hard disk or memory. The existence of metadata generally means that the client has previously used the client to write data and the offline writing function is turned o...
Embodiment 3
[0046] This embodiment is an improvement of the above embodiment. It is a refinement of the above embodiment regarding offline file writing. The process is as follows Figure 4 Shown. The step of writing a file offline described in this embodiment includes the following sub-steps:
[0047] (1) The sub-step of detecting whether the client has the backup metadata of the pre-amount space: it is used for the client to check the local memory or hard disk, whether there is the metadata backup of the pre-amount space, if not, enter the "file write End sub-step", if there is, go to the next sub-step.
[0048] (2) The sub-step for the client to detect whether the backup of the backup metadata is valid: it is used for the client to detect whether the metadata of the pre-amount space in the local memory or the hard disk is valid, if "No", enter the "file writing end step" ", if "Yes" go to the next step.
[0049] (3) The sub-step of using backup metadata to write files: the client obtains th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 