On 01/08/2013 02:36 PM, Carl T. Miller wrote:
> 1)   connect using ssh and stop all services
> 2)   swapoff /dev/sdXX
> 3)   shred -n5 -z -v /dev/sdX

I assume that all of the disks are to be shredded.  Shredding non-system 
disks wouldn't be difficult enough to ask about.  If you shred a mounted 
filesystem, the kernel will probably panic if it tries to read from the 
filesystem after shred starts overwriting data.

> 4)   echo 1 > /proc/sys/kernel/sysrq
> 6)   echo o > /proc/sysrq-trigger

You wouldn't be able to do that once shred had run.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to