Linux works with a very secure file system which is known as ext, but in spite of that, it provides another file system like XFS. Today will explain how it works, and what unique features it has. One of the many questions people often ask is, if Linux has many file systems, then why would we use XFS? Let's take a look.XFS stands for Extended File System, which is highly scalable and performance-based file system, RHEL 7 default file system is XFS.Features of Extended File System:
How To increase XFS File System:
- Its provide quick and fast recovery
- Its support de-fragmentation
- Its provide quota as well journalization
- First, we create size 4 GB partition like:
- and change the ID with LVM id 8e
- create physical volume
- # vgcreate target /dev/vdb1
- create volume group
- # lvcreate -n data -L 1G target
- create Logical volume
- # mkfs.xfs /dev/target/data
- format the partition
- create a directory for mounting
- # mount /dev/target/data /space
- mount the partition
- check the partition, then the partition. Mount it successfully and then increase it.
- # lvextend -L +1G /dev/target/data -r
- If we use -r option then no need to run resize command.
- If you do not use -r option, then run the command.
- # xfs_growfs /dev/target/data
- # df -h
- Check the size of your file system and partition.
That is all I have for now. I hope you learned how to increase XFS file system and understood everything. If you have any questions about what I covered in this post, please comment below and I'll do my best to answer you. Thank you!