Message about no space left in /tmp should be clearer

Bug #872233 reported by T.H.
88
This bug affects 20 people
Affects Status Importance Assigned to Milestone
Déjà Dup
Triaged
Low
Unassigned

Bug Description

When duplicity runs out of space in /tmp, Deja Dup simply reports "Not enough space left". It should at least mention where there isn't enough space left.

Revision history for this message
T.H. (koarel) wrote :
description: updated
description: updated
description: updated
Revision history for this message
T.H. (koarel) wrote :

I just noticed my /tmp seems to have only 1.6GB (which seems very odd to me, it's no extra-partition but within the root-filesystem). When I run:
duplicity --gio --no-encryption file:///media/truecrypt1 /home/username/backup
duplicity starts writing in /tmp into a duplicity-folder, when 1.6GB are reached it aborts and the "no space left"-error appears.

So it seems to be a Problem with my filesystem, not with deja-dup.

(but does someone know how to expand /tmp?)

cheers

Revision history for this message
T.H. (koarel) wrote :

It works!

/tmp was mounted automatically as tmpfs in the /etc/fstab. It takes normally 1/2 Space of the RAM -> 1.6GB
duplicity first writes its cache of 2GB in the /tmp, which was to small -> not enough space left.
I uncommented the tmpfs-line in the /etc/fstab and now it works.

Sorry for the inconvenience.

Cheers

Revision history for this message
Michael Terry (mterry) wrote :

Good that you figured out the problem despite Deja Dup's cryptic message. I'll repurpose this bug to be about making that message more clear (a simple "Not enough space left in /tmp" would probably do it).

Changed in deja-dup:
importance: Undecided → Low
status: New → Triaged
summary: - "Not enough space left"-message on LUKS decrypted device
+ Message about no space left in /tmp should be clearer
description: updated
Revision history for this message
Brendan_P (brendan-p) wrote :

Is there a way to make Déjà Dup use a different location for this purpose?

I have this issue trying to do normal backups since I changed to using tmpfs for /tmp.

I don't want to loose the major performance boost I gained, hence the need to change the preference.

Revision history for this message
LCID Fire (lcid-fire) wrote :

The problem is with Deja, not with Duplicity (Why this option is not displayed in the UI, one can only wonder).
Thus you can call Duplicity manually via: duplicity --no-encryption --gio --tempdir /var/tmp file:///media/truecrypt1 file:///home/username/backup
So you can have your cake (tmpfs) and eat (backup) it, too ;)

Revision history for this message
Brendan_P (brendan-p) wrote :

@LCID Fire, thanks that's a good tip/work around till this get's sorted.

I was able to get it working ok by backing up my virtual machiens manually (which are big files obviusly). These where causing my problem, so for now all is working ok with tmpfs, but having this option in the UI woud be a definite improvement.

Revision history for this message
Leon Arundell (leon-arundell) wrote :

With regard to comment #6:
I received a message:
"Command line error: Two URLs specified. One argument should be a path. Enter duplicity --help for help screen"
when I entered:
"duplicity --no-encryption --gio --tempdir /var/tmp file://media/truecrypt1 file:///home/leon/backup"
[my username is "leon"]

I am using Ubuntu 14.04. Because of limited space on my boot disc, most of the files that I need to back up are on a second internal disc.

Revision history for this message
Dabo Ross (daboross) wrote :

Still today Deja-Dup reports "No space left on /" when it runs out of space on /tmp.

I have a 4GB tmpfs on /tmp, and even that isn't enough space. It takes 6+gb to run the "verify" step as far as I can tell...

It would be nice to provide an alternate directory. I already have ~/.cache/deja-dup mounted via rbind to my external HDD to have space there, but it isn't possible to do this for the /tmp directory since the name is randomly generated every time...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.