[olpc-help] accumulating big files in .sugar/default/data

Bruce MacLennan mclennan at cs.utk.edu
Sat Apr 5 14:30:29 EDT 2008


I have noticed that my G1G1 XO disk is filling up with large, bogus  
files in .sugar/default/data (see below).  The large, named pdfs are  
files that were in my journal at one time, but have been removed and  
don't show up in it any more (so I can't delete them via the  
journal).  Also several of them appear several times with serial  
numbers added.  The .xo file is no doubt some activity I have  
installed, but why are there 8 copies of it?  Disk space on the XO is  
too precious to have multimegabyte orphaned files hanging around!

So I have two questions, one theoretical and one practical: (1) Why  
am I getting multiple copies of these files and why are they left in  
the datastore even when they have been deleted from the journal? (2)  
How can I get rid of them?  (I suspect that if I use rm to remove  
them, it will mess up the journal database.)  If I can't remove them,  
can I recover the wasted space by copying empty files over them?   
FWIW, I'm running build 656.

Here is a partial list (ls -sh) of my .sugar/default/data:

total 131M
3.2M 0c7e0344-7aee-46a9-9f37-374b9d019d06(1).pdf
3.2M 0c7e0344-7aee-46a9-9f37-374b9d019d06.pdf
  27K 186e52b0-b378-4135-aa7d-c86b63b05ed1(1).txt
  27K 186e52b0-b378-4135-aa7d-c86b63b05ed1(2).txt
  27K 186e52b0-b378-4135-aa7d-c86b63b05ed1(3).txt
  39K 186e52b0-b378-4135-aa7d-c86b63b05ed1(4).txt
  13K 186e52b0-b378-4135-aa7d-c86b63b05ed1.txt
6.4M 8faae0a1-6a0c-4c3d-8a71-f00b5aa0213f(1).xo
6.4M aad0b9b0-32fe-4108-8515-d667622d9ac8(1).xo
6.4M aad0b9b0-32fe-4108-8515-d667622d9ac8(2).xo
6.4M aad0b9b0-32fe-4108-8515-d667622d9ac8(3).xo
6.4M aad0b9b0-32fe-4108-8515-d667622d9ac8(4).xo
6.4M aad0b9b0-32fe-4108-8515-d667622d9ac8(5).xo
6.4M aad0b9b0-32fe-4108-8515-d667622d9ac8(6).xo
6.4M aad0b9b0-32fe-4108-8515-d667622d9ac8(7).xo
6.4M aad0b9b0-32fe-4108-8515-d667622d9ac8.xo
  38K b67a6e1b-0772-4c4c-b6d0-546bfe6825ec(1).txt
  53K b67a6e1b-0772-4c4c-b6d0-546bfe6825ec(2).txt
  18M Comenius_Orbis_Pictus_1685(1).pdf
  18M Comenius_Orbis_Pictus_1685.pdf
2.8M CS110-11608(1).pdf
2.8M CS110-11608.pdf
  18M Works.pdf
(more)

Thanks for any suggestions,
Bruce


More information about the community-support mailing list