1. Download our Official Android App: Forums for Android!

Root Is it safe to delete all files and sub directories in lost+found directory?

Discussion in 'Android Devices' started by Dawei64, Jan 1, 2014.

  1. Dawei64

    Dawei64 Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    10
    Joined:
    Dec 30, 2013

    Dec 30, 2013
    10
    5
    16
    Taiwan
    Hi guys,

    Is it safe to delete all files and sub directories in lost+found directory?

    I have a Samsung Galaxy Note which like many others Note owners it is in a downward spiral of losing internal memory. This means you have to uninstall applications to free up internal memory, but it keeps getting worse.

    I have done all the things that are suggested...

    Clear Caches, Move Apps to SD card, remove unused applications etc.

    I even rooted the phone and went into the data\log directory and removed about 250mb of log files. That bought me a little time, but it continues to get worse.

    I also installed CyanogenMod ROM, but the problem continues.


    I believe that my "lost+found" directory may be the problem. There are over 350 sub directories and 760 files in this directory. I am guessing they are consuming over 1GB of my internal memory.

    What exactly is the lost+found directory? What are the importance and significance of those files?

    Can anyone confirm 100% that they are OK to delete?

    Thanks
     

    Advertisement

  2. argedion

    argedion The TechnoFrog
    Rank:
    None
    Points:
    953
    Posts:
    6,360
    Joined:
    Jun 20, 2011

    Jun 20, 2011
    6,360
    6,294
    953
    The Infernal Swamp
    Lost and found is usually reserved for root to delete the files with in so as long as your root it should be ok to delete the files. It won't hurt anything.
     
    swiftrobber and Dawei64 like this.
  3. John Bean

    John Bean Happy Wanderer
    Rank:
    None
    Points:
    163
    Posts:
    1,251
    Joined:
    Jul 28, 2010

    Jul 28, 2010
    1,251
    458
    163
    Male
    Waterfoot, Lancashire
    It certainly does no harm to the current system to delete the contents of lost+found but I'd be quite concerned about why it has any contents in the first place - it's not an Android thing but a (very) low-level Linux feature as a backstop against data loss when a failure occurs.

    ASAIK lost+found is populated only when fsck ("file system check") finds errors in the file system and corrects them leaving chunks of unreferenced data that may be files. It makes new references and puts them in lost+found for human inspection and/or recovery later.

    If it's still happening I'd suspect a hardware problem (or a very flakey ROM - unlikely), or some low-level binary below the level of the Android system that's meddling with things and breaking them.
     
    swiftrobber, argedion and Dawei64 like this.
  4. Dawei64

    Dawei64 Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    10
    Joined:
    Dec 30, 2013

    Dec 30, 2013
    10
    5
    16
    Taiwan
    Thanks John. I am certainly not the first that has this problem with a lot of crap in lost+found. In the thread below another guy has a similar issue. But I have no idea what is causing it. I will delete the contents of lost+found and see if that fixes the space issue.

    http://androidforums.com/galaxy-s2-...torage-data-lost-found-directory-too-big.html
     
    swiftrobber likes this.
  5. Thom

    Thom  
    VIP Member
    Rank:
    None
    Points:
    1,618
    Posts:
    12,114
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    12,114
    5,021
    1,618
    Male
    Software Developer
    Keene, NH USA
    Thread moved from Android Lounge to sub-forum dedicated to this root-ed phone.

    ... Thom
     
  6. Dawei64

    Dawei64 Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    10
    Joined:
    Dec 30, 2013

    Dec 30, 2013
    10
    5
    16
    Taiwan
    Wow, deleting all the crap in lost+found worked big time. I just cleared an extra 1.5Gb of Internal RAM. So I now have a total of 1.7GB free. This definitely fixed the memory problem.
     
    argedion likes this.
  7. bonjovi255

    bonjovi255 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Aug 15, 2014

    Aug 15, 2014
    1
    0
    5
    how to find the location of sub directories in lost+found directory??
     
  8. NeneNotgonnasay

    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Sep 5, 2014

    Sep 5, 2014
    1
    0
    5
    yes please how do we find it?
     
  9. swiftrobber

    swiftrobber Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    Oct 30, 2013

    Oct 30, 2013
    9
    0
    5
    thanks for this thread i saved lots of space. thanks again!
     

Share This Page

Loading...