[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No Space Left on Device

Hash: SHA1

On Thu, Nov 04, 2010 at 06:39:03AM -0200, Teresa e Junior wrote:
> Hash: SHA1
> On Thu, 4 Nov 2010 09:25:05 +0100
> tomas@tuxteam.de wrote:
> > Hash: SHA1
> > 
> > On Wed, Nov 03, 2010 at 04:42:15PM -0200, Teresa e Junior wrote:
> > > Hello!
> > > 
> > > I have created a well compressed live image of a lightweight
> > > system [...]

> > Wait a minute: if I got you right, you are decompressing some user
> > data into tmpfs?

> Hello, Tomás! Thanks for your reply!

You're welcome :-)

Please, keep the list cross-posted. Firstly, there are way more
knowledgeable people than me here, thus maximizing the chances of
finding a solution to your problems and secondly, others migt have
similar problems a d could learn by following our conversations.

> Do I set a fstab for the liveCD? It looks like live-initramfs
> calculates the size of the tmpfs based on the amount of available RAM,
> and, after hours, I was not happy trying to change that.

I don't know here how live sets up the tmpfs mounts (and don't have
access to one at the moment). But the first step is to find out if you
are being limited by this at all. You could try to start up your system
(without the unpacking step) and look at how it is set up. If you think
it's not enough, you might try to change it. An example, to change my
tmpfs /tmp mount I do:

  sudo mount tmp /tmp -t tmpfs -oremount,size=96M

Then unpack your data mannually. Does it work then?

> Maybe I'm way over my head trying to decompress 140MB of data [...]

No idea. At some point you'll of course run out of RAM. But it's just
worth trying.


> The idea was that I could [temporarily?] change the tmpfs size, and the
> user wouldn't go into troubles because the compressed file would
> deleted, but later I found out that what is kept in memory is the
> changes made to files, which means that if I delete a bunch of
> files, it will make no difference!

Right -- may be you are better off keeping things uncompressed and
letting the union file system do its magic. That's what live is good at,
anyway -- right?

Is space tight on your live medium?

- -- tomás
Version: GnuPG v1.4.6 (GNU/Linux)


Reply to: