Is there a way to delete all content from a namespace?

Aerospike does not have a single command to delete all data from a namespace. For SSD or rotational disks, you will need to take down all nodes and DD the drives (SSD) or deleter the persistence file configured for the namespace.