- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Wipe disk drives.
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP