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

Thread: Disk Space issue

  1. #1
    Join Date
    Aug 2008
    Location
    Scotland, UK
    Posts
    242

    Default Disk Space issue

    I've had a serious problem today in opensuse 11.1 64-bit (KDE 3.5).

    My hard disk was "full", although I had deleted some big files. Turned out that the .Trash folder had all of these in it and I couldn't get rid of them...until I logged in as root and deleted them through the console window.

    Problem is solved - but how do I stop it happening again?
    Alastair Scott

    openSUSE LEAP

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,270

    Default Re: Disk Space issue

    Quote Originally Posted by aescott View Post
    ...
    but how do I stop it happening again?
    To happen what again?
    1) creating files until your partition is full? Then do not do this or buy another disk (and even a terabyte disk can be filled by a greedy user);
    2) moving them to the trash-bin directory (that may be on another partition that is not even big enough for them)? Do not use the GUI related "move to trash-bin", but use e.g. the CLI command rm.

    And yes, root may come to the rescue of the end-user. There is some space reserved for root on the filesystem so root does still have some leeway.
    Henk van Velden

  3. #3
    Join Date
    Aug 2008
    Location
    Scotland, UK
    Posts
    242

    Default Re: Disk Space issue

    What I want to stop happening again is my disk to become full because of deleted files, i.e. ones I want rid of. I know now that I can go in and delete these files as root, but I would have thought that a reboot would have cleared them out of .Trash.
    Alastair Scott

    openSUSE LEAP

  4. #4
    goldie NNTP User

    Default Re: Disk Space issue

    > but how do I stop it happening again?

    - empty the trash before the disk is full
    - allocate more space to the system
    - get a bigger hard drive
    - don't download so much
    - don't keep downloaded stuff that you don't need to
    - buy or rent an online storage site to keep stuff which you can't
    turn loose of, but can't keep on your machine
    - need i continue?

    --
    goldie

  5. #5
    goldie NNTP User

    Default Re: Disk Space issue

    monitor disk usage and free remaining space by clicking on "My Computer"

    empty the trash, before the disk is full..

    try: right click can, pick "Empty Trash Bin" or similar

    in my opinion it is best to never fill the disk over (say) 80%
    full..disks are cheap these days..

    --
    goldie

  6. #6
    Join Date
    Jun 2008
    Location
    /dev/swat
    Posts
    1,181

    Default Re: Disk Space issue

    OR
    Press shift+delete to delete the files on the spot permanently.
    Not a permanent solution, but is a solution.
    Linux[openSUSE, KDE], PHP, MySQL, Wordpress, Tech News, etc :
    http://anl4u.com

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,270

    Default Re: Disk Space issue

    A boot should never be a cure for something the end-user did or did not. A boot may clean /tmp, but that is something different.

    The trash-bin is invented because a lot of people make errors deleting stuff. Naturaly when the end-user thinks he has still something in the trash-bin, this should NOT be emptied on a boot (planned but specialy not planned).

    The feature is not only in the MS GUI (Windows), but is also part of many other GUIs like KDE and Gnome (apparently people coming from Windows do still remove stuff they shouldn't, even in the enlightened world of Linux ). I suppose you are using some fiile manager when you move something to the trash-bin. So we hope this can be configured in your file manager.

    I have openSUSE 10.3 and KDE3.5. The file manager is Konqueror. In the configuration GUI of Konqui there is a box which, when checked, adds a 'remove' option along with the 'to trashbin'' option in the context menu. Maybe you can find similar in your filebrowser.

    HTH.
    Henk van Velden

  8. #8
    Join Date
    Aug 2008
    Location
    Scotland, UK
    Posts
    242

    Default Re: Disk Space issue

    OK, I've managed to resolve the issue by logging in as root and manually deleting the offending files (copies of disk images from VirtualBox).

    My concern is that the command "Move to wastebasket", followed by emptying the wastebasket, didn't do what I expected, and I think that there might be a few people in similar situations.

    I understand that there have been instances of people deleting files and then needing to recover them (I am one of those people), but I also understand that, by emptying the wastebasket, I've lost the files for good - and I expect to have freed up the disk space. That wasn't the case here and that's what caused the difficulty.
    Alastair Scott

    openSUSE LEAP

  9. #9
    goldie NNTP User

    Default Re: Disk Space issue

    aescott wrote:
    > OK, I've managed to resolve the issue by logging in as root and


    never log into KDE or Gnome as root...always lon in as yourself, a
    normal user, and become root as required....

    read more here:
    http://en.opensuse.org/SDB:Login_as_root
    http://docs.kde.org/stable/en/kdebas...uide/root.html
    http://www.texan.dk/temp/SUSEsignInROOT.html
    --
    goldie

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

    Default Re: Disk Space issue

    Quote Originally Posted by aescott View Post
    OK, I've managed to resolve the issue by logging in as root and manually deleting the offending files (copies of disk images from VirtualBox).

    My concern is that the command "Move to wastebasket", followed by emptying the wastebasket, didn't do what I expected, and I think that there might be a few people in similar situations.

    I understand that there have been instances of people deleting files and then needing to recover them (I am one of those people), but I also understand that, by emptying the wastebasket, I've lost the files for good - and I expect to have freed up the disk space. That wasn't the case here and that's what caused the difficulty.
    I do not quite understand you here. Either these were files of the end-user and then moving them to the wastbasket and emptying the wastebasket should work. Or they they were owned by root and then you can remove them from the command line with the rm command (as root via one of the methods already pointed out in the links provided by goldie). In the latter case there is no wastebasket, because there never should be a desktop environment for root.

    And I also do not know any command "Move to wastebasket". I know about mv, but the wastebasket has no particular function there.
    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
  •