My WD MyBook / OpenWRT 21.02.02 installation has run out of rootfs space.
Obviously because, being a hard drive install, I have added/been able to add a number of packages than make OpenWRT more useful/flexible (to me, YMMV).
Now I need to go about adding some space but I do not want to do it on-line as Murphy is always around to help muck things up.
Even if I wanted to, it would not be possible as no more packages can be installed due to the lack of space and there are a couple of packages I would need to install.
This is the gparted screenshot of the present situation:
Thanks for the prompt reply.
Right, worked as I intended.
Just expanded rootfs to ~2X original size at the expense of the unallocated 1.40GiB.
Should be more than enough.
I know this comment is beyond the scope of your question and is also for others reading this thread.
Don't assume that the change to the partition size and filesystem size will survive a system upgrade as may be expected in other linux distros. There are many posts about lost files due to initialization of the partitions and filesystems during upgrades. There may be some devices/platforms that are ok but many are definitely not.
Be sure to have a good backup of your system and an up to date list of installed packages and all related configs for any state you want to restore to.