The concept of network block device is to virtualize the remote resources accessed by the network into a local block device. This article discusses in detail the design and development of a new network block device LNBD (Lan Network Block Device) based on Linux. It is implemented in the form of system modules and can be used as the basis for implementing NC with Linux as the operating system. It can also provide an optional means for local Linux systems to share network resources. Keywords: LNBD kernel Linux already had NBD (Network Block Device) and ENBD (Enhanced Network Block Device) before the network block device was proposed. NBD was added to the kernel tree of the Linux kernel in 1998. ENBD is a further improvement of NBD. The features of ENBD are as follows: multi-connection channel communication, and the daemon process can automatically re-authenticate and establish connections for failed and lost connection channels. The SSL layer can be transparently used for encrypted transmission; removable media such as floppy disks and optical disks are supported; partition operations on network block devices are supported, etc. The purpose of the network block device is to simulate a block device through the driver layer. The block device has no actual hardware, provides data to the local machine through the network, and establishes a file system on it. In this way, the network can be transparent to users and file systems with minimal changes to the OS. The file system accesses the network block device just like accessing the local block device. The network block device accessed by the client can be a whole disk, partition or a file on the server side. GNU/Linux has been a new operating system in recent years. It has developed rapidly. The Linux kernel is small, powerful, stable and robust. Not only is the operating system itself widely popularized and recognized, but more and more manufacturers and individuals are involved in the development and support of applications based on Linux. This makes it possible to build NC using LINUX. Building NC based on LINUX has the following unique advantages: Low cost: Linux and many open source codes built on it are released based on GPL and can be obtained and used for free. Open source code: Linux source code is open, which is very suitable for cutting, modifying and adapting to NC needs as needed. Open source code itself does not have the problem of malicious backdoor risks.
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore