Enable the xfs File System on Linux-general Linux technology-Linux technology and application information. The following is a detailed description. XFS file system Introduction: xfs is a high-performance Log File System on the IRIX system developed by sgi. It is transplanted to linux and open-source with GPL protocol.
Linux: CentOS 5 does not support xfs by default.
1. Use yum to upgrade kernel and xfs module.
Edit/etc/yum. repos. d/CentOS-Base.repo
[Centosplus]
Enabled = 1
2. Use yum to upgrade and install the relevant rpm
Yum update kernel-2.6.18-8.1.15.el5.centos.plus xfsprogs kmod-xfs-0.4-1.2.6.18_8.1.15.el5.centos.plus
3. modeprobe xfs
Lsmod | grep xfs
Xfs 481240 1
Dmesg
If the following information is displayed, the xfs module is loaded successfully.
Sgi xfs with ACLs, security attributes, realtime, large block numbers, no debug enabled
Sgi xfs Quota Management subsystem
4. format the xfs file system. Assume that sda3 in the original system is/opt.
Stop and/opt partition related applications and back up
Cp-a/opt/*/bakcup/opt
Umount/opt
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.