Configuring a RAID drive with over 2TB

How do you configure a RAID drive with over 2TB? The usual way with fdisk didn't work. It turns out you need to use parted and give it a GPT disk label.