Re: wiping out data on a disk (no physical acess to the machine)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux