Use XFS file system in Linux Environment

xiaoxiao2021-03-06  70

The XFS file system is the advanced log file system developed by SGI, and XFS is extremely scalable, very robust. Fortunately, SGI transplants it into the Lin UX system. In the Linux environment. The latest version of the latest XFS file system available is 1.2, which can work well under the core of 2.4. I. The main characteristics of the XFS file system include the following points: Data completeness adopts XFS file system. When it is convicted, first, because the file system turns on the log function, the file on your disk will no longer be unexpected. The machine was destroyed. Regardless of the files and data stored on the current file system, the file system can quickly recover the disk file content in a short period of time according to the recorded log. The transmission characteristic XFS file system adopts an optimization algorithm, and logging is very small for the overall file operation. XFS queries and allocated storage are very fast. The XFS file system can continuously provide a fast response time. The author has tested the XFS, JFS, EXT3, and Reiserfs file systems, and the performance performance of the XFS file file system is quite out. Scalability XFS is a full 64-bit file system that supports millions of T bytes storage space. Support for extra large files and small size files behaves out of public, supporting a large number of directories. The maximum supportable file size is 263 = 9 x 1018 = 9 Exabytes, the maximum file system size is 18 exabytes. XFS uses a high surface structure (B tree) to ensure that the file system can quickly search for fast space allocation. XFS can continue to provide high-speed operation, and the performance of the file system is not limited by the directory and the number of files. The transmission bandwidth XFS can store data with performance of Naked Device I / O. In the test of a single file system, its throughput can be up to 7GB per second, and the read / write operation of a single file, its throughput can reach 4GB per second. Second, the use of the XFS file system 1. Download and compile the kernel download the corresponding version of the kernel patch, unzip the patch package, download the system core patch download address: After the core is patch, download the decompression, get a file: XFS-1.1-2.4.18-all.patch file. The core is repaired as follows: # CD / usr / src / linux # patch -p1 SGI XFS FileSystem Support ## Description: Compile the XFS file system into the core or SGI XFS FileSystem Support # # Description: Supported the XFS file system in a dynamic loading module, there are two options: Enable XFS DMAPI ## Description: API-managed API, storage management application uses Enable XFS Quota ## Description: Support with Quota to users After using the disk space size management, exit and save the core selection configuration. After the core, then compile the core, install the core: #make bzimage #make module #make module_install #MAKE INSTALL If you have the above complex cumbersome work is not patient or not Grasping, then you can download the core from the SGI site, and the version is 2.4.18.

转载请注明原文地址:https://www.9cbs.com/read-92661.html

New Post(0)