basic parted usage

On a disk with no partition table, creating a GPT partition table, creating a partition that spans the whole disk and flagging it as RAID:

[root@somehost ~]# parted /dev/sde
(parted) mklabel gpt
(parted) mkpart primary 0% 100%
(parted) set 1 raid on