I have an 8-disk Network Attached Storage device. I've been having issues with it where the hard drives fail on a regular basis. I figured out what the problem is with this: firmware issues with Seagate HDDs being compatible with my QNAP. So I need to update the firmware on each of the 8 HDDs. Each of the HDDs are 3TB in size. Previously, when one failed, I told the NAS to rebuild it (since I used RAID 5), and it took somewhere between 42-44 hours to do.
I am using DD to capture an image of one of the 3TB HDDs. It is plugged into my other laptop via eSATA and the drive I am writing to is on a USB 3.0 connection. When I first started the image, I did the math to figure out how much time would be needed to finish. My calculations based on how long DD was running (via PS) and how much data had been written (via LS), it looked to be the same (42-44 hours). However, this process has been going on for almost a week. At the rate it ACTUALLY goes (realtime) it will take an entire week (7d to the hour exactly) for this to finish.
Right now, we're at 6d of DD running its course. When I type
ps -ef | fgrep DISK1 I get the following:
root 6444 6388 36 Jan12 pts/0 2-04:54:14 dd if=/dev/sde of=/media/4TB/DISK1.raw
PS claims that this has only been running for 2d 4h, when in reality, it's been running for over 6d.
Why is this? How can I fix it? Could it be a multi-threading issue (or lack of multi-threading I mean)? I did find that Ubuntu was suspending the OS when I closed the lid of the laptop, so I changed that very early on in the process so now it doesn't sleep, but it's still taking "forever".