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

[1.1.7.24] Never ending balance

asked 2015-08-07 20:19:04 +0300

Trizt gravatar image

updated 2015-08-11 08:53:10 +0300

I'm soon on my third week of balancing, I had to balance in for the 1.1.7.25 update, I do this manually as I know I will be in even worse trouble if using the balance script. I take it in 5 unit steps from 0 and up to 40 didn't free any space, so went for 45 and this is the one keeping on and it don't seem to get to an end even if doing multiple reboots. I never managed to find any error logs, but I do see btrfs: found 1 extents multiple times per second. Battery just last for four/five hours as the balance do take a lot energy and the phone is always a bit warm for touch (No, it's just an urban myth that balance only runs while you have the charger connected, actually it don't care). The phone is lagish and a perfect argument why to buy another phone.

I have tried to use the balance cancel command, but it seems it's not sent to the kernel, as it's too busy to balance.

# btrfs fi show
Label: 'sailfish' uuid: 0f8a2490-53ed-4ff6-ba34-b81df3430387
Total devices 1 FS bytes used 6.02GiB
devid 1 size 13.75GiB used 10.00GiB path /dev/mmcblk0p28

# btrfs fi balance status -v /
Balance on '/' is running
2 out of about 3 chunks balanced (17 considered), 33% left
Dumping filters: flags 0x1, state 0x1, force is off
DATA (flags 0x2): balancing, usage=45

# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p28 14G 6.4G 6.7G 49% /

# cat /proc/version
Linux version 3.4.106.20150416.1 (abuild@es-17-35) (gcc version 4.8.3 20140106 (Mer 4.8.3-1) (Linaro GCC 4.8-2014.01) ) #1 SMP PREEMPT Tue Jun 23 14:12:57 UTC 2015
# journalctl -a | tail
Aug 03 17:41:35 Jolla kernel: btrfs: found 1 extents
Aug 03 17:41:35 Jolla kernel: btrfs: found 1 extents
Aug 03 17:41:35 Jolla kernel: btrfs: found 1 extents
Aug 03 17:41:36 Jolla kernel: btrfs: found 1 extents
Aug 03 17:41:36 Jolla kernel: btrfs: found 1 extents
Aug 03 17:41:36 Jolla kernel: btrfs: found 1 extents
Aug 03 17:41:36 Jolla kernel: btrfs: found 1 extents
Aug 03 17:41:36 Jolla kernel: btrfs: found 1 extents
Aug 03 17:41:36 Jolla kernel: btrfs: found 1 extents
Aug 03 17:41:36 Jolla kernel: btrfs: found 1 extents
(no errors in the log, just the above rows)

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-08-08 14:25:08 +0300

Benjamin gravatar image

Maybe the skip_balance mount option in recovery mode helps to mount the file system and stop the balance. Afterwards, you could try again with different parameters.

edit flag offensive delete publish link more

Comments

1

Don't think it's working in Jollas backported kernel, the file system is mounted with the skip_balance option, but it seems it don't do any difference. I know that just rebooting can sometimes make the balance to stop, this time it hasn't.

Trizt ( 2015-08-09 00:27:53 +0300 )edit

Okay, too bad. I thought, because I also had a problem with btrfs balance and was able to stop the balanace with that mount option, it would work for you, too.

Benjamin ( 2015-08-13 20:20:10 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2015-08-07 20:19:04 +0300

Seen: 989 times

Last updated: Aug 11 '15