parted -s /dev/$dev mklabel gpt unit TB mkpart primary 0.00TB 3.00TB print && cryptsetup --batch-mode -c aes -s 256 -h sha256 luksFormat --key-file=<key_path> /dev/${dev}1 c && cryptsetup open --type luks --key-file=<key_path> /dev/${dev}1 c && mkfs -t ext3 /dev/${dev}1 && mount /dev/${dev}1 /satadisk