#9927 LOW Future : filesystem has trouble with large yum installs

Zarro Boogs per Child bugtracker at laptop.org
Mon Dec 28 22:15:55 EST 2009


#9927: filesystem has trouble with large yum installs
------------------------------------+---------------------------------------
           Reporter:  wad           |       Owner:                
               Type:  defect        |      Status:  new           
           Priority:  low           |   Milestone:  Future Release
          Component:  not assigned  |     Version:  1.5-B2        
         Resolution:                |    Keywords:  yum XO-1.5    
        Next_action:  design        |    Verified:  0             
Deployment_affected:                |   Blockedby:                
           Blocking:                |  
------------------------------------+---------------------------------------

Comment(by wad):

 I see three solutions:

 - Leave this trac ticket indicating some work-arounds :-)

 - A /sbin script (largeyum) which automatically does the unmounting of the
 tmpfs partition, and a check at boot time to delete the contents of
 /var/cache/yum before mounting over it. (Thanks for pointing out that
 indeed the /var/cache directory on OS64 is in the root partition, so there
 is no need to create /varcache.)

 - Making /var/cache/yum always store to the root partition (internal SD
 card), and manage it through yum clean in s shutdown script (during the UL
 warning!)
 As cjb mentions, the amount of SD writes is a non-issue.  I test the SD
 cards looking for a lower bound on lifetime of 2TB of writes.  This is 1GB
 per day over the expected life of the computer.  And if they exceed that,
 for $10 they will be able to double or quadruple the storage when it
 fails...

-- 
Ticket URL: <http://dev.laptop.org/ticket/9927#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list