- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Formating disk and deleting everything , for decom...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
06-24-2005 02:02 AM
06-24-2005 02:02 AM
I wanted to format the drive(Contains OS) and delete the filesytems (vg00) everything that contatins in the system, as the server is de-comissioning.
Can any one tell , how to do that.
1. Any thing from LVM maintenance mode can be done.
2. Mediainit. pvcreate .. ? how ?
Please suggest.
Thanks in advacne ,
Regards,
Veri.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 02:14 AM
06-24-2005 02:14 AM
Re: Formating disk and deleting everything , for decomission.??
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x24b53a7b3682d611abdb0090277a778c,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 02:16 AM
06-24-2005 02:16 AM
Re: Formating disk and deleting everything , for decomission.??
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 02:17 AM
06-24-2005 02:17 AM
Re: Formating disk and deleting everything , for decomission.??
rm -rf * from root is generally sufficient...
Boot a HP-UX install cd - then dd /dev/null over your root disk...
Many others...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 02:19 AM
06-24-2005 02:19 AM
Re: Formating disk and deleting everything , for decomission.??
(I'll assume that you have blasted everything but vg00 at this point; if not do this same procedure on all the non-vg00 disks as well if all you have done is pvcreate them.)
vgdisplay -v /dev/vg00 and note the disks listed. e.g. /dev/dsk/c0t6d0
If you have mirrors, then break the mirrors using lvreduce and blast that disk first.
To blast a disk, e.g. /dev/dsk/c0t6d0 use the character (rdsk) device, /dev/rdsk/c0t6d0
dd if=/dev/zero bs=1024k of=/dev/rdsk/c0t6d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 02:23 AM
06-24-2005 02:23 AM
Re: Formating disk and deleting everything , for decomission.??
dd if=/dev/zero bs=1024k of=/dev/rdsk/c0t6d0 bs=1024k
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 04:10 AM
06-24-2005 04:10 AM
Re: Formating disk and deleting everything , for decomission.??
But, you could simply do a cold install of the O/S (as was mentioned) and that will clear up all that was there before, AND leave a box that can readily be turned on by the next person getting the box.
Hey...most old boxes get re-used for testing, training or somebody who just want to play and learn.
Besides....was your data was on external disks...?....then vg00 doesn't have that critical information.
Why destroy....just set it to a clean O/S.
Hey, on Ebay it would be worth more with a clean O/S.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 04:40 AM
06-24-2005 04:40 AM
Re: Formating disk and deleting everything , for decomission.??
I consider this superior to mediainit. pvcreate doesn't erase anything.
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
06-25-2005 01:52 AM
06-25-2005 01:52 AM
Solutionhttp://h20219.www2.hp.com/services/cache/66370-0-0-225-121.aspx
Data Sanitization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2005 04:02 AM
06-25-2005 04:02 AM
Re: Formating disk and deleting everything , for decomission.??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2005 01:50 PM
06-26-2005 01:50 PM
Re: Formating disk and deleting everything , for decomission.??
1, vgexport
2, pvcreate.
All data will be delete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2005 07:38 AM
06-27-2005 07:38 AM
Re: Formating disk and deleting everything , for decomission.??
I would write a script to loop in a combination of mediainit AND dd, where dd writes RANDOM numbers.
Check the following doc, it has an example:
Date: 12/22/00
Document description: wipe classified, sensitive or proprietary data from disks.
Document id: KBRC00005001
regards,
peyman;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:09 PM
06-29-2005 02:09 PM
Re: Formating disk and deleting everything , for decomission.??
If you have multple disks in vg00, remove all labels. Take all disks out, mix them up, put them back in and vanish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:15 PM
06-29-2005 02:15 PM
Re: Formating disk and deleting everything , for decomission.??
I agree w/ Clay above.. nothing like "dd".
command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 07:10 PM
06-29-2005 07:10 PM
Re: Formating disk and deleting everything , for decomission.??
I would like to add that (sufficient paranoia on your behalf given) I think that a mere rm -rf wouldn't suffice.
I'm sure that people who know the guts of VxFS or HFS and who are furnished with appropiate filesystem debugging tools can well recover stale date, at least partially.
To really be on the safe side you would have to write random bit patterns on the disks in several sequential runs.
There are I guess plenty such tools available.
For instance with linux the following is quite often used.
http://www.llnl.gov/linux/scrub/scrub.html
However, to be dead sure that no data whatsoever is recoverable you would have to physically atomize your hard disks
(usually shredding and burning should suffice).
For an average degree of paranoia
I think booting into maintenance mode
(or from CD) where your rootfs is only in a ramdisk, and then creating new filesystems or running dd 1-3 times over your character devices should should be sufficient.