- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How can I tell if dd(1) is finished?
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
тАО05-13-2016 10:33 AM
тАО05-13-2016 10:33 AM
How can I tell if dd command is finished? Goes on forever.
Hello,
I am currently trying to wipe disks by zeroing them out with dd. I have hp-ux and AIX machines. The hp-ux machines I boot off disk 1 cd Base Operating Environment where i stop the boot and load some commands to create /dev/zero and mknod /dev/zero c 3 0x000004
Then I run the following command
dd if=/dev/zero of=/dev/rdsk/c0t1d0
It runs forever - how can i tell if it worked? Other OSs finish within a couple of hours.
This is HP9000 rp3440 and rx2660
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2016 02:25 PM
тАО05-13-2016 02:25 PM
Re: How can I tell if dd command is finished? Goes on forever.
> It runs forever [...]
I know nothing, but a quick Web search (for keyworks like: erase disk
dd hp-ux) found a similar complaint:
http://community.hpe.com/t5/x/x/td-p/3696734
The responses there included a suggestion to use a non-default (big)
block size: "bs=1024k".
> [...] how can i tell if it worked?
Dump out some data from (near the end of) the disk before and after,
and see if any of them change from non-zero to zero? (If necessary,
write some non-zero data there first.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2016 07:03 AM
тАО05-14-2016 07:03 AM
Re: How can I tell if dd(1) is finished?
You could use tusc(1) to see if it is still moving.
And lsof(1) to see what the file pointer is.
But as Steven said, you need large block sizes.