Re: No Space Left on Device
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 4 Nov 2010 10:54:03 +0100
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On Thu, Nov 04, 2010 at 06:39:03AM -0200, Teresa e Junior wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > On Thu, 4 Nov 2010 09:25:05 +0100
> > email@example.com wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> -----END PGP SIGNATURE-----
Hello, Tomás! Sorry for the delay!
Unfortunately, if I try to allocate more memory for aufs, the system
locks on low memory machines, because there's not enough RAM for the
system itself, and we can't rely on an available swap partition on
Windows machines or systems without one.
As you have mentioned, I'm better off leaving the aufs and
squashfs do their magic! But I tried anyway!
Best regards and thank you for your attention!
Teresa e Junior
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
-----END PGP SIGNATURE-----