- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Decommissioning an HP K Box
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 07:38 AM
02-06-2004 07:38 AM
Decommissioning an HP K Box
How and where would I begin?
Is there a doc on ITRC I can use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 07:40 AM
02-06-2004 07:40 AM
Re: Decommissioning an HP K Box
Do a basic installation, include all disks in the LVM phase.
Complete the installation.
This will destory everything. Also whomover gets the box will get nothing.
This is how I do it.
My employer is a charity if you are looking for a home for the box.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 07:46 AM
02-06-2004 07:46 AM
Re: Decommissioning an HP K Box
How to use ODE to wipe out a disk
Reboot the machine
Insert the support plus media cd
Stop the "boot primary path"
Then find the cdrom drive:
>search
>boot
At the ISL prompt:
ISL>ode
At the ODE prompt:
ODE>diskexpt
You will be prompted for a password, you will need to ask HP for a temporary one - you can only get it if you have a contract with HP:
Commands to use in DISKEXPT:
To see disks: dispmap
Select disk: testdisk #
Then enter:
wrtmt
For range, enter 0/ and the max number displayed
Select 3 for userdefined, then enter 0 to write all zero's
Wait.....a long time........a really long time....
Do this for all disks.....
Otherwise, just do what Steven suggested.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 08:14 AM
02-06-2004 08:14 AM
Re: Decommissioning an HP K Box
Sincerely,
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 08:23 AM
02-06-2004 08:23 AM
Re: Decommissioning an HP K Box
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 08:35 AM
02-06-2004 08:35 AM
Re: Decommissioning an HP K Box
I was thinking I could use the if=/dev/null and of=/dev/dsk/c3t0d3.
But I don't know what the count= should be.
Can I make all of VG01-VG11 swap?
Guess I'm a little confused.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 08:36 AM
02-06-2004 08:36 AM
Re: Decommissioning an HP K Box
You can find *lots* of threads on this subject in the forums. I did a search on "wipe disks" and got 50 hits back. Not all will be applicable to you, but a lot of them are.
Here is one of the more recent threads returned:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=382186
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 08:37 AM
02-06-2004 08:37 AM
Re: Decommissioning an HP K Box
A cold install using all disks, even without filesystems filling them all will zero every byte on every disk.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 02:06 AM
02-07-2004 02:06 AM
Re: Decommissioning an HP K Box
Run this to wipe your drives (write "nothing" to the drive):
dd if=/dev/null of=/dev/rdsk/c?t?d? bs=1024k
or (write "0" to the drive):
dd if=/dev/zero of=/dev/dsk/c?t?d? bs=1024k
If you don't have /dev/zero, you can make it (11.11 (11i) already has /dev/zero):
mknod /dev/zero c 3 0x000003 #...on 10.20
mknod /dev/zero c 3 0x000004 #...on 11.x
chown bin:bin /dev/zero
chmod 666 /dev/zero
or....
mediainit -v /dev/rdsk/c?t?d?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2004 08:57 AM
02-07-2004 08:57 AM
Re: Decommissioning an HP K Box
You can take the opportunity do this before any real zeroing activity on the disks
Have fun
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 01:14 AM
02-09-2004 01:14 AM
Re: Decommissioning an HP K Box
echo "enter database name"
read variable
cd /
export database variable
export exportedbfilesystem /exportfs/dbexport/
cd $exportedfilesystem
dbimport $variable
rm -f *
Needless to say it took a day or so to recover.. :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 01:26 AM
02-09-2004 01:26 AM
Re: Decommissioning an HP K Box
The re-install method works just fine on the vg00 disk(s), but, for the others, your best bet is to use dd to over-write them with zeros.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 02:32 AM
02-09-2004 02:32 AM
Re: Decommissioning an HP K Box
With this in mind, a good quick method is to jam a screwdriver in the side of each drive, opening the casing, then either bending (metal) or breaking (ceramic) each physical platter, so that it cannot be read by anything.
I can also recommend the use of a masonry chisel and 5 pound hammer to assist.
To logically erase the data, but keep the drives for use elsewhere, it depends on the level of assurance you require, but I recommend writing data from a very large and good source of entropy 10 times over the raw device from start to finish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 05:19 AM
02-09-2004 05:19 AM
Re: Decommissioning an HP K Box
As others have noted, 'sufficient' reformatting varies depending on how motivated someone may be to get to the data in question. A simple newfs/mkfs would be good enough to stop casual snooping. If you want more assurance, running something like:
sync
dd if=/dev/zero of=/dev/rdsk/
dd if=/dev/zero of=/dev/rdsk/
dd if=/dev/zero of=/dev/rdsk/
wait
on all of each disk will do a better job.
Doing these in parallel (background) is faster but not essential.
If your version of HP-UX doesn't have a /dev/zero device you can do the same thing with a simple 10 line C program that keeps writing blocks of zeroes to stdout until it falls off the end of the device.
$ ./a.out > /dev/rdsk/
$ ./a.out > /dev/rdsk/
This is best done from single-user mode, especially when you get to the point of clearing out the final (vg00) disk on the system. (The kernel will get very unhappy when you do stuff like this on mounted file systems, but I've had good luck using it from single user mode in cases where I never wanted to type another command after that dd command finished.)
Be sure to do the above on the rdsk files, not just logical volumes.
If you have reason to be truly paranoid about the data, physical destruction of the drives is the best bet. Personally, I've never had reason to deal with data that I felt needed anything more extreme than the 'dd' approach above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 07:59 AM
02-09-2004 07:59 AM
Re: Decommissioning an HP K Box
for fs in /etc/fstab
while :
do
cat /somefile >> /fs/someotherfile
done
This would repeatedly write the same data until the fs fills, or the filesize limit is reached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 09:13 AM
02-09-2004 09:13 AM
Re: Decommissioning an HP K Box
for fs in /etc/fstab
while :
do
cat /somefile >> /fs/someotherfile
done
Again, this doesn't guarantee all data is overwritten, because, among other reasons, there may be previously removed lvols whose space hasn't been reallocated since they were removed.