rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: AYEHAN on January 03, 2008, 02:05:03 PM

Title: v 2.3 Beta Build 160 & 165
Post by: AYEHAN on January 03, 2008, 02:05:03 PM
hi

i think its a big

whenever my system gets shutdown illegally ex: power failure   *.vfs gets corrupted

means you have to setup the whole server from beginning
Title: Re: v 2.3 Beta Build 160 & 165
Post by: rejetto on January 03, 2008, 08:52:37 PM
When you find the corrupted vfs, is there a file.vfs.bak in the same folder?
can you give me your corrupted vfs ?
Title: Re: v 2.3 Beta Build 160 & 165
Post by: AYEHAN on January 22, 2008, 02:51:06 PM
sorry for the real late reply

i will post the corrupted one very soon :)

i know i will get it soon *HeHe*
Title: Re: v 2.3 Beta Build 160 & 165
Post by: AYEHAN on January 26, 2008, 02:56:21 PM
here is the corrupted .vfs

and its from beta build 174

in my idea when my vfs size is over 100KB its get corrupted on power failure or illegal shutdown
Title: Re: v 2.3 Beta Build 160 & 165
Post by: rejetto on January 26, 2008, 03:04:08 PM
The fact you get this .vfs.corrupted file is normal.
HFS has an auto-restoring feature, that will use a backup file in such case.
Looking at the source code i just noticed the backup is not actually loaded, just renamed. Next beta will fix this bug.

In the while, if you got this corrupted file, then you should get also the correct vfs on place (although it is not loaded). So the it shouldn't be a problem.
Title: Re: v 2.3 Beta Build 160 & 165
Post by: AYEHAN on January 26, 2008, 05:39:38 PM
no i didnt get any corrected one

in my folder there were 3 files


latest.vfs 143 bytes
latest.vfs.bak  143 bytes
latest.vfs.corrupted   Actual Size

and folder Tree only shows "/"

Title: Re: v 2.3 Beta Build 160 & 165
Post by: rejetto on January 26, 2008, 11:40:24 PM
something gone wrong