Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] i dont know jack
@ 2002-07-25 15:43 Rick Vernam
  2002-07-25 16:19 ` James P. Kinney III
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Rick Vernam @ 2002-07-25 15:43 UTC (permalink / raw)
  To: parisc-linux

[-- Attachment #1: Type: text/plain, Size: 497 bytes --]

i work at place that gets tons of computer junk from companies that are getting rid of their equip.  one of our requirements is to kill the partitions on the HDs ( it is known that will no completely remove data, just make is a little more difficult to get too ).  so we are getting HP machines with pa-risc stuff and most wont boot ( i know enough to know how to initiate a boot ).  is there some way, using this parisc-linux that i can quickly kill partitions?

-Rick
rickvernam@hotmail.com

[-- Attachment #2: Type: text/html, Size: 981 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: [parisc-linux] i dont know jack
@ 2002-07-25 17:51 CARSON,KEVIN (HP-Canada,ex1)
  0 siblings, 0 replies; 8+ messages in thread
From: CARSON,KEVIN (HP-Canada,ex1) @ 2002-07-25 17:51 UTC (permalink / raw)
  To: 'Rick Vernam', parisc-linux

There are a couple of methods (assuming /dev/sda is the SCSI disk you wish
to erase):

1) dd if=/dev/zero of=/dev/sda bs=1M count=1

2) script parted or sfdisk to discover partitions and erase them

3) wipe -f -q /dev/sda

1 is the fastest.  Does little to none data protection.  2 is probably just
too fiddly and error prone.  3 is slow but does a reasonable four pass data
scrub of the whole disk as well as erasing the partitions.

Slow is relative.  It took 10.5 minutes to do an older 2GB drive on a 20
MB/s SCSI channel.  However, one could do these in parallel.  A rule of
thumb (based upon the assumption that recycling depots get old disks on old
SCSI channels) is about four disks in parallel per SCSI channel.  Of course,
this is really slow compared to the dd -- under a second on the same setup.

I can see three strategies for the setup:

A) Boot from a scsi disk to an external connector.

B) Boot from a network connector.

C) Remove the disks from the unit and access them through a testbed.

A is pretty straightforward but it assumes an external connector with
compatible SCSI (SE or differential, etc).  Adding a SCSI adapter is not
always an option as PA-RISC Linux doesn't drive HP-PB cards.

B is more effort to get the environment setup but may result in a simpler
process.  It still suffers from the lack of accessibility for anything
connected to HP-PB for instance.

C is more physical work but should probably always work.  A testbed unit
choice might be an older workstation with both differential and SE SCSI
connectors.  There would be the physical hassle of getting different
connector types hooked up but that is solved with various (custom) cables.

Hope this helps!

Kevin

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-07-25 22:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-25 15:43 [parisc-linux] i dont know jack Rick Vernam
2002-07-25 16:19 ` James P. Kinney III
2002-07-25 16:29 ` Juergen Braukmann
2002-07-25 17:16   ` Ralf Hildebrandt
2002-07-25 20:54   ` Sandy Harris
2002-07-25 22:57 ` Alan Cox
2002-07-25 22:41   ` Bryan W. Headley
  -- strict thread matches above, loose matches on Subject: below --
2002-07-25 17:51 CARSON,KEVIN (HP-Canada,ex1)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox