LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-29-2012, 01:04 PM   #16
Arun_kumar_k
LQ Newbie
 
Registered: Nov 2010
Posts: 7

Rep: Reputation: 0

Hi,

Try "updatedb" and then check df -h again.

Thanks
Arun
 
Old 05-29-2012, 05:07 PM   #17
Babertje
Member
 
Registered: Jun 2009
Location: Haarlem, The Netherlands
Distribution: Archlinux
Posts: 125

Rep: Reputation: 20
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
 
Old 05-29-2012, 06:59 PM   #18
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Try
Code:
cat /etc/mtab
 
Old 05-29-2012, 07:23 PM   #19
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
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.
 
Old 05-29-2012, 10:29 PM   #20
sumesh.pt
Member
 
Registered: Nov 2007
Posts: 57

Original Poster
Rep: Reputation: 15
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
 
Old 05-30-2012, 01:51 AM   #21
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,133

Rep: Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273
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")
 
Old 05-30-2012, 01:52 AM   #22
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
clean up free some disk space fachhoch@gmail.com Linux - Newbie 5 02-13-2012 09:09 PM
"clean" or emptying trash does not free up enough space for updates kevishnu Linux - Newbie 2 09-25-2009 07:12 PM
resizing linux partitions to free up space for window$ - safe or clean install? dianat100 Linux - Newbie 5 03-09-2005 01:05 PM
Wine compilation eating my whole free space ivanatora Linux - General 5 08-03-2004 08:26 AM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 06:10 AM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration