Make sure the drive security is not in frozen mode
- hdparm -I /dev/sdX | grep frozen
If not, these 2 commands will wipe the drive
- hdparm --user-master u --security-set-pass PasSWorD /dev/sdX - hdparm --user-master u --security-erase PasSWorD /dev/sdX
Source: https://wiki.archlinux.org/title/Solid_state_drive/Memory_cell_clearing