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

Btrfs balancing problems when upgrading to 2.0.2/Aurajoki

asked 2016-09-08 11:57:52 +0200

ray-ven gravatar image

updated 2016-09-08 12:05:21 +0200

Hey Sailors,

please help me to repair my Jolla, it's my main phone :-( well, probably the last 2 lines explain the most issues - probably u don't want to read the whole story

background: I recently resetted my phone to factory defaults and upgraded to 2.0.1, after using it about 2 months I decided to upgrade to 2.0.2. As always, the update wanted to do some btrfs balancing. I did that and put the phone back in the pocket. After a while I wanted to check if balancing is done and if I could do the upgrade but the upgrade wanted me to do the balancing again. So I did that. Systemsettings became inaccessible, so I restarted it. After that, the system-upgrade part of systemsettings was inacessible. So I decided to do the upgrade in terminal with version --dub, which acutally worked. I restarted my phone and 2.0.2 showed up.

Now the problems begin: System sometimes hangs and all apps are closed, after that, the store shows no installed apps, warehouse doesn't work anymore android stays shut down. After reboot the phone works normally for a while. So I thought, do btrfs balancing in terminal. It starts, but stays at 2% over the night (8h).

So the question: Do I have to reset the phone? Will this solve the problem? It seems the filesystem is corrupted somehow - or will freeing space and restart balancing work? Please help me out!

Thanks in Advance, Ray

touch /forcefsck --> no disk space :-D What can I erase on root partition? brtfs-balance allocate : 100%

edit retag flag offensive close delete

Comments

Try moving all your user data like Pictures, Downloads, Documents etc to the SD card or to your computer (good idea anyway in case something goes wrong and the phone stops working completely), remove the files from your phone and try btrfs-balance again.

I don't think there is much to delete on the root partition.

In any case resetting the phone won't solve this issue so don't do it.

nthn ( 2016-09-08 13:21:31 +0200 )edit

it is only the root partition which seems to be full though :-( Pics and stuff aren't on the device anyway. df says there's enough space, so I thought it has to be a balancing problem. I need to clean /, but need to know what exactly can be deleted. Well, can it be that / and /home are the same partitions somehow?! Can't write on both nor delete anything - in both cases it says "no space left"

ray-ven ( 2016-09-08 13:24:55 +0200 )edit

Then I think you should try deleting Android applications as they take up the most space.

nthn ( 2016-09-08 13:54:07 +0200 )edit
1

ok, this helped: https://together.jolla.com/question/14633/bug-factory-reset-no-storage-left/ , at least I can delete files now! I'll keep you posted

ray-ven ( 2016-09-08 14:05:43 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-09-08 22:32:45 +0200

ray-ven gravatar image

Could solve the problem - it was difficult to delete files though. I don't remember exactly how I did it, but I needed some recovery action to delete files. Didn't know, that / and /home are on the same partition - Whatsapp was filling the device. I still think this is a bug though - there should be more warnings and protections. I really can't understand why they use subvolumes instead partitions. Sorry Sailfish/Mer-Guys I love the system but having everything on the same partition is just very stupid. Anyway - everything is back to normal now Thanks for helping

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2016-09-08 11:57:52 +0200

Seen: 442 times

Last updated: Sep 08 '16