recoverjpeg
recoverjpeg copied to clipboard
recovermov stops reading the disk using 100% CPU
I'm using recovermov
to recover a 2TB disk like this:
sudo recovermov -o /mnt/videos1 /dev/sdc
After 2 tries, I have exactly the same symptoms: after this message:
mov file detected
writing to video_844.mov
recovery of video_844.mov finished
The process is using 100% CPU and I don't see any reading activity through iotop
.
tomo@misti:~$ pidstat -dl | grep recovermo
15:35:34 0 363667 -1,00 -1,00 -1,00 2938223 recovermov -o /mnt/videos1 /dev/sdc
tomo@misti:~$ ps aux | grep recover
root 363661 0.0 0.0 14852 3316 pts/0 S+ févr.10 0:00 sudo recovermov -o /mnt/videos1 /dev/sdc
root 363667 91.8 0.0 5888 996 pts/0 R+ févr.10 5563:45 recovermov -o /mnt/videos1 /dev/sdc
tomo@misti:~$ sudo strace -p 363667
strace: Process 363667 attached
[nothing is displayed]
^Cstrace: Process 363667 detached
Let me know how can I debug this further.
Thanks ! And thanks a lot for the great tools recoverjpeg
and recovermov
.
Here is the info about IO of the process:
tomo@misti:~$ sudo cat /proc/363667/io
[sudo] Mot de passe de tomo :
rchar: 31264824084572
wchar: 49185078415
syscr: 3816972807
syscw: 6007693
read_bytes: 2000401489920
write_bytes: 49186758656
cancelled_write_bytes: 0
So I think recovermov read the whole 2TB disk before crashing. I'm killing the ongoing process.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Pinging
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Pinging
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.