Open bouwew opened 6 years ago
Sorry - not that I know of
On 26 Apr 2018, at 11:19, bouwew notifications@github.com wrote:
Recently I run into an error caused by the fact that the var and var_rw overlays are full. Is there a way to set the size of the fuse overlays? I know how to do this in /etc/fstab for tmpfs but it does not seem to work for a fuse overlay?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hello,
Today I realized that the space-problem is related to the size of the ram on the board: on the Pi Zero the ram is less so the ramdisks are smaller.
The problem happens when I try to upgrade the pi-software (sudo apt-get upgrade), there is not enough space to unpack the files.
I was thinking, to solve this problem, would it be possible to disable the overlays, then perform the update, then re-enable the overlays again?
Can I do this by stopping and disabling the syncoverlayfs.service, reboot, perform the update, reboot, enable and start the syncoverlayfs.service, and then reboot once more?
The wiki page has information on how to do OS updates. If space is limited, you may have to do it in chunks.
On 8 May 2018, at 09:57, bouwew notifications@github.com wrote:
Hello,
Today I realized that the space-problem is related to the size of the ram on the board: on the Pi Zero the ram is less so the ramdisks are smaller.
The problem happens when I try to upgrade the pi-software (sudo apt-get upgrade), there is not enough space to unpack the files.
I was thinking, to solve this problem, would it be possible to disable the overlays, then perform the update, then re-enable the overlays again?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I have tried to do it in chunks, but the space is still too limited for e.g. the oracle-java8 update.
After reading the wiki page again, I would say the procedure should be:
Or, are there still some steps missing? E.g. I'm not sure what to do with the /var, /home and /var_org, /home_org directories?
I guess I'm actually looking for a recipe to remove/disable the overlayFS. I mean, if I can remove the (use of) overlayFS, perform the update and then (re)setup the overlayFS, I achieve what I want to do. I'm happy to test any idea you are having, I can always fall back to the SD-card-image I have created some day's ago and try again :)
Should be easier. Start by cleaning up /var/cache/apt/archives, then do it in steps. I have never used more than 2 steps to update a pretty loaded RPI w 512MB memory.
Please read https://askubuntu.com/questions/889211/how-to-delete-files-from-archives for more info on how to do that
Den 2018-05-08 15:48, skrev bouwew:
I guess I'm actually looking for a recipe to remove/disable the overlayFS. I mean, if I can remove the (use of) overlayFS, perform the update and then (re)setup the overlayFS, I achieve what I want to do. I'm happy to test any idea you are having, I can always fall back to the SD-card-image I have created some day's ago and try again :)
-- You are receiving this because you commented. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
*
Links:
[1] https://github.com/hansrune/domoticz-contrib/issues/3#issuecomment-387408281 [2] https://github.com/notifications/unsubscribe-auth/AC3kOt0PnGbZ-VfR-o_bjXnn4BA_0D5Rks5twaIygaJpZM4Tk0Du
Thank you again for the suggestion. I actually already knew that trick and had performed it. Unfortunately, the problem is the size of the oracle-java8 update, it's archive is 76MB. Untarred it is larger than the available ~150MB of free space in the ramdisk :(
So, I'm back to my original request. I would really appreciate your input on how to remove/disable the overlayFS :)
Recently I run into an error caused by the fact that the var and var_rw overlays are full. Is there a way to set the size of the fuse overlays? I know how to do this in /etc/fstab for tmpfs but it does not seem to work for a fuse overlay?