Jolla Recovery v2.0 ----------------------------- Welcome to the recovery tool! The available options are: 1) Reset device to factory state 2) Reboot device 3) Shell 4) Perform file system check 5) Run sshd 6) Exit Type the number of the desired action and press [Enter]: 3 If you continue, this may void your warranty. Are you really SURE? [y/N] y /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error 2 logical volume(s) in volume group "sailfish" now active mount: mounting /dev/sailfish/root on /rootfs failed: Invalid argument [WARNING] Root file system unaccessible, bypassing device lock check. / # df -h Filesystem Size Used Available Use% Mounted on none 1.3G 4.0K 1.3G 0% /dev none 10.0M 0 10.0M 0% /tmp none 256.0K 12.0K 244.0K 5% /var/run / # ls bin etc lib proc root run sys usr dev init mnt res rootfs sbin tmp var / # resize2fs /dev/sailfish/root resize2fs 1.43.1 (08-Jun-2016) Resizing the filesystem on /dev/sailfish/root to 1164288 (4k) blocks. resize2fs: Can't read a block bitmap while trying to resize /dev/sailfish/root Please run 'e2fsck -fy /dev/sailfish/root' to fix the filesystem after the aborted resize operation. / # mke2fs -n /dev/sailfish/root Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 291456 inodes, 1164288 blocks 58214 blocks (5%) reserved for the super user First data block=0 Maximum filesystem blocks=4194304 36 block groups 32768 blocks per group, 32768 fragments per group 8096 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736 / # lvm lvm> vgs /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error VG #PV #LV #SN Attr VSize VFree sailfish 1 2 0 wz--n- 22.25g 0 lvm> lvscan ACTIVE '/dev/sailfish/root' [4.44 GiB] inherit ACTIVE '/dev/sailfish/home' [<17.81 GiB] inherit lvm> lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert home sailfish -wi-a----- <17.81g root sailfish -wi-a----- 4.44g lvm> exit Exiting. / # resize2fs /dev/sailfish/home 17G resize2fs 1.43.1 (08-Jun-2016) Resizing the filesystem on /dev/sailfish/home to 4456448 (4k) blocks. The filesystem on /dev/sailfish/home is now 4456448 (4k) blocks long. / # lvm ----------------------------- Jolla Recovery v2.0 ----------------------------- Welcome to the recovery tool! The available options are: 1) Reset device to factory state 2) Reboot device 3) Shell 4) Perform file system check 5) Run sshd 6) Exit Type the number of the desired action and press [Enter]: 2 Rebooting...
resize2fs /dev/sailfish/home 17G lvm vgs lvresize -L -2048M /dev/sailfish/home lvresize -l +100%FREE /dev/sailfish/root lvscan exit resize2fs /dev/sailfish/home resize2fs /dev/sailfish/root exit
resize2fs /dev/sailfish/home 15G lvm vgs lvresize -L -2048M /dev/sailfish/home lvresize -l +100%FREE /dev/sailfish/root lvscan exit resize2fs /dev/sailfish/home resize2fs /dev/sailfish/root exit