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

Re: Erasing disks with OpenBSD



A quick branch of this question, does anyone know how long this operation
should take for a 9 GB scsi drive? Experience from M$'s format utility says
about 45 mins to an hour, although I am sure this is a bad benchmark to
judge from, it is the only one that I have at this time.

Tim Donahue

-----Original Message-----
From: rabbit [mailto:rabbit_(_at_)_kotnet_(_dot_)_org] 
Sent: Wednesday, October 16, 2002 12:59 PM
To: Tim Donahue
Cc: misc_(_at_)_openbsd_(_dot_)_org
Subject: Re: Erasing disks with OpenBSD


Use something like:

dd if=/dev/zero of=/dev/{diskdevice}

eg. if you wanted to erase your second scsi disk (sd1):

dd if=/dev/zero of=/dev/sd1c

!!! BE VERY CAREFUL WITH THIS !!!
You can easily delete a disk you didn't want to delete :)


 - rabbit

On Wed, 16 Oct 2002, Tim Donahue wrote:

> I have a server that I recently replaced, and I would like to erase 
> the disks from that server to keep as cold spares for my RAID arrays 
> that use the same type of disk.  I erased the partitions with 
> disklabel, but would like to wipe any information on the disks, not 
> for security, but rather so that the disk is a blank slate if it is 
> ever needed.
>
> Can someone point me in the right direction, for what I would like to 
> do?  I thought that I could used dd to do this, but after reading the 
> man page on it, it seems that dd is only really used for imaging...
>
> Thanks for your help.
>
> Tim Donahue



Visit your host, monkey.org