Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
05-29-2012, 12:04 PM
|
#16
|
LQ Newbie
Registered: Nov 2010
Posts: 7
Rep:
|
Hi,
Try "updatedb" and then check df -h again.
Thanks
Arun
|
|
|
05-29-2012, 04:07 PM
|
#17
|
Member
Registered: Jun 2009
Location: Haarlem, The Netherlands
Distribution: Archlinux
Posts: 125
Rep:
|
Check if the external drive is really mounted on /media/some_external_drive/ where "some_external_drive" is the real name of this external drive. You can check this with the command "mount" in a terminal. What you probably do is that you store your data meant to store externally ends up in /media and (thus stored local on /dev/sda6) and not in /media/some_external_drive/ outside your Linux-box
|
|
|
05-29-2012, 05:59 PM
|
#18
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434
|
|
|
|
05-29-2012, 06:23 PM
|
#19
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
There is no external hard drive mounted on the system. Everything in /media is being stored on your main boot and OS partition, same as everything else in / (except /home/, which is on sda7). You should mount this external drive you want to be using for media, and move everything in /media onto it.
As for your above output of df, the discrepancy between total, used, and available space is probably due to root's reserved sectors, which by default is 5% of the drive (9.4GB in your case). The "available" space will always give you the result of total minus used minus reserved. Total is 188, used is 180, and reserved is 9.4, so there is zero space "available" for general use. You can reduce the amount of reserved space with tune2fs, but you really should be moving that media directory off of the main OS partition.
|
|
|
05-29-2012, 09:29 PM
|
#20
|
Member
Registered: Nov 2007
Posts: 57
Original Poster
Rep:
|
Resolved. It turns out that one of the user stored huge amounts of data in / and it has nothing to do with the external drive in /media. By removing this data everything works fine now
|
|
|
05-30-2012, 12:51 AM
|
#21
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,263
|
great
_____________________________________
If someone helps you, or you approve of what's posted, click the "Add to Reputation" button, on the left of the post.
Happy with solution ... mark as SOLVED
(located in the "thread tools")
|
|
|
05-30-2012, 12:52 AM
|
#22
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
If you allow your users 'uncontrolled' use of your system you can always encounter problems like this. Either tell them how to use the system and what not to do or enforce quota on the home partition for example to allow one (or more) users to block everything by uploading large data. If you consider your problem solved then please mark the thread as such.
Kind regards,
Eric
|
|
|
All times are GMT -5. The time now is 10:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|