- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What happens to dd command on failed disk?
Operating System - HP-UX
1752775
Members
5205
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-18-2009 05:48 AM
тАО05-18-2009 05:48 AM
What happens to dd command on failed disk?
We had a disk that failed at a remote site. We called HP out to have the disk replaced and executed a "dd" command to light up the disk so the CE could see which disk to replace. The "dd" command did not return after 15 minutes and would not end with sigkill. We had the CE pull the bad disk and the dd command still did not end. The dd command only ended when the new disk was inserted.
I have a few questions. Can you tell me why the "dd" or any disk related command hangs on a bad disk?
Also where is the command hung at, the SCSI controller, or the disk logic board?
If we waited longer would the command eventually end?
Did we create a problem by removing the disk with the dd command still active?
Thanks
I have a few questions. Can you tell me why the "dd" or any disk related command hangs on a bad disk?
Also where is the command hung at, the SCSI controller, or the disk logic board?
If we waited longer would the command eventually end?
Did we create a problem by removing the disk with the dd command still active?
Thanks
- Tags:
- dd
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 05:53 AM
тАО05-18-2009 05:53 AM
Re: What happens to dd command on failed disk?
Hi Tony:
> Can you tell me why the "dd" or any disk related command hangs on a bad disk?
The process was waiting on an I/O to complete but the physical disk would not respond to the I/O request.
> Also where is the command hung at, the SCSI controller, or the disk logic board?
Most likely, at the disk level.
> If we waited longer would the command eventually end?
Given what you stated, I'd think that this would have been unlikely.
> Did we create a problem by removing the disk with the dd command still active?
No, not at all. Your 'dd' was only a read request to the disk.
Regards!
...JRF...
> Can you tell me why the "dd" or any disk related command hangs on a bad disk?
The process was waiting on an I/O to complete but the physical disk would not respond to the I/O request.
> Also where is the command hung at, the SCSI controller, or the disk logic board?
Most likely, at the disk level.
> If we waited longer would the command eventually end?
Given what you stated, I'd think that this would have been unlikely.
> Did we create a problem by removing the disk with the dd command still active?
No, not at all. Your 'dd' was only a read request to the disk.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 06:03 AM
тАО05-18-2009 06:03 AM
Re: What happens to dd command on failed disk?
Hi,
Can you tell me why the "dd" or any disk related command hangs on a bad disk?
Because it didn't get any response from the disk. Unlike other commands dd will not comeback if the request was unsuccessful
Also where is the command hung at, the SCSI controller, or the disk logic board?
disk level. dd is working on disk block level. Also you are specifying the disk as a input.
If we waited longer would the command eventually end?
No.
Did we create a problem by removing the disk with the dd command still active?
After some time dd process go into hung state after unsuccessful tries to the i/o operation.
Can you tell me why the "dd" or any disk related command hangs on a bad disk?
Because it didn't get any response from the disk. Unlike other commands dd will not comeback if the request was unsuccessful
Also where is the command hung at, the SCSI controller, or the disk logic board?
disk level. dd is working on disk block level. Also you are specifying the disk as a input.
If we waited longer would the command eventually end?
No.
Did we create a problem by removing the disk with the dd command still active?
After some time dd process go into hung state after unsuccessful tries to the i/o operation.
Best wishes,
Ganesh.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2009 10:09 AM
тАО05-18-2009 10:09 AM
Re: What happens to dd command on failed disk?
>Did we create a problem by removing the disk with the dd command still active?
If it was hung before the disk was removed, then no. And especially if you didn't have to reboot.
If it was hung before the disk was removed, then no. And especially if you didn't have to reboot.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP