maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak (https://talk.maemo.org/showthread.php?t=92935)

mautz 2016-10-07 04:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by R1v3r (Post 1516323)
@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/

R1v3r 2016-10-07 05:13

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by mautz (Post 1516325)
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 2016-10-07 06:47

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by R1v3r (Post 1516327)
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 2016-10-08 17:35

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
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 ;)

R1v3r 2016-10-10 06:00

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Schturman (Post 1516438)
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 2016-10-10 07:51

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@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.

coderus 2016-10-10 07:54

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
yeah, ther eis some problem in 2.0.4, i'll look later this week.

pichlo 2016-10-10 10:21

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
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 2016-10-10 12:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by pichlo (Post 1516534)
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 2016-10-10 12:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Ancelad (Post 1516544)
it is SFOS-issue

A known issue can be worked around, no? ;)


All times are GMT. The time now is 06:44.

vBulletin® Version 3.8.8