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

Can't update due to out of space. But I have plenty of space!

asked 2019-12-16 22:33:45 +0300

rubyhorse gravatar image

updated 2019-12-16 22:38:37 +0300

For some reason I got a sys full notice while trying to update to 3.2.1.20. Even though I had plenty of space I decided to delete a lot of content and apps.

But I am stuck getting prevented from updating due to lack of space... interesting thing no matter how much I deleted the available space reported is 456MB on every try.

Is this a bug? How do I make the system understand it has loads of free space for the update? Yes I have restarted several times.

X 10+ ver 3.2.1.19

edit retag flag offensive close delete

Comments

2

If this is abaout a Jolla1 thenn look for 'btrfs balance'...

...else a bit more details of phone, actions could help.

peterleinchen ( 2019-12-16 22:36:13 +0300 )edit

2 Answers

Sort by » oldest newest most voted
3

answered 2019-12-16 23:07:24 +0300

MartinK gravatar image

I think you are yet another user hit by getting the rootfs full. Basically, there are two storage volumes - rootfs & home. Rootfs is where the system is and where native applications are installed. Home is where user data is stored.

Unfortunately, likely to please regular users that mainly care about the "regular" storage space in home, rootfs on Sailfish X devices is generally created very small, with maximums space allocated to home. This then bites you at update time, as updates generally require quite a bit of roofs space.

For more details & potentially what to do about it, see:

edit flag offensive delete publish link more

Comments

1

Device encryption calls for other steps in resizing the root partition. An updated step-by-step guide would be much appreciated.

And, @Jolla: Seriously?

Kopekenscheich ( 2019-12-17 06:47:45 +0300 )edit
1

LUKS containers can be resized, so this is at least still doable.

Also IIRC there has been some commit recently in tooling recently, finally bumping the rootfs size to some less insane value. Not sure when this will actually hit production images.

Still, this should not have happened in the first place, it's basically a ticking time bomb & pretty hard to solve for less technical users.

MartinK ( 2019-12-17 11:46:06 +0300 )edit
3

answered 2020-03-07 19:28:02 +0300

olf gravatar image

updated 2020-03-07 19:28:53 +0300

A generic guide how to enlarge the LVM "root" volume is provided as section 3.3 Increasing the "root" LVM volume size of the Guide: Installing Sailfish X on Xperias.

It covers ...

  • all Sony Xperias: X, XA2 and 10 (all models of each)
  • devices with an unencrypted or encrypted "home" volume, both
  • also older (pre-Xperia) devices (with only 16 GiB of eMMC FLASH memory, e.g. Jolla C, Intex Aquafish; but not the Jolla 1, as it does not use LVM), when adapting (i.e., recalculating / lowering) the size the "root" volume is initially shrunk to.
edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2019-12-16 22:33:45 +0300

Seen: 582 times

Last updated: Mar 07 '20