On Fri, 30 Aug 2002, S Mohan wrote:

> I have been working on bering for a while now. I made a mistake that
> took me long while to figure out. I am using a 32MB DoM. I boot off the
> dom. Then I mount the dom to edit syslinux.cfg to add lrps in syslinux.
> Then I make changes in the config files and back up "all except log" on
> the dom. Procedure is absolutely correct. However I was hogging memory
> and disk. I did not realise it till one back up failed saying disk is
> full. My root partition was also full - 16MB!
> 
> My root.lrp was 13MB - amazingly large. I did a tar -ztf root.lrp and
> found that it had a /hdd directory which was my dom mount point. Thus
> for every back up, the contents of the hard disk were getting packed
> into root.lrp. I learnt my lesson. I unmount the DoM before every
> backup. My disk utilisation is back to 4MB and root partition to 8MB.
> 
> I do not know if this is a common mistake or if anyone has gone thro'
> this. If not maybe it qualifies for the FAQ so that others learn not to
> be stupid.
> 
> On this front, can lrcfg be modified to unmount all partitions except
> root /tmp and /var/log before back up and mount them back?

This doesn't seem like a good idea... how does lrcfg know how you have
laid out your memory?

If you want to protect yourself from this mistake in the future, list your
mountpoint in /var/lib/lrpkg/root.exclude.list.

Otherwise, "don't do that".

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<[EMAIL PROTECTED]>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to