lmi
[Top][All Lists]
Advanced

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

[lmi] chroot size [Was: Creating a chroot for cross-building lmi]


From: Greg Chicares
Subject: [lmi] chroot size [Was: Creating a chroot for cross-building lmi]
Date: Tue, 19 May 2020 20:30:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 2020-05-19 19:51, Greg Chicares wrote:
> On 2020-05-19 17:46, Vadim Zeitlin wrote:
>> On Tue, 19 May 2020 17:21:58 +0000 Greg Chicares <address@hidden> wrote:
>> 
>> GC> On 2020-05-17 15:40, Greg Chicares wrote:
>> GC> > On 2020-05-16 22:03, Greg Chicares wrote:
> 
> [... debootstrap --variant=minbase ...]

Keeping chroots small is important if you have many of them.
I just removed several, and free space went up from 20%...

# df    
Filesystem     1K-blocks     Used Available Use% Mounted on
udev            32908632        0  32908632   0% /dev
tmpfs            6591596    10664   6580932   1% /run
/dev/sdb5      125756780 94771244  24554408  80% /
[...]

...to 48% after that cleanup.

/dev/sdb5      125756780 61949636  57376016  52% /

The chroots are the biggest things on this partition:

#du -ax / | sort -n -r | head -n 20 |less
67948412        /
48944096        /srv
47531220        /srv/chroot
18231868        /srv/chroot/bullseye0
17468296        /srv/chroot/centos7lmi
16816556        /srv/chroot/centos7lmi/srv
15403680        /srv/chroot/centos7lmi/srv/chroot
15403676        /srv/chroot/centos7lmi/srv/chroot/lmi_bullseye_1
11869112        /srv/chroot/bullseye0/opt
11867584        /srv/chroot/bullseye0/opt/lmi
11831052        /srv/chroot/lmi_bullseye_2
9780112 /home
9780108 /home/greg
8725188 /srv/chroot/centos7lmi/srv/chroot/lmi_bullseye_1/opt
8725184 /srv/chroot/centos7lmi/srv/chroot/lmi_bullseye_1/opt/lmi
5178684 /srv/chroot/lmi_bullseye_2/opt
5178680 /srv/chroot/lmi_bullseye_2/opt/lmi
5021008 
/srv/chroot/centos7lmi/srv/chroot/lmi_bullseye_1/opt/lmi/gcc_i686-w64-mingw32
4755688 /var
4519980 /srv/chroot/bullseye0/opt/lmi/gcc_i686-w64-mingw32

Of course, I could make the partition larger, but then I'd
just have more clutter.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]