Page 1 of 1

No space left on device

Posted: 13 Sep 2011, 11:53
by wread
@Ahau
Yesterday, I tried to make a copy of a data cd; the original cd was almost full, say aprox. 700 MB. The process stopped at the reading stage with the message error: "No space left on device". "That cannot be true!", I said, "I'm using a 16 MB usb!"

Then I made a df and found that the aufs " / " partition was full; that was my laptop, it was about 680 MB big.
K3b copies the contents of the cd to /tmp and then burns this contents to the empty cd. And /tmp is a sub-folder of /.

Now I am writing this post on a desktop machine with even less available space, lets see:

root@porteus:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
aufs 308172 19124 289048 7% /
/dev/sda1 65232 5123 60109 8% /mnt/sda1
/dev/sda2 50979484 1326872 47062920 3% /mnt/sda2
/dev/sdb1 32759904 974496 31785408 3% /mnt/sdb1
/dev/sdb2 32248 1 32248 1% /mnt/sdb2
/dev/sdb3 5248000 1776888 3471112 34% /mnt/sdb3
root@porteus:~#

In fact, it has only about 300 MB on "/".

My question: where comes the size of " /" from? Can that be changed to make it bigger?

Yesterday I ended up copying the cd using windows XP; what a shame! :o

Best regards!

Re: No space left on device

Posted: 13 Sep 2011, 14:20
by Hamza
Hi,

The "300MB" is available only when the system is compressed by using LZMA2(XZ) Compression Algorithm.
The root directory's size is more 300MB, because, it is a decompressed system in RAM of your computer.
The /tmp directory is a mounted directory.

It can be a problem with RAM, did you tried to use K3b with 256mb or 512mb of SWAP ?

Please post more informations about your problem like the ps-info output.

Cheers

Re: No space left on device

Posted: 13 Sep 2011, 16:52
by fanthom
@wread
where comes the size of " /" from?
if user is saving changes then size of aufs rw branch (/) is the same as partition/save.dat container.
if user is not saving changes then size of aufs rw branch (/) is calculated from RAM - by default it's 60% of available memory. example: when you have 2GB of RAM in your PC then 1,2GB is reserved for aufs (btw: reserved does not mean used - aufs mounted on tmpfs takes only the amount which is used on saving changes in /mnt/live/memory/changes, the rest is still available for use by the applications)
Can that be changed to make it bigger?
yes - please search for 'ramsize' in /boot/docs/cheatcodes.txt
Yesterday I ended up copying the cd using windows XP; what a shame!
getting familiarized with docs is the best way to avoid that kind of shame :wink:

Cheers

Re: No space left on device

Posted: 13 Sep 2011, 23:42
by wread
Fine Bussines, fanthom, thank you for the explanation.

The lesson I learned is rtfm! -as always-

Thank God that there is a patient fanthom :-)

Cheers!