Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Ive just run out of memory on the /usr/local folder of my redhat linux install, /usr indicates there are 4.5 Gigs free but the usr/local folder only contains 80.8 megs so I am at a loss as to why usr/local also indicates there is 0 space available. I determined the space available by checking the properties of each folder. Can anyone point me in the right direction to understand how this is possible and how to reclaim the space I imagine exists but is inaccessible for some reason
/usr and /usr/local are two different partitions so used/free space in /usr does not have any bearing on used/free space in /usr/local. Since /usr/local contains several subdirectories at first glance 80MB used sounds a little light but I have know way of telling what you actually have installed.
Directories in /usr/local:
bin
games
include
lib
man
sbin
share
src
I was attempting to setup a backup which was writting to the usr/local folder before this happened I did run the backup a few times but expected it to simply overwrite the contents of the backup folder. I had since deleted the backup folder which of cours has not helped...
In /usr/local I ran du -sk * and got the following result:
[root@tdspace local]# du -sk *
4 bin
4 etc
4 games
4 include
4 lib
4 libexec
16 lost+found
87824 pgsql
4 sbin
52 share
4 src
4 testscript2
To check the space on the subdirectories I right clicked the folders and then checked the properties. /usr indicates "free space = 4.5 gigs" and /usr/local is 0...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.