- 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
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.