- Written by Alon Pekurovsky
- Posted on 3月 5, 2020
- Updated on 7月 2, 2026
- 14725 Views
A secure erase is generally defined as a command (or set of commands) that deliberately, permanently and irreversibly remove/destroy the data stored on a storage device, rendering that data unrecoverable. This feature securely erases the flash and optional SSD storage device(s) within an Arista switch. Specifically, it will secure erase the storage devices whose partitions mount to /mnt/crash, /mnt/drive, and /mnt/flash (as applicable). Then, it repartitions these storage devices and re-creates the filesystems for each of their partitions. In other words, the partition table of each storage device will be the exact same as before this secure erase procedure (MBR gets destroyed during a secure erase); each partition will have the same filesystem type and partition label, and be mounted to the same mount point with the same options. This makes it possible to boot EOS again; simply install a new boot-config and EOS SWI, then reboot (which can be done through Aboot/fullrecover).
