Contents
You cannot grow an XFS file system that is currently unmounted. There is currently no command to shrink an XFS file system. You can use the xfs_growfs command to increase the size of a mounted XFS file system if there is space on the underlying devices to accommodate the change.
Can XFS be resized?
CAUTION: It is currently not possible to shrink or reduce an xfs filesystem. Thus is it essential to ensure the device size is not larger than the intended size.
How do I resize XFS root partition in Linux?
How To resize an ext2/3/4 and XFS root partition without LVM
- Step 1: Check your current root disk capacity. For this demonstration, I have a CentOS 7 VM with below partition scheme. …
- Step 2: Extend your OS root disk. …
- Step 3: Grow VM partition. …
- Step 4: Resize ‘/’ partition to fill all space.