DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th June 2014
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 107
Thanked 0 Times in 0 Posts
Default PhotoRec process bug

Hi everybody.

Three days ago, I accidentaly killed my wife's Windows partition on our Mac.
To recover the data, I discovered PhotoRec and TestDisk.

Wonderful softwares, easy to use and powerful.
But really, really slow.
It took 20 hours to scan the entire 250 Gb Windows HDD.

At the end of the research, I closed every softwares, cause the CPU's temperature was really high, 95°C~203°F, and the fan was running harsh.
Didn't change anything.

I took a look at the activity monitor : a process photorec was still running, at 100% CPU charge.
I also took a look at the thermal sensors : the CPU was permanently altenating between two cores.
This part, I think, is an OS behaviour : OS X alternates cores to prevend overheating.

Had to kill the photorec process myself, and the system returned to normal state.

----------------

Today, I made a new research, and same player shoot again, same score : 95°C~203°F, CPU full charge even when PhotoRec is closed, etc...
Apparently, PhotoRec bugs when the CPU is stressed.


I send a mail to PhotoRec creator/maintainer, Christophe GRENIER.
So I just wrote this thread for information, or just in case someone has an idea/wants to help.
__________________
In case of emergency
Reply With Quote
  #2   (View Single Post)  
Old 18th June 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,610
Thanked 214 Times in 189 Posts
Default

For these sorts of data recoveries I have used sleuthkit and its webserver-browser tool, autopsy. See www.sleuthkit.org.
Reply With Quote
  #3   (View Single Post)  
Old 18th June 2014
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 107
Thanked 0 Times in 0 Posts
Default

Well, I'll take a look.

Thanks jggimi
__________________
In case of emergency
Reply With Quote
  #4   (View Single Post)  
Old 18th June 2014
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,062
Thanked 198 Times in 156 Posts
Default

Quote:
Three days ago, I accidentaly killed my wife's Windows partition on our Mac.
What did you do, exactly? If you just removed the partition, you can usually use testdisk to recover the partition.

photorec searches for known file headers/signatures, and tries to recover individual files. It has *no* knowledge of the filesystem, and doesn't deal with fragmentation. It *may* work quite well for some files (like photos), but often won't work so well for others types of files (like documents which have grown over time).
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 3 Weeks Ago
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 107
Thanked 0 Times in 0 Posts
Default

Thanks Carpetsmoker, but of course, no I didn't just remove the partition.
Would have been too easy

No, I created a new partition of OpenBSD by shrinking my Mac OS X partition.
Then I installed OpenBSD, fine and easy, and downloaded all packages and so on...

I just discovered the problem the day after, when my wife told me Windows didn't boot.
I didn't install OpenBSD on the good partition, but on the Windows' one. Crap.
__________________
In case of emergency
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Build Process Warnings IronForge OpenBSD Installation and Upgrading 9 22nd January 2010 11:21 AM
Loader, MBR and the boot process Jago FreeBSD Installation and Upgrading 1 22nd January 2010 04:52 AM
See what process is generating DNS traffic? Bruco FreeBSD General 3 2nd July 2009 05:57 PM
shell script-start another process bsdnewbie999 Programming 2 23rd April 2009 07:48 PM
Daemon Process not starting on boot map7 FreeBSD General 4 11th September 2008 04:24 PM


All times are GMT. The time now is 10:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick