1834020 Members
2824 Online
110063 Solutions
New Discussion

Re: Scrub Disks

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Scrub Disks

I have to scrub a lot of Jamaica drives. Like 100 or so.

Is there a script available that will do something like an ioscan and remove the data for every device?

Or a dd script available ?
I remember destructive data blocks as an alternative but I dont remember how to do it.

UNIX IS GOOD
4 REPLIES 4
Sandman!
Honored Contributor
Solution

Re: Scrub Disks

Use dd with the device special file /dev/zero as input i.e.

# dd =if=/dev/zero of=/dev/dsk/c#t#d# bs=1024k
Nobody's Hero
Valued Contributor

Re: Scrub Disks

How about the OS disks?

UNIX IS GOOD
Peter Godron
Honored Contributor

Re: Scrub Disks

A. Clay Stephenson
Acclaimed Contributor

Re: Scrub Disks

The same technique can be used for the OS disks. Do them last and at some point the box will crash but enough data will have been clobbered that it will suffice for all but the most rigorous security demands. For those, the best solution is a hammer.
If it ain't broke, I can fix that.