Skip to content
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

iot-simplified-installer /sysroot lv size should be 9G on fedora 38 #3529

Closed
yih-redhat opened this issue Jun 28, 2023 · 4 comments · Fixed by osbuild/images#169
Closed

iot-simplified-installer /sysroot lv size should be 9G on fedora 38 #3529

yih-redhat opened this issue Jun 28, 2023 · 4 comments · Fixed by osbuild/images#169

Comments

@yih-redhat
Copy link
Contributor

Describe the bug
/sysroot lv size should be 9G

Environment

  • OS version (/etc/os-release and /etc/redhat-release): fedora-38
  • osbuild-composer version (rpm -qi osbuild-composer)

To Reproduce
Steps to reproduce the behavior:

  1. build iot-simplified-installer image and boot it, check check /sysroot lv size
    [admin@localhost ~]$ df -h | grep sysroot
    /dev/mapper/rootvg-rootlv 2.9G 1.9G 877M 69% /sysroot

Expected behavior
/sysroot lv size should be 9G

Additional context
Add any other context about the problem here.

@yih-redhat
Copy link
Contributor Author

[admin@localhost ~]$ df -h | grep sysroot
/dev/mapper/rootvg-rootlv 2.9G 1.9G 878M 69% /sysroot
[admin@localhost ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sr0 11:0 1 2K 0 rom
vda 252:0 0 20G 0 disk
├─vda1 252:1 0 501M 0 part /boot/efi
├─vda2 252:2 0 1G 0 part /boot
└─vda3 252:3 0 18.5G 0 part
└─luks-344cb5d6-c58e-4397-acb6-25ccf80fe8a4 253:0 0 18.5G 0 crypt
└─rootvg-rootlv 253:1 0 3G 0 lvm /var
/sysroot/ostree/deploy/fedora/var
/usr
/etc
/
/sysroot

@yih-redhat
Copy link
Contributor Author

related to pr #3282

@achilleas-k
Copy link
Member

The coreos-installer should be growing the root filesystem after installation to fill the disk and the raw image file in the simplified installer is already set to 10 GiB.

I did a local test and experienced the following error.
image

@yih-redhat Are you seeing anything like that in your testing?

@yih-redhat
Copy link
Contributor Author

The coreos-installer should be growing the root filesystem after installation to fill the disk and the raw image file in the simplified installer is already set to 10 GiB.

I did a local test and experienced the following error. image

@yih-redhat Are you seeing anything like that in your testing?

No, I didn't see this before, but I will keep an eye on it as I am going to test the fix in osbuild/images#169

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants