Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » Need to wipe some drives - HP-UX
Uniqs:
1777
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
December Desktops »
« Sufficient Server?  
six9

join:2001-12-03
Atlanta, GA
·Comcast


1 edit

Need to wipe some drives - HP-UX

Hello everyone. I've been trying to find a way to wipe an old HP D370 with a 12H unit attached and it's been easier said than done. This box is running some version of HP-UX (tell me how to find and I'll tell you the version). It is a PA-RISC box.

Now then, I need to wipe the drives on the 12H as well as the main drives. I want to do the DoD wipe, you know the whole nine yards. But here's the problem. Just about every free wipe utility I find is for x86, Windows, or Linux. I have tried the suggestions at »unix.derkeiler.com/Mailing-Lists···056.html to no avail, yet. I've tried bcwipe but cannot get it to install (I think the compiler is too old) and the yack script referred to on that page will not complete (I'm still looking into that).

Anyone have any suggestions for a free disk wipe utility for HP-UX? I would try DBAN or the ultimate boot CD if I thought it would work and if I thought I could boot off CD with this thing.

TIA...if you need more info, I'll try to provide.

EDIT: Topic to make it more clear

evilghost
Premium
join:2003-11-22
Springville, AL

Re: Need to wipe some drives - HP-UX

Run mediainit 20 times?
six9

join:2001-12-03
Atlanta, GA
·Comcast

Re: Need to wipe some drives - HP-UX

said by evilghost See Profile :

Run mediainit 20 times?
I thought about that. Maybe not that many times though. Would almost be easier to put the drives in another box and run a pc wipe on them.

I started a dd if=/dev/zero /dev/rdsk/c0t10d0 or something of that nature this morning and it hasn't stopped (I can't remember verbatim). It's on a 18 gb and I have like 12 36 gb drives to do.

wendo
Premium
join:2003-03-05
Burke, VA
·Cox HSI

Re: Need to wipe some drives - HP-UX

the dd will take several hours on an 18 gb drive, probably 7 hours plus depending on the speed of the drive. but it will hit ever sector and even one pass will be quite secure. if there is really important info on the drive, you could always set up a little shell script and do it 7 times, alternating between /dev/zero and /dev/random. that would meet US federal guidelines for wiping a drive. not even the nsa would be able to recover it. just let it run over the weekend, should be finished by monday morning.

timcuth
Braves Fan
Premium
join:2000-09-18
Pelham, AL
clubs:
·AT&T Southeast

In Solaris, the standard format command has an option to destructively wipe a disk. My system administrator was telling me about it, but I don't remember the details. He said it runs a long time, too.

Tim
--
"Love consists in overestimating the difference between one woman and another" - George Bernard Shaw
~ Project Hope ~

timcuth
Braves Fan
Premium
join:2000-09-18
Pelham, AL
clubs:
·AT&T Southeast

Re: Need to wipe some drives - HP-UX

said by timcuth See Profile :

In Solaris, the standard format command has an option to destructively wipe a disk. My system administrator was telling me about it, but I don't remember the details. He said it runs a long time, too.

Tim
I have been checking the man pages, it was apparently not the format command. Buf I am sure it was some standard part of the OS or its utilities. Sorry, it was a couple of years ago when he was telling me about it.

Tim
--
"Love consists in overestimating the difference between one woman and another" - George Bernard Shaw
~ Project Hope ~

leibold
Premium,MVM
join:2002-07-09
Sunnyvale, CA
clubs:

Re: Need to wipe some drives - HP-UX

It was the format command and the option was 'purge' which would write alternative 1s and 0s at every accessible data location: see here

I'm not aware of a similar option in HP-UX, but it is easy enough to do the same with dd.
--
Got some spare cpu cycles ? Join Team Helix or Team Starfire!

JohnInSJ
Premium
join:2003-09-22
San Jose, CA
·Comcast

Do you need the disks? Because you could probably use a hammer or some really big magnets a lot faster. The dd should do it, but if someone was highly motivated a single write still leaves enough charge to recover the data - assuming we are talking NSA or somesuch.
--
My place : »www.schettino.us
six9

join:2001-12-03
Atlanta, GA
·Comcast

Re: Need to wipe some drives - HP-UX

said by JohnInSJ See Profile :

Do you need the disks?
Well the idea is to attempt to sell the machine. I know, not a lot of market for it. It's probably worth more in parts. The 12H contains 12 36Gb 10k drives (Seagate Cheetahs around 2 years old) The computer part has 18gb drives and I'm not sure the age.

shdesigns
Powered By Infinite Improbabilty Drive
Premium
join:2000-12-01
Stone Mountain, GA
dd if=/dev/zero sounds the best.

If you increase the block size, it should go a bit faster

sempergoofy
Premium
join:2001-07-06
Smyrna, GA
·AT&T Southeast

Definitely increase the blocksize to decrease the time. Something like this:
dd if=/dev/zero of=/dev/whatever bs=1M

You can consider using /dev/urandom (which will not block when entropy is exhausted) instead of /dev/zero. Depends on your level of paranoia.
--
nohup rm -fr /&

drjim
Premium,MVM
join:2000-06-13
Torrance, CA
clubs:
Boot it from a DBAN floppy, and select the option you want.
»dban.sourceforge.net/
--
One man's Magic is another man's Engineering.
six9

join:2001-12-03
Atlanta, GA
·Comcast

Re: Need to wipe some drives - HP-UX

said by drjim See Profile :

Boot it from a DBAN floppy, and select the option you want.
I thought about that one, but was not sure DBAN would run on a PA-RISC processor. Add to that the box does not have a floppy nor any USB ports for a portable.

I've turned to running dd /dev/zero and will add /dev/random to that on Monday. The last thing I will do is a mediainit on the RAID, delete the LUNs, shuffle the drives and recreate the LUNs. The drives in question at one time contained critical business files. I really just want to be able to assure management that we can eBay them and be reasonably sure it would be cost prohibitive to try to resurrect any data. I think that method should do that.

The 18 gig drives I think are 10k but I know the 36 gig drives are 10k drives made in 2005.

Thanks y'all for all the suggestions. This one was driving me crazy searching for a solution. You all rock.

drjim
Premium,MVM
join:2000-06-13
Torrance, CA
clubs:

Re: Need to wipe some drives - HP-UX

Ahhhhh...I have *zero* experience with that hardware, so I "shot from the hip".
--
One man's Magic is another man's Engineering.
six9

join:2001-12-03
Atlanta, GA
·Comcast

Re: Need to wipe some drives - HP-UX

said by drjim See Profile :

Ahhhhh...I have *zero* experience with that hardware, so I "shot from the hip".
Me either man...me either. That's probably why it's been such a "project" to get done. The subtle differences between HP-UX and RHEL are almost enough to make me pour a glass of Jack in the evening.
cyclone_z

join:2006-06-19
Ames, IA
·Qwest.net

If you want to find out what release of UNIX it is running, type
uname -a
that's pretty standard for any UNIX system. I will come back with something like
HP-UX yoursystemname B.11.00 9000/887

The B.11.00 part (or similar) is the HP-UX release. Probably the best way is to just use random numbers and do several passes. If it takes a while you could just write a script using the POSIX shell or Perl...
moschlegel

join:2004-09-18
Laurel, MD

3 edits
how about this one, Allegro Wipedisk:

»www.allegro.com/products/hp9000/···isk.html

(edit removed bad link)

Mark

leibold
Premium,MVM
join:2002-07-09
Sunnyvale, CA
clubs:

Re: Need to wipe some drives - HP-UX

The first link (containing hp9000) is correct for HP-UX servers. The second link (containing hp3000) is for the MPE operating system. While some HP servers where marketed with essentially identical hardware for both operating systems, as far as I know the D-series only supported HP-UX.
--
Got some spare cpu cycles ? Join Team Helix or Team Starfire!
BosstonesOwn

join:2002-12-15
Everett, MA
clubs:
·Comcast

for solaris /dev/zero and /dev/random I have used 10 times to get them ready for transport to the iron works where they get melted.

Haven't used HP-ux in quite a while and don't know if it carries over. I do know however you should use -p switch to actually force an overwrite of even the remapped sectors. Or some data can be recoverable.
--
"It's always funny until someone gets hurt......and then it's absolutely friggin' hysterical!"
Forums » Tech and Talk » OS and Software » All Things UnixDecember Desktops »
« Sufficient Server?  


Wednesday, 25-Nov 22:45:46 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [105] New AT&T Ad Campaign Hits Back At Verizon
· [94] Apple Joins AT&T Verizon Snark Fest
· [85] New Bill Takes Aim At Higher Verizon ETFs
· [80] Time Warner Cable Fires Broadside At Broadcasters
· [56] TiVo Sees Record Customer Losses
· [48] In-Flight Internet Headed For Bumpy Landing?
· [32] Senators Want ACTA Made Public
· [30] Earthlink Suffers From Major E-mail Outage
· [30] AT&T Offers New Prepaid Wireless plans
· [28] Frontier Increases Modem Rental Fee
Most people now reading
· Shutting of Electricity Temporarily (up to 1 yr) to Save $$$ [Home Repair & Improvement]
· I'll Just Unplug That... [No, I Will Not Fix Your #@$!! Computer]
· Slow speeds in the evenings [TekSavvy]
· Windows 7 boot manager editing questions [Microsoft Help]
· [ Classes] Druid tanking: rotation and glyphs [World of Warcraft]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· What is the spell hit cap for a lvl 80 full arcane spec mage [World of Warcraft]
· No Newegg connection [General Questions]
· Reasons #137/#138 to Love Windows Home Server [Microsoft Help]
· Whats the big deal about being "Old School"....? [World of Warcraft]