aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: DATA loss with amule on a ext4 FS  (Read 2214 times)

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
DATA loss with amule on a ext4 FS
« on: May 24, 2009, 04:09:28 AM »

I testet ext4 for the main disk (/) and for the encrypted (LUKS/cryptsetup) drives.
After a freeze i wondered about a strange error, it says that the AcceptExternalConnections is not set to 1.
I found the amule.conf half the size as in my backup.
After recovering this file amule starts.
And I found this errors in the log:

Quote
2009-05-24 01:40:42: Lade unfertige Datei 1 von 278
2009-05-24 01:40:42: Lade unfertige Datei 2 von 278
2009-05-24 01:40:42: Lade unfertige Datei 3 von 278
2009-05-24 01:40:42: FEHLER: part.met-Datei hat die Größe 0: 003.part.met ==>
2009-05-24 01:40:42: Versuche, Sicherung der met-Datei von /media/crypt2/crypt/Programme/amule/Temp/003.part.met.bak zu laden
2009-05-24 01:40:42: Lade unfertige Datei 4 von 278

-------------------------[snipp]------------------------

2009-05-24 01:40:44: FEHLER: part.met-Datei hat die Größe 0: 293.part.met ==>
2009-05-24 01:40:44: Versuche, Sicherung der met-Datei von /media/crypt2/crypt/Programme/amule/Temp/293.part.met.bak zu laden
2009-05-24 01:40:44: Lade unfertige Datei 259 von 278

2009-05-24 01:40:44: Alle unfertigen Dateien geladen.
2009-05-24 01:40:44: 278 part-Dateien gefunden
13 ERRORS, one with possible damage in the .part file.

Ok, only part.met files.
(Translation:
"ERROR: PArt XXX is a 0 Byte file
Trying to load the backup in $PATH

All ext4 drives used the default settings of ext4.
I switched to data=ordered and reduced the commit time to 10 seconds.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: DATA loss with amule on a ext4 FS
« Reply #1 on: May 24, 2009, 08:03:02 AM »

In my experience, that's unfortunately normal with the current ext4. And we are not the only ones having such problems.

There's nothing we (aMule developers) could do, wait for 2.6.30 or maybe 31.

btw: Why do you write English in the German section, but post German error messages inside your English message? ;-)
Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: DATA loss with amule on a ext4 FS
« Reply #2 on: May 24, 2009, 09:50:00 AM »

In my experience, that's unfortunately normal with the current ext4. And we are not the only ones having such problems.

There's nothing we (aMule developers) could do, wait for 2.6.30 or maybe 31.

I use the ext4 now with data=ordered,commit=5,nodelalloc
That should be secure.

Quote
btw: Why do you write English in the German section, but post German error messages inside your English message? ;-)

Argl, wrong sektion.
Please move this thread to the english section.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: DATA loss with amule on a ext4 FS
« Reply #3 on: May 24, 2009, 01:54:05 PM »

The filesystem failed to keep your data integrity in a freeze. I'm very not sure how has anything to do with us.
Logged