1825768 Members
2327 Online
109687 Solutions
New Discussion

need direction

 
justin_29
New Member

need direction

I looking into wiping a hp 9000 running hp-ux 11. Can anyone point me towards good resources on how to do it the right way. Let me know if you need to know more specific info... i'm a windows guy
10 REPLIES 10
Pete Randall
Outstanding Contributor

Re: need direction

If, by wiping, you mean cleaning it of everything useful, you could always do this (as root):
cd /
rm -rf

Pete

Pete
PIYUSH D. PATEL
Honored Contributor

Re: need direction

Hi,

go to root

rm -rf *

You can also export the volumegroups by

vgexport /dev/vg01

#mediainit -v /dev/rdsk/c1t2d0

do a mediainit for all the disks in the system or

#pvcreate -f /dev/rdsk/c1t2d0


These two commands will format the disks.

Piyush
MANOJ SRIVASTAVA
Honored Contributor

Re: need direction

Hi Justin


There are two aspects to it

1.Do you need data , if so then it will be better you take abckups and also take backups ora tleast a hard copy of the importasnt system files inc ae you are asked to reterive some data after sometime.

2.The wiping stuff is simple , geranlly you would need to delete the root disk , (incase you are loading new OS then you dont even need to do this new OS laoding will take care of wiping )and alos the data from the data disks , you can use rm -rf < directory name >


Manoj Srivastava
Shahul
Esteemed Contributor

Re: need direction

Hi

For wiping out there are n number of ways. If U want to make a system non bootabl, go to /stand and do this

#cd /stand
#rm vmunix*

If U want to delete the contents of a HDD, U can use this command

#pvcreate -f /dev/rdsk/cxtxdx

If U want to delete all data regardless of HDD, do this

#cd /
#rm -r

best of luck
Shahul
Martin Johnson
Honored Contributor

Re: need direction

How about a damp cloth?


:-)
Marty
Christopher McCray_1
Honored Contributor

Re: need direction

That was bad, Marty..

Boooooo!!

;^)

Chris
It wasn't me!!!!
harry d brown jr
Honored Contributor

Re: need direction

Justin,

more info is needed.

--> What do you mean by "wipe"

--> What does your system look like now? Maybe post the output from "/opt/ignite/bin/print_manifest"?

--> What do you plan on using the server for or are you planning on disposing it?


live free or die
harry
Live Free or Die
Christopher McCray_1
Honored Contributor

Re: need direction

Hello,

I'm assuming you are referring to a government system. If the server is unclassified, then the afore mentioned mediainit command will suffice and removing all of your network-specific information from vg00 is fine unless you were storing data on vg00. You may then want to use a degauser in this case. If the classification is higher, you need a DoD erase program like Unishred for hpux. I don't have one and all I can say is talk to your security folks about this.

Hope I was helpful

Chris
It wasn't me!!!!
harry d brown jr
Honored Contributor

Re: need direction

Justin,

Secure?

If you are at Los Alamos, do us all a favor and put the disks into a burn bag after smashing it with a sledge hammer. :-)))))))) Also, make sure to sweep up the bits off the floor, we don't want anyone piecing them back together :--)))

live free or die
harry
Live Free or Die
John Dvorchak
Honored Contributor

Re: need direction

Those all al good answers especially the Damp Cloth....very funny. But if you want to actually write over the data stored on the disk then look at:
man mediainit

Mediainit was intended to format tapes but it will write over the entire contents of a disk and used to be the final step in preparing a disk for service in a server.

>mediainit -v /dev/dsk/c_t_d_

It will take a few minutes to an hour to "init" the driveh, depending on the size (15 min for 2Gb here) but recovering data from the disk will be very difficult even for a lab.

If you are really worried about security or have to comply with DOD then remove the disks and smash and if possible shred them.
If it has wheels or a skirt, you can't afford it.