[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] /sysroot is full - Can we clean, resize it



Many thanks.

- I will try to upload Fed Atomic 26 on our OpenStack platform
- Here is the info required : https://gist.github.com/cmoulliard/07866a4f89804cfdd6de863487f24a88
- I will look to your suggestions: move to f26 

Are you running docker with overlayfs?  I don' think so


On Fri, Oct 27, 2017 at 3:18 PM, Dusty Mabe <dusty dustymabe com> wrote:


On 10/27/2017 08:33 AM, Charles Moulliard wrote:
> Hi,
>
> I'm using the Fedora-Atomic-25-compose-latest qcow2 image to create a VM running on OpenStack where the disk size is 40Gb

I would highly recommend moving to Fedora-Atomic-26. We don't actively test N-1 releases
of Fedora Atomic Host. That also means that very shortly we will recommend you move to
Fedora-Atomic-27.

>
> The vm has been provisioned with Openshift using ansible byi script. 
>
> After playing a little bit with the VM, I wad getting an error due to the fact that the disk was full
>
> fedora n01 ~]$ df -h
> Filesystem                 Size  Used Avail Use% Mounted on
> devtmpfs                   7.9G     0  7.9G   0% /dev
> tmpfs                      7.9G     0  7.9G   0% /dev/shm
> tmpfs                      7.9G   49M  7.8G   1% /run
> tmpfs                      7.9G     0  7.9G   0% /sys/fs/cgroup
> /dev/mapper/atomicos-root  3.0G  3.0G  1.6M 100% /sysroot
> /dev/vda1                  283M   77M  188M  29% /boot
> tmpfs                      1.6G     0  1.6G   0% /run/user/1000
>
> Is it possible to clean the content of /sysroot which contains "/sysroot/ostree/deploy/fedora-atomic/ like also to find a way to avoid this problem in the future ?

Are you running docker with overlayfs? Can you show me the output of `lsblk` and `rpm-ostree` status?

The best way to avoid filling the root filesystem is to use separate storage for containers, which can
be set up using container-storage-setup.

recommendations:

1. move to f26
2. set up separate storage for containers [1] [2]
3. you can make your root filesystem bigger [3]



[1] see the container storage section from https://dustymabe.com/2017/08/31/atomic-host-101-lab-part-2-container-storage/
[2] man page for container-storage-setup is here https://github.com/projectatomic/container-storage-setup/blob/master/container-storage-setup.1
[3] see the extend root filsystem part from https://dustymabe.com/2017/08/29/atomic-host-101-lab-part-0-preparation/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]