Hi Paul,

thanks for the reply. I simply attached the SD card to a SD card reader and used "gparted" from my desktop.

However, having all of those options documented for the use case: "How do I grow my partition?" would make sense to me. To spare others the research :)

Cheers

Jens

On Wed, Dec 16, 2020 at 4:22 PM Paul Whalen <pwhalen@redhat.com> wrote:
Hi Jens,

----- Original Message -----
> Hi,
>
> I tried to get a podman container up and running on Fedora IoT. According to
> the docs [1], that should be simple. But it fails for me due to the lack of
> disk space:
>
> ~~~
> Storing signatures
> Error processing tar file(exit status 1): write /usr/share/vim/vim81/tutor/
> tutor.ru : no space left on device
> Error: unable to pull ghcr.io/drogue-iot/hey-rodney-pocketsphinx:latest :
> Error committing the finished image: error adding layer with blob
> "sha256:bd8af20134e868f1d08513
> 8b55404b22170dbc8dde8d8db8f7fe07d13378e6a1": Error processing tar file(exit
> status 1): write /usr/share/vim/vim81/tutor/ tutor.ru : no space left on
> device
> ~~~
>
> The problem I have, growing the partition according to the Fedora docs [2]
> doesn't work either:
>
> ~~~
> [root@localhost ~]# growpart /dev/mmcblk0 3
> -bash: growpart: command not found


You can install cloud-utils to use the growpart command, or use the
arm-image-installer when writing out the image to use the full space.

To install the package 'rpm-ostree install cloud-utils'.

> ~~~
>
> As the distribution is OStree based, I understand that you cannot simply use
> `dnf` to install additional packages.
>
> However, in the Fedora IoT docs, I also cannot find any information in how to
> grow the partition.
>
> I think resizing the partition on Raspberry Pi is such a common task, that it
> should either be done automatically, or the docs should contain some quick
> instructions on how to perform this task.

Thanks for the feedback, I'll add something to our docs.

Paul

>
> Cheers
>
> Jens
>
> [1]: https://docs.fedoraproject.org/en-US/iot/container-support/
> [2]:
> https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi#Resize_after_initial-setup
>
> --
> Jens Reimann
> Principal Software Engineer / R&D Product Middleware
> Werner-von-Siemens-Ring 14
> 85630 Grasbrunn
> Germany
> phone: +49 89 2050 71286
> _____________________________________________________________________________
>
> Red Hat GmbH, https://de.redhat.com/
> Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB
> 153243,
> Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael
> O'Neill
>
> _______________________________________________
> IoT mailing list -- iot@lists.fedoraproject.org
> To unsubscribe send an email to iot-leave@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/iot@lists.fedoraproject.org
>
_______________________________________________
IoT mailing list -- iot@lists.fedoraproject.org
To unsubscribe send an email to iot-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/iot@lists.fedoraproject.org


--
Jens Reimann
Principal Software Engineer / R&D Product Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, https://de.redhat.com/
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill