English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 02 August 2016, 23:37   #1
José
Registered User
 
Join Date: Oct 2005
Location: Olhao/Portugal
Age: 41
Posts: 35
Help recovering source code file!!!

So the past few months I've been slowly finishing a serialization library that would be very useful and that was actually the biggest stumbling block on 2 or 3 projects that I've never finished and that were started about 10 years ago. I was using WinUAE and some old version of CED. Today I went to open the source code file and although it reports it's size normally when opening the icon information the file is completely empty. I was cautious to not save over it. Decided to open it with Filex and surprisingly same result! It seems to be some problem with the file system.
So is it ok if use something like QuarterBackTools or some other recover software (which would you recommend for this case ?) with a WinUAE HDD disk file ?
Not all is lost, I made a back up that covers about 98% of it about 3 weeks ago and I only did a couple of hours per week, still going back is a PITA, as I mentally don't remember what was already done and not at that time, so would have to study that part of the code I was about to finish and probably redo it from scratch. It's also a very complicated piece of code this part...
José is offline  
AdSense AdSense  
Old 02 August 2016, 23:49   #2
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 3,626
you can try Disksalv in Salvage mode. once the scan is finished, you select all files on the left side
(3rd icon in the middle, from buttom to top) - choose a target - of course a different medium than the scanned one.
Salvage mode does not write/manipulate on the source device, just reads what it finds and puts it onto the target device.
so create another hdd for the target.
I hope it works for you.
emufan is offline  
Old 03 August 2016, 00:31   #3
hexaae
Registered User

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 41
Posts: 740
Long time ago I switched to free, FAST and reliable Smart File System to avoid those kind of horrible situations.
I have SmartFilesystem 1.279 (23.12.2007) AmigaOS m68k (c) Joerg Strohmayer.
Works absolutely fine with WinUAE HD files.

Quarterback Tools was one of the best recover tools on the Amiga FFS AFAICR.

Last edited by hexaae; 03 August 2016 at 00:36.
hexaae is offline  
Old 03 August 2016, 02:28   #4
José
Registered User
 
Join Date: Oct 2005
Location: Olhao/Portugal
Age: 41
Posts: 35
YESSSSS!!!!!
Thanks to all for all the replies, it's now recovred.
I used DiskSalv, already had it installed. I only had old FFS anyway..
Already made more back copies.

Wow these things are creepy, but the recovery was quite straightforward.

Now back to coding One day, one day I'll finish some of my Amiga projects
Cheers guys

P.S.
I hadn't logged in in a while and nice to see many of the "old" users again still active and helpful. We'll be back!
José is offline  
Old 03 August 2016, 09:23   #5
hexaae
Registered User

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 41
Posts: 740
Try to switch to SFS: much faster, better, reliable.
hexaae is offline  
Old 03 August 2016, 09:27   #6
thomas
Registered User
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 5,508
If you want data safety you should stick with FFS. Every file system can get corrupted every now an then. As you experienced, FFS has many well working recovery tools.

SFS has only one. And if does not work.

PFS has none. It only has repair tools. Repair tools will delete corrupted files.

So if you don't want to make regular backups, FFS gives you the most safe data storage. With SFS and PFS you might loose everything at once.
thomas is offline  
Old 03 August 2016, 09:47   #7
hexaae
Registered User

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 41
Posts: 740
Quote:
Originally Posted by thomas View Post
If you want data safety you should stick with FFS. Every file system can get corrupted every now an then. As you experienced, FFS has many well working recovery tools.

SFS has only one. And if does not work.

PFS has none. It only has repair tools. Repair tools will delete corrupted files.

So if you don't want to make regular backups, FFS gives you the most safe data storage. With SFS and PFS you might loose everything at once.
Strange point of view: I use SFS since 20+ years (switched also to WinUAE with SFS). It's one of the safest fs around. Never had a corrupted file. It's also MUCH faster (even if you just open a drawer you'll notice this), and has many other technical enhancements compared to FFS.
With FFS I've had problems instead as almost all Amiga users, corrupt files and dir structure.

There's a reason why there is no need of many recover tools on SFS
In short: PREVENT problems, it's a better philosophy.
hexaae is offline  
Old 03 August 2016, 13:37   #8
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 40
Posts: 7,062
Send a message via MSN to dlfrsilver
SFS brought me corruption, that's the reason why i use now since a while PFS3 AIO (supported by Toni Wilen).

SFS is buggy, and when it fails, it FAILS !
dlfrsilver is offline  
Old 03 August 2016, 13:48   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,524
I am not "really" supporting PFS3. You won't get help if it destroys all your files. (and pfsdoctor won't find them).

But technically FFS is the safest, it is nearly impossible to make it too badly corrupted. (without help from >4G wraparound which will really destroy data)

It is known that some SFS version can get corrupted randomly (I got it twice in late 1990s) and there is no way to fix it without copy and reformat. Unfortunately no one knows which version(s).

Always when recovering data: take full disk image backup first! (Very easy and quick today, nearly impossible back in the day..)
Toni Wilen is online now  
Old 03 August 2016, 14:57   #10
hexaae
Registered User

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 41
Posts: 740
Using SFS 1.279 (Aminet has 1.277, I've included download link in the message above) since was out in 2007 and never had a single case of corruption up till now with WinUAE (it's perfect to create .VHD dynamically sized HD-files in WinUAE). And is very faaaast...
Consider also modern HD/SSD have much better technology, so in the past I can't exclude issues were more frequent with every fs also because of the HW per se.

I've found it's currently hosted on SourceForge BTW: https://sourceforge.net/projects/smartfilesystem/ but I'm not sure is up to date.
https://en.wikipedia.org/wiki/Smart_File_System

Last edited by hexaae; 03 August 2016 at 17:45.
hexaae is offline  
Old 03 August 2016, 17:19   #11
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 2,977
SFS is great for developers since it also offers a primitive source code repository system. Every time you overwrite a source file, a number of old versions are kept in :.recycled .
idrougge is online now  
Old 03 August 2016, 17:39   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,524
PFS3 has deldir (which is not enabled by default)

I stopped caring about SFS when DirectSCSI was dropped. It become useless for me.
Toni Wilen is online now  
Old 03 August 2016, 17:48   #13
hexaae
Registered User

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 41
Posts: 740
Would be great if someone would continue its development...
Joerg Strohmayer vanished...

Wait! Didn't notice your name Toni in PFS3

Last edited by hexaae; 03 August 2016 at 17:56.
hexaae is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
My old source code gemanix Coders. General 36 09 July 2017 13:33
asm code file errors and external file locations Brick Nash support.WinUAE 0 06 April 2015 17:14
Source Code camelord support.Games 2 06 August 2010 17:45
AWeb 3.5.09 source code Minuous request.Apps 1 05 August 2010 12:53
Source Code Thalion project.WinUAE - Kaillera 3 28 April 2006 09:55

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


All times are GMT +2. The time now is 13:50.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.17729 seconds with 11 queries