SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was wondering if there was someone who could help me out. I am still pretty new with Linux, but I am learning fairly quickly.
The problem is that I noticed that I was running out of room on my drive, so I deleted a couple of large directories. Now it is reporting that the drive is still almost full.
I read a post about this somewhere else, but it didn't help me at all. I did read about the df command and this is what I got:
I read something about lsof, but I don't even know how to use it properly. The directories I deleted were /usr/share/xmame/roms and /usr/share/xmame/samples. I already had these on another drive so I deleted them off of this drive. As you can see I still have 33% of my drive open from these files being deleted.
The problem is not with files that are on the drive because I already deleted the files. The problem is that although the folder is listed as empty, it is still taking up all the space on my drive.
I am sure it isn't in the trash. I emptied it ass soon as I was finished. It says No Items - No Files - No Folders. It has been deleted and id nowhere to be found on my drive. It is still allocating the file size on my drive.
It doesn't really show where the huge amount of hard drive space is being allocated. Like I said the files that I deleted were in one directory. This directory took up well over 40 GB of space. I deleted the files in that directory and the system reports that it is gone and the directory only takes a few k of space, but then it says my drive is almost full still. That hasn't gone down at all. Here is what I get when I run that command.
It looks like you are running the command from your "regular user" home directory. Go to the root ('/') directory and run it from there. Also, please post the results of
So I found out what the problem was. I had files locked in the trash that I could not see until I went to the hidden files areas as root. the regular trash bin was saying it was empty, but when I went to root/.local/share/Trash/files I could see all the huge files that I deleted before. They were a complete set of MAME Roms along with the sound samples. They took up 43GB of space. I had to shift+delete them to get rid of them. They are all gone now and I went from 94% full down to 14% full.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.