We've been using XFS with CentOS for a while now, but we always created the volumes post-kickstart as part of our puppet runs. After hearing that CentOS/RHEL 5.4 would support XFS in Kickstart, we gave it a try. It didn't really work the way we thought it would and started looking around in Google results. Sadly, this information isn't really written down anywhere, so here it is. We're not doing anything novel here, I just thought that I'd post it to save people a lot of time and trouble. Keep in mind that we don't create our root partitions with XFS (we still use EXT3 for that), but we do create our "data" partitions using XFS.
parted -s /dev/sdb mklabel gpt
parted -s /dev/sdb unit s mkpart primary 2048 100%
rpm -Uvhi /mnt/tmpnfs/src/xfsdump-2.2.46-1.el5.centos.x86_64.rpm
rpm -Uvhi /mnt/tmpnfs/src/xfsprogs-2.9.4-1.el5.centos.x86_64.rpm
/sbin/mkfs.xfs -f -d su=64k,sw=3 -l size=32m,su=16k -L /data /dev/sdb1
A NOLA native just trying to get by. I live in San Francisco and work as a digital plumber for the joint that runs this thing. (Square/Weebly) Thoughts are mine, not my company's.