Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: cleaning help needed: .trash and lost+found folders

  1. #1

    Default cleaning help needed: .trash and lost+found folders

    I am doing some long overdue cleaning on my computer and have a couple of questions.

    1 - Lost+found - I see multiple gig of space being used by the lost+found hidden directories. One partion has been emptied, but still shows 7.5 g used. How can I (or should I?) "empty" the .lost+found dirs? The trash files have been emptied, but still the mystery files.

    2 - .Trash - The trash has been emptied, but it is still holding data. Example of 5.9 g on one.

    3 - Multiple trash folders - .trash-0 and .trash-1000 both. Is this an issue, can it be cleaned up?


    I have found BleachBit and have started to use it periodically.

    Any help, information and correction is welcome. Thank you.
    openSUSE Tumbleweed 64-bit / Cimmamon

  2. #2

    Default Re: cleaning help needed: .trash and lost+found folders

    Additional info. Doing some additional digging in the forum I saw a suggestion of using Midnight Commander. I installed it and see much more in the trash files. That takes me back a ways. Reminds me of OS2 before I switched to Linux. I need to relearn, but looks great. In the trash file I look at there are some dating back to 2008. I want to be sure to get advice before I do anything. I'd rather not hose my system by being stupid.

    Thanks again for any help.
    openSUSE Tumbleweed 64-bit / Cimmamon

  3. #3
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: cleaning help needed: .trash and lost+found folders

    Don't delete lost+found, they are create when the ext4 partition is created.

    You can delete what I expect you are finding are hidden files in trash.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4

    Default Re: cleaning help needed: .trash and lost+found folders

    Quote Originally Posted by caf4926 View Post
    Don't delete lost+found, they are create when the ext4 partition is created.
    I assume the system will clean these then. It's holding quite a bit of space. How often is it cleaned?

    On the trash, thanks.
    openSUSE Tumbleweed 64-bit / Cimmamon

  5. #5

    Default Re: cleaning help needed: .trash and lost+found folders

    MC is wonderful. I was able to free up approx 15 gig of space over multiple drives by manually clearing out the .trash folders. Any idea as to why it was holding that crud and not eliminating it when the "empty trash" command was given?

    Q - Is there a reason for the multiple .trash files?

    Q - As opposed to deleting every file manually, can I simply delete the .trash folder? Will the system recreate a fresh folder if it is not there?

    Thank you again for the safety check.
    openSUSE Tumbleweed 64-bit / Cimmamon

  6. #6
    Vahis NNTP User

    Default Re: cleaning help needed: .trash and lost+found folders

    idee wrote:
    >
    > MC is wonderful. I was able to free up approx 15 gig of space over
    > multiple drives by manually clearing out the .trash folders. Any idea
    > as to why it was holding that crud and not eliminating it when the
    > "empty trash" command was given?
    >
    > Q - Is there a reason for the multiple .trash files?
    >
    > Q - As opposed to deleting every file manually, can I simply delete the
    > .trash folder? Will the system recreate a fresh folder if it is not
    > there?
    >
    > Thank you again for the safety check.
    >
    >


    See if you get anything out of some notes I made a while ago:

    http://waxborg.servepics.com/opensus...matic-trashcan

    Vahis
    --
    http://waxborg.servepics.com
    openSUSE 11.4 (x86_64) 2.6.37.6-0.20-default main host
    openSUSE 12.2 (x86_64) 3.7.2-18-desktop Tumbleweed in VirtualBox
    openSUSE 12.2 (i586) 3.4.11-2.16-desktop in EeePC 900

  7. #7
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: cleaning help needed: .trash and lost+found folders

    If you delete Lost and found it will return - it's there for the fsck check

    The space is allocated / reserved for use by root for when drive is full, default is 5%.

    Something like that
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  8. #8

    Default Re: cleaning help needed: .trash and lost+found folders

    caf,
    Thanks. Is that the same with the .trash folders? Different use of course, but will the system recreate it if it is deleted?
    openSUSE Tumbleweed 64-bit / Cimmamon

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,282

    Default Re: cleaning help needed: .trash and lost+found folders

    Quote Originally Posted by idee View Post
    caf,
    Thanks. Is that the same with the .trash folders? Different use of course, but will the system recreate it if it is deleted?
    Directories used as Thrash in the desktop are used by the desktop. Thus I guess that it depends on the desktop used if they are recreated if unexpectedly not found (in other words, KDE may do different from Gnome). Try it, or recreate a new one yourself.

    The lost+found directory is used to save files as good as posible when the file system is in troubles. Not all file system types have them. Thus when you have things there, you should examine them thouroughfully. WWen they are files you still have, check which one is more upto date. When there are files there that you do not have anymore, check if you need them. In any case files inside lost+found denote that there was a problem. Maybe the date of the directory can tell you when. In any case, an fsck of such a file system wouldn't be a bad thing to do.
    Henk van Velden

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,282

    Default Re: cleaning help needed: .trash and lost+found folders

    Quote Originally Posted by caf4926 View Post
    If you delete Lost and found it will return - it's there for the fsck check

    The space is allocated / reserved for use by root for when drive is full, default is 5%.
    The first sentence is true. The second one has no connection with lost+found. This space is simply kept free, not by allocating something to it, but by counting the number of total/used blocks every time new blocks are given out.
    Henk van Velden

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •