You are not logged in.

#1 2015-11-29 07:10:30

makh
Member
Registered: 2011-10-10
Posts: 299

<Closed> Over filling of /var/lib/schroot

Hello

The space in the path is wasting space on my root partition as below:

root (Path= /var/lib/schroot)
# du -hs *
du: cannot access ‘mount/jessie_1-fff2d342-61ea-4345-a0f5-e924218137e3/proc/29817/task/29817/fd/4’: No such file or directory
du: cannot access ‘mount/jessie_1-fff2d342-61ea-4345-a0f5-e924218137e3/proc/29817/task/29817/fdinfo/4’: No such file or directory
du: cannot access ‘mount/jessie_1-fff2d342-61ea-4345-a0f5-e924218137e3/proc/29817/fd/4’: No such file or directory
du: cannot access ‘mount/jessie_1-fff2d342-61ea-4345-a0f5-e924218137e3/proc/29817/fdinfo/4’: No such file or directory
3.1G    mount
9.1M    session
12K    union
4.0K    unpack

The problem is exactly the same as here:
https://bugs.debian.org/cgi-bin/bugrepo … bug=775423

Kindly advise how to automatically remove the unneccessary previous created sessions.

Thanks in advance.

Last edited by makh (2017-01-28 04:12:12)


OS:  Arch  &/  Debian
System: LENOVO ThinkPad E14
Desktop: Xfce

Offline

#2 2015-11-29 10:34:07

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: <Closed> Over filling of /var/lib/schroot

Don't use /var/lib/schroot for the chroot.  Select another partition or directory in /etc/schroot/schroot.conf (directory=/path/to/new/location).

Last edited by graysky (2015-11-29 10:34:48)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2015-11-30 12:55:14

makh
Member
Registered: 2011-10-10
Posts: 299

Re: <Closed> Over filling of /var/lib/schroot

In /etc/schroot/schroot.conf

the "directory" option represents the chroot path, not the "/var/lib/schroot".

My chroot path is not in the root, it is on separate partition, and doesnt seem to effect the root. But as /var/lib/schroot/mount is over filling the root ie 3Gib now. The issue is how to clear the /var/lib/schroot/mount to remain less than 1Gib.

Thankyou.


OS:  Arch  &/  Debian
System: LENOVO ThinkPad E14
Desktop: Xfce

Offline

Board footer

Powered by FluxBB