format a volume as xfs

listed in answer

format a volume as xfs
0 votes, 0.00 avg. rating (0% score)

ANSWER:

The mkfs.xfs worked fine; you got an error on mount because you’re trying to mount the wrong thing. Try mount /dev/sdf1 /data and things will probably work out significantly better. Or you could edit your /etc/fstab to reflect the correct device-to-mountpoint mapping, and then use mount /data as you’ve been doing.

by womble from http://serverfault.com/questions/377492