Active Topics

 


Reply
Thread Tools
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#2091
Originally Posted by R1v3r View Post
@Schturman

Could you help me with my btrfs?

I have this btrfs tool, that you have made.

It shows at the moment, that I have used 95% (But when I check data, it says 8,8 GB used and 4,9 Gb is free...)

Is there any way to fix this? (Hasnīt help, that it runs daily/weekly..)
You need to run btrfs balance...here is everything explained:
https://together.jolla.com/question/...ious-problems/
 
Posts: 211 | Thanked: 62 times | Joined on Oct 2014 @ Finland
#2092
Originally Posted by mautz View Post
You need to run btrfs balance...here is everything explained:
https://together.jolla.com/question/...ious-problems/
Thanks for this. I have been looking this page many times before and (as far as I know) I have run balancer. (If I understood correctly, this Schturman balancer should run balancer, if needed?)

I just ran balancer. And at this point, it is showing 80%! (Edit: This is still strange, while I have approx 33% available space, but it shows only 20% of free allocation.)

Code:
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# btrfs-balancer allocation
Total:     14763950080 bytes
Used:      14098230149 bytes
Allocated: 95 %
[root@Sailfish nemo]# btrfs-balancer balance
Balancing... 0 %
Balancing... 10 %
Balancing... 20 %
Balancing... 35 %
Balancing... 50 %
Balancing... 75 %
Balancing... 81 %
Balancing... 89 %
Balancing... 96 %
Balancing... 96 %
Balancing... 96 %
Balancing... 97 %
Balancing... 97 %
Balancing... 98 %
Balancing... 98 %
Balancing... 99 %
Balancing... 99 %
Balancing... 100 %
Finished.
[root@Sailfish nemo]# btrfs-balancer allocation
Total:     14763950080 bytes
Used:      11950746501 bytes
Allocated: 80 %
[root@Sailfish nemo]#
Thanks mautz!

@Schturman,

Is this btrfs balancer running balance correctly?
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#2093
Originally Posted by R1v3r View Post
This is still strange, while I have approx 33% available space, but it shows only 20% of free allocation.
There is nothing strange about that. That's btrfs for you.
__________________
Русский военный корабль, иди нахуй!
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#2094
R1v3r, my BTRFSchecker work in this way:
1. It check what the current state, same command as you wrote manually:
Code:
btrfs-balancer allocation
2. If option "Run balancer when needed" is activated and allocation more than 13153337344 or 89% it automatically will start balancer command from official /lib/systemd/system/btrfs-balance.service file that disabled by default:
Code:
/usr/sbin/btrfs-balancer balance -b 50 -a 75
3. If allocation less 13153337344 or 89% and "Run balancer when needed" activated, script look on slider value and change it in the command:
Code:
/usr/sbin/btrfs-balancer balance -b 50 -a <slider value>
That all
 
Posts: 211 | Thanked: 62 times | Joined on Oct 2014 @ Finland
#2095
Originally Posted by Schturman View Post
R1v3r, my BTRFSchecker work in this way:
1. It check what the current state, same command as you wrote manually:
Code:
btrfs-balancer allocation
2. If option "Run balancer when needed" is activated and allocation more than 13153337344 or 89% it automatically will start balancer command from official /lib/systemd/system/btrfs-balance.service file that disabled by default:
Code:
/usr/sbin/btrfs-balancer balance -b 50 -a 75
3. If allocation less 13153337344 or 89% and "Run balancer when needed" activated, script look on slider value and change it in the command:
Code:
/usr/sbin/btrfs-balancer balance -b 50 -a <slider value>
That all
Thanks!

Donīt know about that balancing, but for some reason, it did not balanced for me. (After I run manually this btrfs-balancer balance, it is good)
 
Mikkosssss's Avatar
Posts: 645 | Thanked: 519 times | Joined on Apr 2012 @ Finland
#2096
@Coderus did mazelock buttons just get very hard to hit? I really have to focus at hitting first one.
At first I thought it was broken and could not unlock at all and went with normal numbers.
__________________
────────────────────
Try:My N9 bootvideo
 

The Following User Says Thank You to Mikkosssss For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#2097
yeah, ther eis some problem in 2.0.4, i'll look later this week.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 4 Users Say Thank You to coderus For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#2098
When you are looking, could you please also have a look at the landscape positioning?
The keys used to sit neatly in the centre but now (in landscape, using your patch) there are very much at the top of the screen, with the emergency call button almost completely off the screen.
This is not new in 2.0.4, it changed a few months ago
__________________
Русский военный корабль, иди нахуй!
 
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#2099
Originally Posted by pichlo View Post
When you are looking, could you please also have a look at the landscape positioning?
The keys used to sit neatly in the centre but now (in landscape, using your patch) there are very much at the top of the screen, with the emergency call button almost completely off the screen.
This is not new in 2.0.4, it changed a few months ago
it is SFOS-issue
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#2100
Originally Posted by Ancelad View Post
it is SFOS-issue
A known issue can be worked around, no?
__________________
Русский военный корабль, иди нахуй!
 
Reply

Tags
patchmanager, sailfish os


 
Forum Jump


All times are GMT. The time now is 17:33.