Extending XFS File Systems

In order to extend the XFS file system, you have to first modify the file system with new size as given below.

1. In our example the initial size of drive was 1 GB and we are going to extend the drive by 500 MB.

xfs-6

 

2. Now mount the file system again.

3. And user xfs_growfs command to the file system.

xfs-7

4. Check the system with df  -h command.

xfs-8