No space left in ‘/’.

Asked by Peter Stock

I am having trouble running backups.

I have specified an external drive as the Storage Location and there is 192Gbs free on that volume (more I am sure than the data I am backing up)

But I am getting an error: "No space left in ‘/’."
which I expect means there is insufficient space left on my home or root or whatever drive to do the backup. (I am not very clear on terminology, sorry.)
why is the Backup looking at my '/'' ? is that for working space of some kind?
I know that my "/" location is always low on space, there is usually less than 4Gb free there (I only allocated 20gb to the Ubuntu root partition)

any suggestions on how to fix this?

Question information

Language:
English Edit question
Status:
Expired
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Peter Stock (midtownee) said :
#1

Oh and the total of the folders I am trying to back up equals about 76gb.
Peter

Revision history for this message
Manfred Hampl (m-hampl) said :
#2
Revision history for this message
Peter Stock (midtownee) said :
#3

Thanks but I am completely intimidated by that AskUbuntu forum.
I was about to ask for some scarification but got a warning "Wait! Some of your past questions have not been well-received, and you're in danger of being blocked from asking any more."

I don't think AskUbuntu is a comfortable place for me.

(but basically I am unclear how to get these suggested commands to work.

mkdir /othervolume/.deja-dup-cache
mv ~/.cache/deja-dup/* /othervolume/.deja-dup-cache/
rmdir ~/.cache/deja-dup
ln -sf /othervolume/.deja-dup-cache ~/.cache/deja-dup

I presume I substitute on of my own volumes for "othervolume"
but I have one labelled "New Volume" but that is causing the command to fail.
is that name not suitable?

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

1. You need to have that other volume mounted in your directory tree.
What is the output of the command

df -h

2. If you have a file/directory/volume name with embedded special characters, you have to mask that character to prevent that it is interpreted as end of the word.
In your case this might be something like

/media/New\ Volume

(details depending on where that other volume is mounted).

Revision history for this message
Peter Stock (midtownee) said :
#5

peter@Peter-Desk:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 4.0K 2.0G 1% /dev
tmpfs 398M 1.5M 396M 1% /run
/dev/sda5 20G 15G 4.4G 77% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 63M 1.9G 4% /run/shm
none 100M 60K 100M 1% /run/user
/dev/sdd1 466G 360G 106G 78% /media/peter/New Volume
/dev/sdc1 1.9T 1.1T 768G 59% /media/peter/Seagate Expansion Drive
/dev/sda2 51G 39G 13G 77% /media/peter/5ABA2917BA28F0E5
/dev/sdb1 196G 196G 276M 100% /media/peter/Internal 250GB
peter@Peter-Desk:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

I assume that, if you want to use the 466GB "New Volume", the commands have to be

mkdir /media/peter/New\ Volume/.deja-dup-cache
mv ~/.cache/deja-dup/* /media/peter/New\ Volume/.deja-dup-cache/
rmdir ~/.cache/deja-dup
ln -sf /media/peter/New\ Volume/.deja-dup-cache ~/.cache/deja-dup

Revision history for this message
Peter Stock (midtownee) said :
#7

thank you for being so clear and helpful Manfred.
those commands seem to have worked correctly.

Next I will try a BU again and see what happens.

many thanks

Peter

Revision history for this message
Peter Stock (midtownee) said :
#8

Hello again Manfred.

I ran the backup last night but unfortunately it still failed on a No Space error.
but instead of "No space left in ‘/’" it is "No space left in New Volume" (so at least it seems to be pointing to the desired location now, thanks to you.)

New Volume is showing 230Gb free and the 2 folders I specified for BU only total 6Gb+70Gb so about 76Gb.
I can't understand why it would run out of space?

Interesting too, I am still getting a big (4.5Gb) Deja Dup file in the .cache folder of my Home directory.

any further suggestions?

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

What is the output of

ls -lad ~/.cache
df -h
df -i

Revision history for this message
Peter Stock (midtownee) said :
#10

many thanks again Manfred.

here's what I get:

peter@Peter-Desk:~$ ls -lad ~/.cache
drwx------ 29 peter peter 4096 Apr 1 09:55 /home/peter/.cache
peter@Peter-Desk:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 4.0K 2.0G 1% /dev
tmpfs 398M 1.5M 396M 1% /run
/dev/sda5 20G 15G 4.3G 77% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 130M 1.9G 7% /run/shm
none 100M 68K 100M 1% /run/user
/dev/sdc1 1.9T 1.2T 657G 65% /media/peter/Seagate Expansion Drive
/dev/sdb1 196G 86G 110G 44% /media/peter/Internal 250GB
/dev/sdd1 466G 252G 215G 55% /media/peter/New Volume
peter@Peter-Desk:~$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 211042 563 210479 1% /dev
tmpfs 215922 616 215306 1% /run
/dev/sda5 1299984 423517 876467 33% /
none 215922 2 215920 1% /sys/fs/cgroup
none 215922 3 215919 1% /run/lock
none 215922 95 215827 1% /run/shm
none 215922 31 215891 1% /run/user
/dev/sdc1 172908806 692983 172215823 1% /media/peter/Seagate Expansion Drive
/dev/sdb1 114959464 42187 114917277 1% /media/peter/Internal 250GB
/dev/sdd1 224716516 87738 224628778 1% /media/peter/New Volume
peter@Peter-Desk:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

Please provide also the output of

ls -lad ~/.cache/d*

Revision history for this message
Peter Stock (midtownee) said :
#12

peter@Peter-Desk:~$ ls -lad ~/.cache/d*

drwxrwxr-x 3 peter peter 4096 Feb 11 14:56 /home/peter/.cache/duplicity

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

I am not seeing the link to the cache directory on the other volume.

What do you get for the command

ln -sfv /media/peter/New\ Volume/.deja-dup-cache ~/.cache/deja-dup

Revision history for this message
Peter Stock (midtownee) said :
#14

peter@Peter-Desk:~$ ln -sfv /media/peter/New\ Volume/.deja-dup-cache ~/.cache/deja-dup

‘/home/peter/.cache/deja-dup’ -> ‘/media/peter/New Volume/.deja-dup-cache’
peter@Peter-Desk:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

What is now the output of

ls -lad ~/.cache/d*

and does running the backup still throw the "No space left in (wherever)" error message?

Revision history for this message
Peter Stock (midtownee) said :
#16

peter@Peter-Desk:~$ ls -lad ~/.cache/d*

lrwxrwxrwx 1 peter peter 39 Apr 4 09:04 /home/peter/.cache/deja-dup -> /media/peter/New Volume/.deja-dup-cache
drwxrwxr-x 3 peter peter 4096 Feb 11 14:56 /home/peter/.cache/duplicity

I will now run the backup again and see what happens.

Peter

Revision history for this message
Launchpad Janitor (janitor) said :
#17

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Peter Stock (midtownee) said :
#18

Sorry Manfred,
 I got distracted and busy.

the backup ran again last night but failed again on the same message:
"No space left in ‘/’."

any other suggestions.

Revision history for this message
Manfred Hampl (m-hampl) said :
#19

What is now the output of
ls -lad ~/.cache/de*

Is the backup job running with your user-ID, or is it started as root or other user?

Revision history for this message
Peter Stock (midtownee) said :
#20

thanks Manfred.

I get:

peter@Peter-Desk:~$ ls -lad ~/.cache/de*
lrwxrwxrwx 1 peter peter 39 Apr 4 09:04 /home/peter/.cache/deja-dup -> /media/peter/New Volume/.deja-dup-cache

as for "s the backup job running with your user-ID, or is it started as root or other user?"
I am not sure.
I just search for the BACKUP Application and then let it run.
Or, it runs automatically per my schedule (once per week)
So I assume it is running under my normal user ID. But I am not sure.
How would I confirm that?

Revision history for this message
Launchpad Janitor (janitor) said :
#21

This question was expired because it remained in the 'Open' state without activity for the last 15 days.