The XFS file system is a 64-bit high-performance file system with very powerful features. Originally used in irix systems, how do you create and mount XFS file systems on Linux systems? Let's learn together with Xiaobian.
Question: I heard about a cattle X file system XFS, I am going to try XFS on my disk. What is the Linux command to format and mount the XFS file system?
XFS is a high-performance file system, and SGI is designed for their IRIX platform. Since porting to the Linux kernel in 2001, XFS has become the first choice for many enterprise systems due to its high performance, especially with large amounts of data that require structural scalability and stability. For example, RHEL/CentOS 7 and Oracle Linux use XFS as the default file system, and SUSE/openSUSE has long-term support for XFS.
XFS has many unique performance enhancements that make it stand out from many file systems, such as scalable/parallel IO, metadata logging, hot defragmentation, IO pause/resume, and latency allocation.
If you want to create and mount an XFS file system to your Linux platform, here are the relevant operational commands.
XFS system installation toolset
First, you need to install the XFS system toolset, which allows you to perform many administrative tasks associated with XFS. (eg format, extend, fix, set quotas, change parameters, etc.)
Debian, Ubuntu, Linux Mint system:
$ sudo apt-get install xfsprogs
Fedora, CentOS, RHEL system:
$ sudo yum install xfsprogs
Other versions of Linux:
$ sudo pacman -S xfsprogs
Create XFS format partitions
Prepare a partition to create XFS. Assuming your partition /dev /sdb, as follows:
$ sudo fdisk /dev /sdb
hypothesis partition called /dev /sdb1 created here.
Next, format the partition to XFS, using the mkfs.xfs command. If another file system has been created on this partition, you must override it with the “-f” parameter.
$ sudo mkfs.xfs -f /dev /sdb1
At this point you are ready to mount after formatting the partition. Suppose /storage is the XFS local mount point. Mount with the following command:
$ sudo mount -t xfs /dev/sdb1 /storage
Verify that the XFS mount is successful:
$ df -Th /storage
If you want to automatically mount XFS partition on the startup /storage, add the following line to /etc /fstab:
/dev /sdb1 /storage xfs defaults 0 0
The above is the introduction of the Linux system to create and mount the XFS file system. Since the XFS file system has very high performance, you can try the method described in this article if you want to use it on Linux.
The time of the Linux system is sometimes inaccurate. Inaccurate time will cause errors in the time
Quagga is a routing software that can turn Linux devices into routers and implement
Linux mint is a Linux distribution based on Debian and Ubuntu. It is now available in Linux mint17.
In order to test the read and write speed of Linux disk, you can use the dd command, the dd command
Steps to install KVM virtual machine in CentOS5.5
What is the command to specify the line in the Linux view file?
Linux configuration Python environment method
How to install Autossh on Linux system
How to create symbolic links for Linux systems
Linux uses PXE to install virtual machines
How to install Linux using logwatch
How Linux uses the shell to identify system bits
What should I do if the chmsee installation fails under the Ubuntu system?
How to expand Xen virtual hard disk space by Linux
How does the Linux system view the number of threads in a process?
A trick to get the win8 system wireless network often limited problem
Win10 monitoring? Teach you how to avoid Win10 monitoring you
Windows 7 Colorful Theme Customization and Sharing
How to do win10 desktop icon becomes bigger
Win10 64-bit Firefox browser open with flash web card death how to do
How to get the language in multiple languages in Windows 8
How to set the display language to English under Windows 10
Win8 dual system startup skills Enter Win7 without restarting