- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using dd command for wiping disks
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
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
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
тАО08-05-2002 02:13 PM
тАО08-05-2002 02:13 PM
Using dd command for wiping disks
dd if=/dev/zero of=/dev/rdsk/(somedisk) bs=1024
the system goes off and appears to be wiping the disks (the light is on and stays on) but it NEVER returns to prompt. What are we doing wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2002 02:34 PM
тАО08-05-2002 02:34 PM
Re: Using dd command for wiping disks
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa5c60bce6f33d6118fff0090279cd0f9,00.html
I usually use a "count"
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2002 09:04 PM
тАО08-05-2002 09:04 PM
Re: Using dd command for wiping disks
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3c0f36e69499d611abdb0090277a778c,00.html
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 03:10 AM
тАО08-06-2002 03:10 AM
Re: Using dd command for wiping disks
Your block size is only 1024 bytes. That's going to take forever. Try 1024k instead.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 03:54 AM
тАО08-06-2002 03:54 AM
Re: Using dd command for wiping disks
Verify your /dev/zero file has the correct major/minor number. Otherwise nulls may be written instead of zeros.
At 10.20 (minor was 3)
# mknod /dev/zero c 3 0x000003
At 11.00 (minor has to be 4)
# mknod /dev/zero c 3 4 /dev/zero
# ll /dev/zero
crw-rw-rw- 1 bin sys 3 0x000004 Aug 2 2002 /dev/zero
At 11i, insf should create this file automatically, if it doesn't already exist.
Best Wishes,
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 04:00 AM
тАО08-06-2002 04:00 AM
Re: Using dd command for wiping disks
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x24b53a7b3682d611abdb0090277a778c,00.html
The best way is to not only use /dev/zero but /dev/one, two... etc. There is a perl script on the above link to do random writes of 1's, 2's etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 04:14 AM
тАО08-06-2002 04:14 AM
Re: Using dd command for wiping disks
Pete is correct. I myself always use bs=4096k.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 05:36 AM
тАО08-06-2002 05:36 AM
Re: Using dd command for wiping disks
Either increase the block size or stay patient. It takes some time to do the dd, depending on the size of the disk. try,
dd if=/dev/null of=/dev/rdsk/cxtydz bs=1024k
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 07:09 AM
тАО08-06-2002 07:09 AM