- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Wipe disk drives.
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
Discussions
Discussions
Discussions
Forums
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
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
тАО10-11-2005 09:57 AM
тАО10-11-2005 09:57 AM
Thanks for the help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2005 10:04 AM
тАО10-11-2005 10:04 AM
Re: Wipe disk drives.
We just went through that with an XP512 and dd was the preference. You will find many posts supplementing this and other ways.
It just seemed to be the best fit for us though it was time consuming due to the number of disks involved.
For you, it would be a small task.
Best of luck.
Regards,
-dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2005 10:06 AM
тАО10-11-2005 10:06 AM
Re: Wipe disk drives.
One solution is to write zeros or some random pattern at least once over the disk. This is a "reasonable" destruction for most.
# dd if=/dev/zeros of=/dev/rdsk/cXtYdZ bs=1024k
or:
# dd if=/dev/urandom of=dev/rdsk/CxtYdZ bs=1024k
Note the use of the raw disk device to circumvent the LVM layer. Note, too, the use of a large blocksize for fast I/O.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:40 AM
тАО10-12-2005 06:40 AM
Re: Wipe disk drives.
root: / ==> dd if=/dev/zeros of=/dev/rdsk/c6t3d0 bs=1024k
/dev/zeros: No such file or directory
dd: cannot open /dev/zeros
root: / ==> dd if=/dev/urandom of=/dev/rdsk/c6t3d0 bs=1024k
/dev/urandom: No such file or directory
dd: cannot open /dev/urandom
Do I need to create a file called "zeros" and "urandom"?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:43 AM
тАО10-12-2005 06:43 AM
Re: Wipe disk drives.
cr--r--r-- 1 bin bin 62 0x000000 May 10 18:09 /dev/random
cr--r--r-- 1 bin bin 62 0x000001 May 10 18:09 /dev/urandom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:44 AM
тАО10-12-2005 06:44 AM
Re: Wipe disk drives.
mknod /dev/zero c 3 0x000004
I believe it's /dev/zero not /dev/zeros.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:46 AM
тАО10-12-2005 06:46 AM
Re: Wipe disk drives.
thx,
bl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:50 AM
тАО10-12-2005 06:50 AM
Re: Wipe disk drives.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:52 AM
тАО10-12-2005 06:52 AM
Re: Wipe disk drives.
Sorry, Kent is correct, the device file is '/dev/zero' without the "s" I inadvertantly added.
You don't say what release you are running.
To see hwat minor devices you have, do:
# lssf /dev/* 2> /dev/null|grep "mm"
If you are running 10.20, you will need to do:
# mknod /dev/zero c 3 0x000003
On 11.0, use:
# mknod /dev/zero c 3 0x000004
You should have /dev/zero on 11.11 and later.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:54 AM
тАО10-12-2005 06:54 AM
Re: Wipe disk drives.
Do a pvcreate -f /dev/rdsk/c?t?d? ,
Do this using a shell script , this will be much faster than writing zeros .
Thanks,
Bl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 06:59 AM
тАО10-12-2005 06:59 AM
Re: Wipe disk drives.
You can also use mediainit command (man mediainit(1) for further info).
Example:
# mediainit /dev/rdsk/c1t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 07:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 09:24 AM
тАО10-12-2005 09:24 AM
Re: Wipe disk drives.
In addition to the proposed ideas you can just copy a system disk onto the "data" drives.
dd if=/dev/rdsk/cXXXX of=/dev/rdsk/cYYYY bs=32768k
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 10:00 AM
тАО10-12-2005 10:00 AM
Re: Wipe disk drives.
Look up KB doc ID KBRC00010654. This might be of some assistance as it was for us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 11:17 AM
тАО10-12-2005 11:17 AM
Re: Wipe disk drives.
Otherwise see the attachment to my post in this older thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=957297
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2021 09:57 AM
тАО02-03-2021 09:57 AM
Re: Wipe disk drives.
great information.. this is from 2005.. can we get some updated insctructions for those of us who are not using Linux too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2021 08:49 AM
тАО02-04-2021 08:49 AM
Re: Wipe disk drives.
Open your own thread please.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2021 08:52 AM
тАО02-04-2021 08:52 AM
Re: Wipe disk drives.
A new thread was unnecessary. You can wipe drives from opening the same menu from bootup. it's just really slow with the HP utility. If you can get into an OS setting I recomend that, HP's wiping tool is slow AF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2021 09:18 AM - edited тАО02-04-2021 09:21 AM
тАО02-04-2021 09:18 AM - edited тАО02-04-2021 09:21 AM
Re: Wipe disk drives.
Also HP's ILOM web interface on gen9 does not work. You can't open a console via the web interface. You have to download the ilom utility from here:
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_4f842ceb31cf48d392e22705a8
Upon bootup select the F10/intelligent configuration option then choose smart storage administrator. Browse through the storage administrator tool and there is an "erase drive" option where you can select how many passes to meet DOD standards.
it'd be nice if official forum personnel could give answers like that =P