No space left on device

532 views
Skip to first unread message

George Zaki

unread,
Jan 24, 2018, 10:10:13 AM1/24/18
to singularity
Hi,

I am on the master branch and I run:

sudo singularity build  candle.simg ./swift-hypervisor.def

I kept building till I get this error with a python package:
IOError: [Errno 28] No space left on device
ABORT: Aborting with RETVAL=255


As in 2.4, there is no mention of the contianer size, what am I missing? This used be build fine with 2.3.

Here is the def file, and the other R and python dependencies:

https://github.com/ECP-CANDLE/Distribution/blob/master/swift-hypervisor.def

Thanks,
George.

Thomas Hartmann

unread,
Jan 24, 2018, 10:23:04 AM1/24/18
to singu...@lbl.gov
Hi George,

have you run out of inodes?
(I run once into the trap once when I build on a smallish fs with many
maildir etc. files)

Cheers,
Thomas
> --
> You received this message because you are subscribed to the Google
> Groups "singularity" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to singularity...@lbl.gov
> <mailto:singularity...@lbl.gov>.

George Zaki

unread,
Jan 24, 2018, 11:17:34 AM1/24/18
to singu...@lbl.gov
Thanks Thomas, 

I don't think that I run out of inodes on the host OS. I built the container using the sandbox option with no problem. I am not sure why I can't build the simg directly from the def file.

Best regards,
George.

You received this message because you are subscribed to a topic in the Google Groups "singularity" group.
To unsubscribe from this topic, visit https://groups.google.com/a/lbl.gov/d/topic/singularity/c1g2tZO3Q-8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to singularity...@lbl.gov.

George Zaki

unread,
Jan 26, 2018, 8:37:06 AM1/26/18
to singularity
Hi singularity group, 

Did anybody face the same problem before. As I understand in 2.4 there is no reason to define the container size. What would cause that problem then? 

To give more context, I was able to generate a container using the sandbox option and convert it back to simg. However I would like to generate the simg directly.

Thanks,
George.

Oliver Freyermuth

unread,
Jan 26, 2018, 9:29:22 AM1/26/18
to singu...@lbl.gov, George Zaki
Hi George,

I'm not fully sure, but my best guess is that your TMPDIR is overflowing. Potentially, you have a small tmpfs mounted there?
Singularity uses TMPDIR for the build before squashing things together to an simg as far as I know.
You should be able to control that by setting the environment variable SINGULARITY_CACHEDIR to a different location with more space
(we use a ramdisk for this purpose). Too bad documentation does not clearly state that, I also had to figure that our from the code a while ago,
and asked for documentation improvements.

Cheers,
Oliver
> https://github.com/ECP-CANDLE/Distribution/blob/master/swift-hypervisor.def <https://github.com/ECP-CANDLE/Distribution/blob/master/swift-hypervisor.def>

v

unread,
Jan 26, 2018, 10:01:12 AM1/26/18
to singu...@lbl.gov, George Zaki
Hey George and Oliver,

Aw, let's fix up the docs! How is this for a first shot?


> To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov <mailto:singularity+unsub...@lbl.gov>.


--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.



--
Vanessa Villamia Sochat
Stanford University '16

Levi Baber

unread,
Jan 29, 2018, 8:01:31 PM1/29/18
to singu...@lbl.gov, George Zaki
I also added some info about the $TMPDIR to this page:


> To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov <mailto:singularity...@lbl.gov>.


--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.



--
Vanessa Villamia Sochat
Stanford University '16

--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.

George Zaki

unread,
Feb 16, 2018, 9:40:17 AM2/16/18
to singularity, georg...@gmail.com
Thanks Levi. 

From the documentation, do you set SINGULARITY_LOCALCACHEDIR or SINGULARITY_TMPDIR or both?
> To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov <mailto:singularity+unsub...@lbl.gov>.


--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.

Rutu Pandya

unread,
May 31, 2019, 6:46:18 PM5/31/19
to singularity
Hi Vanessa,

How to  set the $SINGULARITY_CACHEDIR to a different location?
Or what other alternatives to deal with "No space left" error?

Thanks and sorry if this is a repetition!

Rutu

On Wednesday, January 24, 2018 at 10:10:13 AM UTC-5, George Zaki wrote:

v

unread,
May 31, 2019, 7:02:25 PM5/31/19
to singu...@lbl.gov
Hey Rutu,

You can export SINGULARITY_CACHEDIR to somewhere with more space, see here https://www.sylabs.io/guides/3.0/user-guide/build_env.html for the docs.

Best,

Vanessa

--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
Reply all
Reply to author
Forward
0 new messages