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 +0300

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

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 +0300 )
add a comment

3 Answers

Sort by » oldest newest most voted
4

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

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

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

link

Comments

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

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

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 +0300 )

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

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

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

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

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 +0300 )
see more comments
3

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

g7 gravatar image

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

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).

link

Comments

Its Tuesday and not Wednesday?

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

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 +0300 )

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

simo ( 2015-05-06 20:31:35 +0300 )
add a comment
1

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

simo gravatar image

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

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.
link
add a comment

Question tools

Follow
2 followers

Stats

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

Seen: 922 times

Last updated: May 06 '15