fdisk
empty primary partition

echo -e "o\nn\np\n1\n\n\nw" | fdisk /dev/sda

empty primary LVM partition


echo -e "o\nn\np\n1\nt\n8e\nw" | fdisk /dev/sda

Parted
empty primary partition

parted -s -a -optimal - /dev/sda mkpart primary 1MiB -2048s

SCSI rescan

for host in /sys/class/scsi_host/*;do echo "- - -" > $host/scan;done

LIP reset

for host in /sys/class/fc_host/*;do echo 1 > $host/issue_lip;done