knowledge/technology/linux/filesystems/XFS.md

30 lines
700 B
Markdown
Raw Permalink Normal View History

2023-12-18 23:21:12 +00:00
---
obj: filesystem
wiki: https://en.wikipedia.org/wiki/XFS
---
# XFS
XFS is a high-performance, scalable file system designed for Unix-like operating systems. It was originally developed by Silicon Graphics, Inc. (SGI) and later open-sourced. XFS is known for its robustness, advanced features, and suitability for large-scale storage environments.
## File System Creation and Management
Creating an XFS file system can be done using the mkfs.xfs command:
```shell
mkfs.xfs /dev/sdX
```
To mount an XFS file system, use the mount command:
```shell
mount -t xfs /dev/sdX /mnt/point
```
Grow the filesystem:
```shell
xfs_growfs /mnt
```
Get information on filesystem:
```shell
xfs_info /mnt
```