 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 | Run mediainit 20 times? |
|
  timcuth Braves Fan Premium join:2000-09-18 Pelham, AL clubs:
·AT&T Southeast
| reply to six9 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 ~ |
|
 six9
join:2001-12-03 Atlanta, GA
·Comcast
| reply to evilghost said by evilghost :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. |
|
  JohnInSJ Premium join:2003-09-22 San Jose, CA
·Comcast
| reply to six9 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 |
|
  timcuth Braves Fan Premium join:2000-09-18 Pelham, AL clubs:
·AT&T Southeast
| reply to timcuth said by timcuth :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 ~ |
|
 six9
join:2001-12-03 Atlanta, GA
·Comcast
| reply to JohnInSJ said by JohnInSJ :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 | reply to six9 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
| reply to six9 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 /& |
|
  leibold Premium,MVM join:2002-07-09 Sunnyvale, CA clubs: 
| reply to timcuth 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! |
|
  wendo Premium join:2003-03-05 Burke, VA
·Cox HSI
| reply to six9 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. |
|
  drjim Premium,MVM join:2000-06-13 Torrance, CA clubs: | reply to six9 Boot it from a DBAN floppy, and select the option you want. »dban.sourceforge.net/ -- One man's Magic is another man's Engineering. |
|
 cyclone_z
join:2006-06-19 Ames, IA
·Qwest.net
| reply to six9 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... |
|
 six9
join:2001-12-03 Atlanta, GA
·Comcast
| reply to drjim said by drjim :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: | 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
| said by drjim :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. |
|
 moschlegel
join:2004-09-18 Laurel, MD 3 edits | reply to six9 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: 
| 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
| reply to six9 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!" |
|