• Edit
  • Delete

Shred (Hetzner Server)

https://blog.joergboesche.de/linux-root-dedicated-server-festplatte-mit-shred-sicher-loeschen

Hetzner Robot: Boot into Rescue

  • fdisk -l
  • blkid
  • foreach /dev/mdX device
    • mdadm --stop /dev/md0
  • If you cannot remove a mdX device:
    • ls -ls /dev/mapper
      • foreach entry
      • dmsetup remove /dev/mapper/vg0-xxx
    • mdadm --stop /dev/md3
  • foreach hd
    • new ssh login
    • screen -S shred-a
    • shred /dev/sda --force --verbose --zero --iterations=1