What do mkfs.xfs and modprobe do when mounting an Amazon EBS instance?

view full story

http://unix.stackexchange.com – I'm looking through this guide for how to add an EBS volume to an Amazon EC2 instance, and I've found this little part of instructions hard to follow: Create an XFS file system on the EBS volume and mount it as /vol grep -q xfs /proc/filesystems || sudo modprobe xfs sudo mkfs.xfs /dev/sdh echo "/dev/sdh /vol xfs noatime 0 0" | sudo tee -a /etc/fstab sudo mkdir -m 000 /vol sudo mount /vol You now have a 10 GB (or whatever size you specified) EBS volume mounted under /vol with an XFS file system, and it will be automatically mounted if the instance reboots. I don't believe I have m (HowTos)