The Following 12 Users Say Thank You to meemorph For This Useful Post: | ||
acrux, carmenluci, deprecated, hhbbap, J4ZZ, jakibaki, juiceme, lal, maximilian1st, objectifnul, olf, speactra |
|
2017-10-06
, 15:01
|
Posts: 204 |
Thanked: 443 times |
Joined on Jul 2012
@ Germany - Potsdam
|
#182
|
|
2017-10-06
, 16:21
|
Posts: 959 |
Thanked: 3,427 times |
Joined on Apr 2012
|
#183
|
|
2017-10-07
, 04:31
|
Posts: 84 |
Thanked: 146 times |
Joined on Feb 2015
|
#184
|
Thank you, very nice hint. I can confirm that it works. I added 4GB to rootfs (btw: I have /home/nemo on the sd card).
what I did on my XperiaX (recovery shell):
Code:lvm lvm> lvscan ACTIVE '/dev/sailfish/root' [2.44 GiB] inherit ACTIVE '/dev/sailfish/home' [18.25 GiB] inherit lvm> exit resize2fs /dev/sailfish/home 11G lvm lvm> lvresize -L -4096M /dev/sailfish/home lvm> lvresize -l +100%FREE /dev/sailfish/root lvm> lvscan ACTIVE '/dev/sailfish/root' [6.44 GiB] inherit ACTIVE '/dev/sailfish/home' [14.25 GiB] inherit lvm> exit resize2fs /dev/sailfish/home resize2fs /dev/sailfish/root exit
lvm> lvscan /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error ACTIVE '/dev/sailfish/root' [2.44 GiB] inherit ACTIVE '/dev/sailfish/home' [47.38 GiB] inherit
resize2fs /dev/sailfish/home 11G resize2fs 1.43.1 (08-Jun-2016) Filesystem at /dev/sailfish/home is mounted on /home; on-line resizing required resize2fs: On-line shrinking not supported
lvm> lvresize -L -4096M /dev/sailfish/home /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error WARNING: Reducing active and open logical volume to 43.38 GiB THIS MAY DESTROY YOUR DATA (filesystem etc.) Do you really want to reduce home? [y/n]: y Size of logical volume sailfish/home changed from 47.38 GiB (12128 extents) to 43.38 GiB (11104 extents). Logical volume home successfully resized lvm> lvresize -l +100%FREE /dev/sailfish/root Size of logical volume sailfish/root changed from 2.44 GiB (625 extents) to 6.44 GiB (1649 extents). Logical volume root successfully resized lvm> lvscan ACTIVE '/dev/sailfish/root' [6.44 GiB] inherit ACTIVE '/dev/sailfish/home' [43.38 GiB] inherit
The Following 3 Users Say Thank You to oenone For This Useful Post: | ||
|
2017-10-07
, 05:42
|
Posts: 367 |
Thanked: 1,442 times |
Joined on Feb 2015
|
#185
|
The Following 3 Users Say Thank You to lantern For This Useful Post: | ||
|
2017-10-07
, 05:53
|
Posts: 74 |
Thanked: 355 times |
Joined on Aug 2017
|
#186
|
Thank you for the instructions.
I get this when running lvscan:
The Input/output errors, are they caused by anything in particular, and is there anything I can or should do about them?Code:lvm> lvscan /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error ACTIVE '/dev/sailfish/root' [2.44 GiB] inherit ACTIVE '/dev/sailfish/home' [47.38 GiB] inherit
And then. . .
What is on-line resizing and how do I get past this issue of it not being supported?Code:resize2fs /dev/sailfish/home 11G resize2fs 1.43.1 (08-Jun-2016) Filesystem at /dev/sailfish/home is mounted on /home; on-line resizing required resize2fs: On-line shrinking not supported
Decided to carry on:
Seems to have worked, or am I missing something?Code:lvm> lvresize -L -4096M /dev/sailfish/home /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error WARNING: Reducing active and open logical volume to 43.38 GiB THIS MAY DESTROY YOUR DATA (filesystem etc.) Do you really want to reduce home? [y/n]: y Size of logical volume sailfish/home changed from 47.38 GiB (12128 extents) to 43.38 GiB (11104 extents). Logical volume home successfully resized lvm> lvresize -l +100%FREE /dev/sailfish/root Size of logical volume sailfish/root changed from 2.44 GiB (625 extents) to 6.44 GiB (1649 extents). Logical volume root successfully resized lvm> lvscan ACTIVE '/dev/sailfish/root' [6.44 GiB] inherit ACTIVE '/dev/sailfish/home' [43.38 GiB] inherit
EDIT: Yep, missing something. Device is stuck in a bootloop. This is the F5122.
The Following 6 Users Say Thank You to jenix For This Useful Post: | ||
|
2017-10-07
, 06:25
|
Posts: 120 |
Thanked: 843 times |
Joined on Jul 2015
@ Berlin, Germany
|
#187
|
Thank you for the instructions.
I get this when running lvscan:
The Input/output errors, are they caused by anything in particular, and is there anything I can or should do about them?Code:lvm> lvscan /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error ACTIVE '/dev/sailfish/root' [2.44 GiB] inherit ACTIVE '/dev/sailfish/home' [47.38 GiB] inherit
And then. . .
What is on-line resizing and how do I get past this issue of it not being supported?Code:resize2fs /dev/sailfish/home 11G resize2fs 1.43.1 (08-Jun-2016) Filesystem at /dev/sailfish/home is mounted on /home; on-line resizing required resize2fs: On-line shrinking not supported
Decided to carry on:
Seems to have worked, or am I missing something?Code:lvm> lvresize -L -4096M /dev/sailfish/home /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error WARNING: Reducing active and open logical volume to 43.38 GiB THIS MAY DESTROY YOUR DATA (filesystem etc.) Do you really want to reduce home? [y/n]: y Size of logical volume sailfish/home changed from 47.38 GiB (12128 extents) to 43.38 GiB (11104 extents). Logical volume home successfully resized lvm> lvresize -l +100%FREE /dev/sailfish/root Size of logical volume sailfish/root changed from 2.44 GiB (625 extents) to 6.44 GiB (1649 extents). Logical volume root successfully resized lvm> lvscan ACTIVE '/dev/sailfish/root' [6.44 GiB] inherit ACTIVE '/dev/sailfish/home' [43.38 GiB] inherit
EDIT: Yep, missing something. Device is stuck in a bootloop. This is the F5122.
The Following 3 Users Say Thank You to jakibaki For This Useful Post: | ||
|
2017-10-07
, 17:24
|
Posts: 1,746 |
Thanked: 1,832 times |
Joined on Dec 2010
|
#188
|
The Following 3 Users Say Thank You to m4r0v3r For This Useful Post: | ||
|
2017-10-07
, 17:31
|
Posts: 300 |
Thanked: 962 times |
Joined on Jun 2010
@ USA
|
#189
|
switching between different ambiences should be working fine if you upgrade to 2.1.2.3
The Following 2 Users Say Thank You to deprecated For This Useful Post: | ||
|
2017-10-07
, 18:37
|
Posts: 1,746 |
Thanked: 1,832 times |
Joined on Dec 2010
|
#190
|
The Following User Says Thank You to m4r0v3r For This Useful Post: | ||
what I did on my XperiaX (recovery shell):
Last edited by meemorph; 2017-10-06 at 15:04.