Photorec - not sure if stuck or still doing something

Hi!
I'm trying to recover files from a ~8GB thumb drive (or sd cards? not sure.) image I dumped to disk a few years ago. Because I don't remember what exactly I was trying to rescue there, I started photorec with just about everything enabled (including brute force), set to the "fat32/fat16/ntfs" mode and selected - among other things - the "find deleted partition" mode on the whole image even though there's also a working partition on it (figured I'd try the whole / raw file first, partition later).
It's been running for ~2 days now @100% CPU (one core only) but barely takes up any RAM / Disk-IO at all. There are a hand full of "recup / inode" directories + recovered files in the recovery directory + xml files, but all of that has not changed since the very beginning. The tty still looks like this:
PhotoRec 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <[email protected]>
http://www.cgsecurity.org
Disk /home/user/Desktop/stick.raw.image - 7948 MB / 7580 MiB (RO)
Partition Start End Size in sectors
No partition 0 0 1 966 80 10 15523840 [Whole disk]
Stop
... and nothing is moving / changing.
Now... I'm not sure if it's still doing anything or if I should try to "Stop" / kill it. Also not sure if I can safely attach strace or gdb or something without disturbing the running process and loosing (potential) progress. No idea how photorec is supposed to look/act - and if this is normal.
So - is there anything I should be aware of before I decide how long I'll let it run (or stay frozen) like this?

Thanks!
Those change constantly:
< nonvoluntary_ctxt_switches: 8151747
> nonvoluntary_ctxt_switches: 8152751
everything else in io + status:
cat /proc/26077/io /proc/26077/status | grep -v nonvol >| /tmp/proc1 && while true; do; cat /proc/26077/io /proc/26077/status | grep -v nonvol >| /tmp/proc2 && date +%T; diff -s /tmp/proc? || cat /proc/26077/io /proc/26077/status | grep -v nonvol >| /tmp/proc1; sleep 60; done;
14:33:56
Files /tmp/proc1 and /tmp/proc2 are identical
.. has been identical for an hour or so unless I did something wrong with that oneliner.
Not sure what htop should tell me except that the process is using 4GB of ram. I've also been keeping an eye on conky for a while now - I think that photorec periodically stops using 100% of one core and starts using 10% of all 6 cores instead... but this forth and back could probably just be the kernel trying to optimize cpu usage depending on what else I do? Photorec leads my conky CPU top5 most of the time and also is holding its spot between firefox + Xorg in the top5 for memory usage.
According to iotop, the PID is - maybe - writing to disk very slowly ("actual disk write") (it "flickers" to ~200K/s every few seconds and then goes back to 0). No reading, also for some reason "total disk write" also stays at 0. I haven't seen photorec pop up in my (always visible) "top 5 IO" from conky since I started it (most of the time that's "sleep, sleep, another sleep and 2 kworkers" with a total of 0), so I might just be using iotop wrong here.
strace - when attached to the PID - says nothing at all (except for the debug output which I don't understand. Haven't used strace often except to monitor file access, maybe I'm doing it wrong).
sudo strace -ff -d -p 26077
new tcb for pid 26077, active tcbs:1
ptrace_setoptions = 0x1f
attach to pid 26077 succeeded
Process 26077 attached
[wait(0x80057f) = 26077] WIFSTOPPED,sig=SIGTRAP,EVENT_STOP (128)
pid 26077 has TCB_STARTUP, initializing it
^Ccleanup: looking at pid 26077
detach wait: event:128 sig:5
Process 26077 detached
dropped tcb for pid 26077, 0 remain
I don't know if that means:
(a) That it's definitely stuck
(b) That it's still doing some sort of bute-force / expensive algorithms on those 4GB of data it has in RAM - without (currently) finding anything useful though that could change any second (or never)?
Last edited by whoops (2015-04-02 13:37:14)

Similar Messages

  • Windows vista not recognizing my iphone4s when i open itunes, keep getting trust / dont trust message on phone and always press trust. Not sure why it's started doing it. Can not synch iphone at all or add new music....aaahhh

    windows vista not recognizing my iphone4s when i open itunes, keep getting trust / dont trust message on phone and always press trust. Not sure why it's started doing it. Can not synch iphone at all or add new music....as itunes does not pick up the phone I have connected anymore. My ipod synchs fine still and thats over 6 years old!

    Hi rubicon7,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    If the issue is not resolved, you may need to uninstall iTunes and all of it's components, and reinstall the latest version as explained in this article:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    I hope this information helps ....
    Have a great day!
    - Judy

  • I am having trouble installing photoshop Lightroom.  I have the S/N #... I need it to be confirmed and activated so i can receive an email to activate the system to my computer.  I am not sure how to go about doing so.

    I am having trouble installing photoshop Lightroom.  The program is installed and has some sections blocked off.  I have the S/N #... I need it to be confirmed and activated so i can receive an email to activate the system to my computer.  I am not sure how to go about doing so. 

    If you have a serial number, you simply need to enter it into the proper fields.
    Since you don't say what version of Lightroom, and what sections are "blocked off", let me guess that you have Lightroom CC, and you need to enter the serial number to turn it into Lightroom 6. Here are the instructions: Adobe Photoshop Lightroom Help | Serialize Lightroom CC trial to activate as Lightroom 6
    And if that's not the right assumption, then please give us the details.

  • Still not sure about backing up, still not sure about backing up

    Still not sure about backing up if apple provides a new i pad because battery has gone west.  you must back your ipad info to something else, like your pc
    as you cannot get to backed up material if you have sent it to apple, can you transfer that backup on ipad to the pc???

    Not unless you're using the iCloud and you have a backup in iCloud and you're using a mac signed into iCloud or you have the iCloud control panel installed on your pc.
    Or by chance you had a backup in iTunes.
    If you can open iTunes you can check to see if your backup is there.
    Click on Edit>go to Preferences> click on Devices, check for the device backups in the box. If they're not there, you can check to see if your information was in icloud by accessing it at www.icloud.com.

  • Black macbook: not sure if its the fan, or something else (noise)

    I got this macbook is september. I had no issues with it, when suddenly it began making noises. Now, I'm a gadget-blog reader, so I've been aware of Macbooks making the "moooo" sound from the fan; however, I'm not sure if my noise is the fan or something else. I get more of a "whrrrrrrrrrrrrrrrr" noise.
    1) I have the macbook plugged in
    2) I leave it on all the time
    3) It began to hear the "whrrrrrrrrrrrrrrrrr" when:
    a) activate visualizer in iTUNES
    b) download shows off iTUNES
    c) have a bunch of windows open and the 512MB Memory is struggling to access each window, if I say, I want to close them.
    Considering this is the uncrashable, flexible, awesome OSX, and should be pesk-free, like say WINXP...I would expect such problems to not exist on the glossy OSX.
    I'm currently studying abroad in the United Kingdom. I bought this macbook in San Francisco just before I left. I have plenty of warranty left. Is this a big issue? It annoys the **** out of me. None of the macbooks demoed in the store had this problem. So in a way, this is false advertising, since I'm reading that a lot of people have this noise issue.
    I've fully updated my firmwares with software updater, but I still get the noise. So I'm at situation that needs some outside help as to what I should do.
    Thanks.

    hard to say if it is serious or not. have you tried resetting the pmu? http://docs.info.apple.com/article.html?artnum=303319 that could very well help the matter.

  • After update last night my firefox will not open did restore it still does not work?

    not an extension the update from last night

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    You can try to reset the preferences if that didn't work.
    See also:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.com/kb/Firefox+crashes
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • I am trying to download streaming video off the internet and I am not sure of what I am doing. Can someone Help?

    I get the video going and it looks like it automatically says it is downloading two files. After clicking around a few times on some things I may have as many as five copies running at once. I am just trying to save the video to a file so that I can burn it to a DVD later.

    most likely the video you are trying to watch is using flash and flash is not supported on the ipad.
    the browser will make no difference. best thing is to write to the site ctv.ca suggesting they offer a html5 version of their site for the millions of ipad users around the world.

  • Firefox will not open new 'tabs', not sure if its disabled, but does anyone know how to enable the use of my tabs?

    Firefox will not open any tabs on my browser. I've tried using all alternatives to open a new tab - using the 'plus' (+) button doesn't work, 'control + T' doesn't work, going to File and clicking 'new tab' doesn't work either? Help please!

    Your suggestion worked! Thanks!

  • I need to remove my photos from my ipad to make room for movies not sure how to go about doing this.

    Hi, I need to make room for some movies on my ipad, but i have to many photos how to i take the photos from my ipad but leave them on my iphone and desktop computer? Thank you

    If the photos were synced from your computer then with your iPad connected to and selected on the left-hand side of your computer's iTunes, then on the right-hand side on the Photos tab select an empty folder and sync just that to the iPad and the currently synced photos should be removed from the iPad - that won't affect your iPhone unless you also do the same de-selection when it's connected.
    If the photos were taken with the iPad, copied to it via the camera connection kit, or saved from emails/websites etc then you can copy them off the iPad first (http://support.apple.com/kb/HT4083) and you can then delete them directly on the iPad in the Photos app via the icon of the box with the arrow coming out of it

  • Audio in iMovie files is now Gone :-(!! Not sure why?

    I have been using iMovie for a few years and love it. Recently none of my video files have any audio. Not sure why and if I did something wrong.
    in Final Cut Pro X (I hate it!) the video is fine, also fine in Quicktime.
    Anyone have any suggestions as to what I may have done wrong or any suggestions?

    Thx Much AppleMan,
    I appreciate the quick help.
    Nothing has changed since I started using iMovie '09 2-3 years ago. Something is very wrong. All the videos in my iMovie had audio, now many do not.
    I have a hunch I have clicked something I should not of....
    Wish someone could help with why I no longer get audio when importing to iMovie, when all worked perfectly in the past.

  • I want to disable or remove Game center from my iphone. It's always pop up during i play hay day game. So i can not solve this problem. Any way i try to log in game center my several Apple id account but it does' not work. I am still stuck in log in page

    I want to disable or remove Game center from my iphone. It's always pop up during i play hay day game. So i can not solve this problem. Any way i try to log in game center my several Apple id account but it does' not work. I am still stuck in log in page

    The Game Center app is pre installed and cannot be removed from the device.
    Best thing to do is move it to the last available screen.
    Hold down the Game Center app until all the apps jiggle then sliide the Game Center app to the right from one screen to the next. This requires a bit of finesse, but it's doable.
    Press the Home button one time to stop the apps from jiggling.
    For the Apple ID issue, try resetting.
    Tap Settings > General > Reset > Reset All Settings
    Then try your Apple ID and password for the Game Center app.

  • There ' is a panel that sayscopy' preparing to duplicate to "desktop". I clicked stop three days and it still trying to stop. Tried to 'force quit' does not show up, looked in activity monitor but i am not sure how it is listed. I am new to the mac world.

    there is panel in the upper right corner of my screen that says 'copy' preparing to duplicate to "desktop". I clicked stop three days ago and it is still trying to stop. Tried to 'force quit' does not show up in finder, looked in activity monitor but i am not sure how it is listed. I am new to the mac world.

    Force quit/Restart the Finder.
    Then for safety...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.

  • HT1725 I have been trying to purchase points for a slot machine game using my itunes card. It has subtracted all the $$$$ off the card but I never got the points. Not sure what I am doing wrong. Have restarted the ipad and still nothing.

    I have been trying to purchase points for a slot machine game using my iTunes gift card. It subtracted the right about of $$$ but never gave me my points....not sure what I am doing wrong.
    Any help will be appreciated!

    Contact iTune Support
    https://ssl.apple.com/emea/support/itunes/contact.html

  • My wifi will not turn on. The button is settings seems to be locked. I tried turning it on from the control panel, and also with Siri, but it still does not turn on in settings, so i cannot access wifi. Please help ASAP

    Wifi will not work. The button in settings seems to be locked. Tried control panel and siri to turn it on, doesnt work because the settings wont turn it on. Need help ASAP cause my data limit is approaching.

    If the battery was completely drained the iPad will not respond for some time after connecting it to the charger. Connect the iPad to the charger that came with it and plug that into a good wall outlet. Wait 30 minutes. Then reset the iPad.Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot.
    If the iPad restarts let it continue to charge until it's battery shows fully charged. If the iPad still does not start Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support. Be sure to back up your device before taking or sending it to Apple.

  • HELP! Resetting all setting on iphone 5, but then i tried to restart it. Not sure if its stuck or resetting

    Hi if you seen my previous post, or you might have not. My safari app isn't working and the setting for safari in setting insn't responding. I reset all setting hoping this would work and fix the problem. However, i held both the home and off button because i didn't want to do the reset anymore because i was stuck at one place for a long time. the reset with the home did happen, but the resetting all setting is still happening and progress bar hasn't move. Im not sure if its stuck or if its just taking a while.

    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    1: Connect the device to Your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    Restoring  >  http://support.apple.com/kb/HT1414
    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    3: If Unable to Restore, try using the Steps in this article to force the device into Recovery Mode.
    Note on Recovery Mode.
    You may need to try this More than Once... Be sure to Follow ALL the Steps...
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most Recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

Maybe you are looking for