You don't have enough free space in /var/cache/apt/archives/

796 views
Skip to first unread message

ka...@oakland.edu

unread,
Mar 27, 2017, 8:47:16 PM3/27/17
to cloudlab-users
The var folder of profile is set to 16GB. I am out of more space. I am trying to install some packages, but I got an error "You don't have enough free space in /var/cache/apt/archives/". I freed up all deb files, and still not enough. Can I increase var size? or I have to create another profile or experiment that allocates big partition for var folder (which one do you recommend?)

Mike Hibler

unread,
Mar 27, 2017, 9:14:46 PM3/27/17
to ka...@oakland.edu, cloudlab-users
How much software (roughly, in GBs) are you planning to load? And are you
planning to make a custom image of the result?

Creating custom images over about 10-20GB become unwieldy as our imaging tool
is best suited to images that are loaded on multiple nodes simultaneously and
that have filesystems that are not densely populated. That is, it wins by
multicasting and by understanding the underlying filesystem and not
saving/reloading unused space in that filesystem.

On Mon, Mar 27, 2017 at 05:47:16PM -0700, ka...@oakland.edu wrote:
>
>
> The var folder of profile is set to 16GB. I am out of more space. I am trying to install some packages, but I got an error "You don't have enough free space in */var/cache/apt/archives/*". I freed up all deb files, and still not enough. Can I increase var size? or I have to create another profile or experiment that allocates big partition for var folder (which one do you recommend?)
>
> --
> You received this message because you are subscribed to the Google Groups "cloudlab-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cloudlab-user...@googlegroups.com.
> To post to this group, send email to cloudla...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/cloudlab-users/2524eeed-710b-4285-9cee-4d277b32a905%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

ka...@oakland.edu

unread,
Mar 27, 2017, 9:28:30 PM3/27/17
to cloudlab-users, ka...@oakland.edu
I need to install libvmi. First, I need to install some dependencies that require about 2-3GB in archives folder.

Leigh Stoller

unread,
Mar 30, 2017, 11:21:26 AM3/30/17
to ka...@oakland.edu, cloudlab-users
> I need to install libvmi. First, I need to install some dependencies that
> require about 2-3GB in archives folder.

Hi. Unfortunately, you cannot expand the root filesystem, but there are
other unused partitions on the disk that you can initialize and mount
as needed. There are several ways to do this, but it depends on how the
space is used. Is it just extra space to build libvmi? I ask because the
dependencies listed on the web site for libvmi do not seem to indicate
that it needs 3G for dependencies.

The easiest thing to do is:

sudo /usr/local/etc/emulab/mkextrafs.pl /somedir

Caveat: you cannot take a snapshot of this space, only the root partition
is saved when you take a snapshot. But in this case that is okay, since you
cannot take snapshots of any nodes in an OpenStack experiment.

Leigh




Reply all
Reply to author
Forward
0 new messages