How to install xfs and create xfs file system on Debian/Ubuntu Linux

To install xfs utilities on Debian/Ubuntu Linux, you can use the following command:

 
sudo apt-get update
sudo apt-get install xfsprogs

To create an xfs file system on a disk or partition, you can use the mkfs.xfs command, followed by the disk or partition name. For example:

 
sudo mkfs.xfs /dev/sdb1

This creates an xfs file system on /dev/sdb1. You can then mount the file system using the mount command.

Leave a Comment