论文部分内容阅读
随着科学技术的发展,特别是人们需求的提高,对计算机系统的安全性和可靠性提出了更高的要求.顺应这一发展,本文提出了一个基于通用计算机网络实现磁盘镜像的系统.在UNIX中,应用程序通过文件系统调用接口完成对磁盘文件的操作.我们通过对文件系统调用的截取和功能扩充,实现了磁盘镜像.由于是在UNIX系统的核心空间中实现,因此镜像系统对于用户空间的应用程序来说是透明的.同时我们采用NFS来实现该系统的网络通信,这样不但可以减小系统实现的复杂程度,而且能够提高系统的可靠性.本文详细描述了磁盘镜像系统的设计思想、实现方法和主要数据结构.并对该系统进行了性能测试.最后作者说明了该系统的进一步发展方向.
With the development of science and technology, especially the improvement of people’s needs, the security and reliability of computer systems are put forward higher requirements. In response to this development, this paper presents a system based on a common computer network for disk mirroring. In UNIX, applications through the file system call interface to complete the operation of the disk file. We achieved disk mirroring by intercepting and expanding the file system calls. Because it is implemented in the core UNIX system space, the mirroring system is transparent to applications in the user space. At the same time, we use NFS to realize the network communication of the system, which can not only reduce the complexity of system implementation, but also improve the reliability of the system. This article describes in detail the design idea, implementation method and main data structure of the disk mirroring system. The system was tested for performance. Finally, the author explains the further development of the system.