Bug 1824984 - fedora iot should have overlayfs to save diskspace
Summary: fedora iot should have overlayfs to save diskspace
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: IoT
Version: 31
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peter Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-16 19:18 UTC by Ilkka Tengvall
Modified: 2020-04-16 20:08 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-16 20:08:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 5806 0 None None None 2020-04-16 19:18:10 UTC
Github containers libpod issues 5806 0 None closed podman pull unexpectly wastes lot of space for image 2020-04-16 19:18:10 UTC

Description Ilkka Tengvall 2020-04-16 19:18:10 UTC
Description of problem:

Not having fuse-overlayfs installed wastes lot of diskspace while pulling container images as user.

Version-Release number of selected component (if applicable): 31


How reproducible: Every time


Steps to Reproduce:
1. as user: docker pull ansible/awx_task:10.0.0


Actual results:

My 15GB LV got full and I didn't receive 2GB image.

Expected results:

```
REPOSITORY                                 TAG      IMAGE ID       CREATED        SIZE
docker.io/ansible/awx_task                 10.0.0   a968a1c4d9fd   2 weeks ago    2.1 GB
```


Additional info:

See this podman issue: https://github.com/containers/libpod/issues/5806

The fix is to

```
sudo rpm-ostree install fuse-overlayfs
```

Which helps to reduce diskspace by using overlayfs instead of vfs. I see this as mandatory addition to Fedora-IoT image, as the sole purpose of the release is to run containers. And without overlayfs the usage is very suboptimal.

Comment 1 Peter Robinson 2020-04-16 19:37:23 UTC
We've added this to IoT on F-32 already, is this F-31?

Comment 2 Ilkka Tengvall 2020-04-16 20:07:28 UTC
Yes, 31. Excellent, thanks.


Note You need to log in before you can comment on or make changes to this bug.