We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

BTRFS balancing in 1.1.4 [answered]

asked 2015-05-06 19:00:49 +0200

Hi Sailors,

I have read in the release notes of update 1.1.4 that Jolla fixed the BTRFS balancing problem... My Jolla should preform an auto balance operation under certain conditions. I read that I needed to connect the Jolla to the charger at a certain time (somebody knows when?). Do I need to fulfill other conditions to activate the auto balance operation?

My current balance state: 12,75GB / 13,75GB

Dylan

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by simo
close date 2015-05-06 19:33:05.105948

Comments

If you value your phone, disable the service, as the balance will make your phone unusable and if you reboot, you may damage your file system.

Trizt ( 2015-05-21 18:52:34 +0200 )edit

3 Answers

Sort by » oldest newest most voted
4

answered 2015-05-06 19:14:59 +0200

updated 2015-05-06 20:29:57 +0200

simo gravatar image

According to Zendesk click here it's released and confirmed.

Just connect your charger for the night between Monday and Tuesday, and balancing should occur at 3am.

EDIT2: Changed the days to Monday/Tuesday night. Source: The timer code itself (github), confirmed as correct

edit flag offensive delete publish link more

Comments

Is 3 AM in their time zone or our time zone?

Rosemary ( 2015-05-06 19:23:51 +0200 )edit

I think it's related to your timezone. So 3am in the morning for your time. But it's my opinion because I think the developers are guessing that your sleeping at that time ;-)

drummer12 ( 2015-05-06 19:26:57 +0200 )edit

Thanks! I will report if the Jolla has been balanced next week.

Dylan Van Assche ( 2015-05-06 19:28:49 +0200 )edit

Therefore its best to leave your phone to charge over night? What do you suggest?

Rosemary ( 2015-05-06 19:29:04 +0200 )edit

Yeah but only from tuesday to wednesday night. @Assche I don't think that it will balance today cause this night it is thursday 3am - I think, what do you guess? ;-)

drummer12 ( 2015-05-06 19:40:40 +0200 )edit
3

answered 2015-05-06 19:34:53 +0200

g7 gravatar image

updated 2015-05-06 21:10:52 +0200

The autobalance happens on Tuesday mornings at 3:00 AM.

If you don't happen to leave your charger connected in this timeframe (like me) you may call the balancer manually by running btrfs-balance as root (or just use the standard btrfs tools).

Maybe by adding some timed rules it's possible to trigger a balance regardless of the charger status (systemd timers don't run when the charger isn't connected as the device is in deep sleep).

edit flag offensive delete publish link more

Comments

Its Tuesday and not Wednesday?

Rosemary ( 2015-05-06 19:39:23 +0200 )edit

The systemd timer is set at Tuesday, 3:00: https://github.com/sailfishos/btrfs-balancer/blob/master/service/btrfs-balancer.timer

g7 ( 2015-05-06 19:40:45 +0200 )edit

Answer already accepted edited with correct info. Thanks for bringing it up!

simo ( 2015-05-06 20:31:35 +0200 )edit
1

answered 2015-05-06 19:06:12 +0200

simo gravatar image

updated 2015-05-06 19:08:51 +0200

This has been updated with relevant info on April 21st, however, not by Jolla, so yet unconfirmed: https://together.jolla.com/question/30822/root-and-home-disks-full-and-causing-various-problems/

What is confirmed by Jolla, is simply this line, quoted from the official changelog:

sbj-configs

  • Add btrfs-balancer service for sbj adaptation.
edit flag offensive delete publish link more

Question tools

Follow
2 followers

Stats

Asked: 2015-05-06 19:00:49 +0200

Seen: 909 times

Last updated: May 06 '15