LinuxQuestions.org
Visit Jeremy's Blog.
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, 12: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, 04: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, 05:59 PM   #18
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434

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

Rep: Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143
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, 09: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, 12:51 AM   #21
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,263

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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, 12: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: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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 08:09 PM
"clean" or emptying trash does not free up enough space for updates kevishnu Linux - Newbie 2 09-25-2009 06:12 PM
resizing linux partitions to free up space for window$ - safe or clean install? dianat100 Linux - Newbie 5 03-09-2005 12:05 PM
Wine compilation eating my whole free space ivanatora Linux - General 5 08-03-2004 07:26 AM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 PM.

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
Open Source Consulting | Domain Registration