I succesfully resized my root partition with: Use the space from a u... | SailfishOS community wiki .
However I only added 20% of the free space to the root partition. I want to use the rest for /home.
So I did the same for home:
[root@XperiaXA2 mapper]# lvextend sailfish/home -l +100%Free
/dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
Size of logical volume sailfish/home changed from 17.55 GiB (4494 extents) to 19.81 GiB (5072 extents).
Logical volume sailfish/home successfully resized.
However resize2fs doesn’t work for /home:
[root@XperiaXA2 defaultuser]# resize2fs /dev/mapper/sailfish-home
resize2fs 1.46.5 (30-Dec-2021)
resize2fs: Device or resource busy while trying to open /dev/mapper/sailfish-home
Couldn't find valid filesystem superblock.
Is this due to the LUKS encryption? Is there a way around this? Any help would be greatly appreciated.
(also, it seems like I will only gain 3GB, 700GB on / and 2.3GB on /home, from this. Wasn’t the unused partition system_a
on the XA2 more like 10-12GB?)