Thank you for the instructions. I get this when running lvscan: 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 The Input/output errors, are they caused by anything in particular, and is there anything I can or should do about them?
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. . . 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 What is on-line resizing and how do I get past this issue of it not being supported?
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: 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 Seems to have worked, or am I missing something? EDIT: Yep, missing something. Device is stuck in a bootloop. This is the F5122.
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