-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filesystem failed to expand [new RasPiOS opportunity to show visual progress during boot, as rootfs expands] #3378
Comments
Perhaps this is to be expected — if @drszxn had not yet rebooted? CLARIF: After PR #3337 is merged, a manual reboot will no longer be required to expand the root filesystem (with Raspberry Pi OS). Related:
|
Post writing http://download.iiab.io/8.0/iiab-8.0preview3-220820-SMALL-raspios64-lite-g2543831e.img.zip in host machine:
Firstboot in device:
The file should not be present if it ran but I didn't reboot
|
Think the reboot could be avoided just calling resize2fs "replace with variable" or borrow parts (fdisk) of the do_expand_rootfs() function from raspi-config |
Apologies I'm confused by the above: Isn't this ticket mainly discussing RasPiOS (where PR #3337 as it stands should handle rapid auto-reboot very cleanly) ? Or other OS's with resize2fs (where reboot is apparently not required) ? |
Neither, I spotted that the created image in the report didn't have a resized file system but jumped to just running the script in an effort to suppress the reboot.. I'll circle back with just reboot after the initial login on firstboot cause I'm wondering if using any of the pre-seed values in Rpi-imager changes the sequence of events given Rpi-imager creates 'systemd.run=/boot/firstrun.sh systemd.run_success_action=reboot systemd.unit=kernel-command-line.target' in the /boot/cmdline.txt file and /boot/firstrun.sh is created when you do on the newly written iiab image. |
To reduce complexity, PR #3337 (or something close to it) needs be merged and broadly tested shortly, after much progress over 7 weeks now: Certainly #3375 (and this ticket) are about RasPiOS. As such, is there solid evidence of a bug in How do we best identify conditions to reproduce that bug if so, as a public service for others? (Or conversely, if there's solid but complicated evidence — let's report that upstream as clearly as we can in coming days — so Raspberry Pi Foundation people can hopefully investigate!) |
No a simple reboot works on the produced images but doesn't give any user feedback that it is running. I'm looking towards the future with what was released on the current upstream images where there is feedback that the resize is in progress. |
From #3375 (comment)
Filesystem failed to expand
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.7G 5.7G 877M 87% / ZIMs: 3 OER2Go: 1 Apps2B: 0
=IIAB==========================================================================
COMMAND: /usr/bin/df -ah # Disk usage detail
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.7G 5.7G 877M 87% /
=IIAB==========================================================================
COMMAND: /usr/bin/lsblk # Partition mount points
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 58G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 57.7G 0 part /
Originally posted by @jvonau in #3375 (comment)
The text was updated successfully, but these errors were encountered: