aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Change .met folder  (Read 2609 times)

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Change .met folder
« on: March 13, 2011, 10:05:45 AM »

Hi there!
Is there a way to change the position of the .met files? (and not the .part!!!!).
When I loose my 220V (yes...220V not 110V) I usually lost 50% of my .met files, so i would change the position of the .met to a safer location than my nas (a micro sd on the machine running amuled i think is better uh?).

Any suggestion?
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Change .met folder
« Reply #1 on: March 13, 2011, 12:13:44 PM »

Is there a way to change the position of the .met files? (and not the .part!!!!).
No.

I suggest you choose a more crash resistant file system. (What are you using?)
You can also run a periodical skript copying the mets to a different place.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Change .met folder
« Reply #2 on: March 13, 2011, 06:19:59 PM »

Is there a way to change the position of the .met files? (and not the .part!!!!).
No.

I suggest you choose a more crash resistant file system. (What are you using?)
You can also run a periodical skript copying the mets to a different place.

1) I'm using ext3
2) yes...that's what i'm doing atm  :P
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Change .met folder
« Reply #3 on: March 13, 2011, 10:32:06 PM »

Isn't ext3 supposed to be journaling? It shouldn't lose data just like that on a power outage.

Did you ever run a fsck on that drive?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Change .met folder
« Reply #4 on: March 14, 2011, 01:27:41 AM »

Isn't ext3 supposed to be journaling?

But has 3 different journaling methods, each one more dangerous than the last. For someone with this situation, it should use journal instead of ordered or writeback. Journaling file contents instead of just metadata is critical in cases where power outages are a possibility.
Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Change .met folder
« Reply #5 on: March 20, 2011, 08:00:18 AM »

I'm using an ups, and i've never had problems with data stored on the nas.
I'm currently loosing all the .met when i shutdown amule correctly using amulecmd (shutdown command is right??).

What do you suggest?

 :'( :'( :'( :'( :'(


PS: I'm using (as always) the latest svn.
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------