No space left on device

Non release banter
User avatar
wread
Module Guard
Module Guard
Posts: 1255
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

No space left on device

Post#1 by wread » 13 Sep 2011, 11:53

@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!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: No space left on device

Post#2 by Hamza » 13 Sep 2011, 14:20

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
NjVFQzY2Rg==

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: No space left on device

Post#3 by fanthom » 13 Sep 2011, 16:52

@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
Please add [Solved] to your thread title if the solution was found.

User avatar
wread
Module Guard
Module Guard
Posts: 1255
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

Re: No space left on device

Post#4 by wread » 13 Sep 2011, 23:42

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!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

Post Reply