[SOLVED] No Space warning

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

[SOLVED] No Space warning

Postby timgood on Tue May 01, 2012 4:31 am

I have a fresh install of Mint Debian on a 2TB hdd with 20GB of swap and the rest configured as /

My machine has a 500GB hdd with backups of my music and previous home folder from a Ubuntu installation. I have installed duplicity and deja-dup in an attempt to restore my files to a seperate folder called 'Restore' in my home directory. I have mounted the 500GB and told deja-dup to restore the files. It starts to do so, does about 3 files and then I get the message 'No Space Left in 'Restore' despite the fact that there is about 1.8TB shown free. I have also tried to restore the files to a folder on the 500GB hdd with the same result.

Am I doing something silly?
Last edited by timgood on Wed May 02, 2012 10:39 am, edited 2 times in total.
timgood
Level 1
Level 1
 
Posts: 10
Joined: Tue May 01, 2012 4:19 am

Linux Mint is funded by ads and donations.
 

Re: No Space warning

Postby xenopeek on Tue May 01, 2012 10:54 am

Moved here by moderator
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10498
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: No Space warning

Postby timgood on Wed May 02, 2012 10:34 am

Deja-Dup uses /tmp to write files and if you have large ones, like VBox HDD's /tmp will rapidly run out as it is configured as a virtual file system by default using tmpfs.

So I disabled tmpfs by
Code: Select all
sed -i "s/^\(RAMTMP\=\).*/\1no/" /etc/default/rcS
and then rebooting. However my / partition was still too small to restore the VirtualBox files, so I deleted /tmp , created /home/tmp with the appropriate permissions for read and write, and made a symbolic link to /tmp by
Code: Select all
ln -s /home/tmp /tmp


The restore is now in progress!
timgood
Level 1
Level 1
 
Posts: 10
Joined: Tue May 01, 2012 4:19 am

Re: [SOLVED] No Space warning

Postby DrHu on Wed May 02, 2012 2:20 pm

I don't know what the question was, cannot mentally simulate your disk setup and the process you are executing..

..You found the space in the usual place (/home .. which will include anything you want to add up to the MAX space you have available..)), but you didn't start by saying you were using virtualbox
--and despite the descriptions given: the exact nature of your setup for hard drives still eludes me
    Silly me, I guess..
User avatar
DrHu
Level 15
Level 15
 
Posts: 5893
Joined: Wed Jun 17, 2009 8:20 pm

Re: [SOLVED] No Space warning

Postby timgood on Sat May 05, 2012 6:12 am

DrHu wrote:I don't know what the question was, cannot mentally simulate your disk setup and the process you are executing..

..You found the space in the usual place (/home .. which will include anything you want to add up to the MAX space you have available..)), but you didn't start by saying you were using virtualbox
--and despite the descriptions given: the exact nature of your setup for hard drives still eludes me
    Silly me, I guess..


I'm not using virtualbox for Mint Debian. I followed a partitioning guide for install of Mint Debian and my setup is:

500mb /boot
10GB /swap
48GB /
remainder allocated /home

My problem was this: in the default install /tmp is created as a 'virtual' file system, google tmpfs. It is limited to a percentage of your total RAM, in my case it was set to around 750MB - ample space for most tasks.

However I had created an encrypted backup using deja-dup under Ubuntu and it was these files that I was trying to recover. They include a couple of virtualbox hdd's for my VB version of Windows XP and other Linux OS's I was playing with. These are quite big files, the XP one is in excess of 20GB.

Because deja-dup writes the files to /tmp before restoring them, it was rapidly running out of space and thus falling over. This is why I had to stop the tmpfs system at boot. My / partition was also not big enough for the 68GB of VBox files, so I had to symlink /tmp to my /home partition. Having recovered my files, I have now restored the /tmp directory to tmpfs.

Deja-dup is not particularly good at error messages. Instead of telling me that /tmp was full, it told me that there was not enough space in my home directory, which of course is not true. So it took me some time to track down the cause and correct the backup recovery.

I hope this is now clear. :lol:
timgood
Level 1
Level 1
 
Posts: 10
Joined: Tue May 01, 2012 4:19 am


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 6 guests