Re: No Space Left on Device
-----BEGIN PGP SIGNED MESSAGE-----
On Wed, Nov 03, 2010 at 04:42:15PM -0200, Teresa e Junior wrote:
> I have created a well compressed live image of a lightweight system, and
> I have a script which decompress a file during the boot. My issue is
> that I get a "No Space Left on Device" error. My image won't work on
> systems with less than 320MB of RAM. It makes my lightweight system
Wait a minute: if I got you right, you are decompressing some user data
Note that tmpfs grows as much as needed (up to a maximum size if you set
that -- otherwise all available RAM is fair game). Have you set a
maximum size? Here are two examples from my fstab:
tmp /tmp tmpfs size=128M 0 0
vartmp /var/tmp tmpfs size=512M 0 0
(note that I have 2G total ram). That would mean that those filesystems
are allowed to grow *up to* the respectively given sizes, not more.
> I thought I could solve this by increasing the size of the tmpfs, but
> unless I'm doing it the wrong way, seems not to have solved the issue.
Just leave the size out. If you still get "No space left on device"
perhaps there's too little RAM? Another possiblity is that you are getting
the error from another file system.
You might check the output of "df" before running your uncompress script
> Any ideas on how I could increase the temporary device size or
> decompress the file without errors. It outputs 140MB of data and then
> the compressed file is erased.
First we'll havve to understand what's really happening.
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----