Pages

Monday, March 28, 2011

Create and mount xfs filesystem

Couldn't be easier:

$ sudo apt-get install xfsprogs
$ sudo mkfs.xfs /dev/sdf
Add to fstab:
/dev/sdf   /my/location   xfs  defaults,nobootwait,noatime    0    0
This was tested on Amazon EC2 with EBS volumes.