LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-13-2008, 11:06 AM   #1
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
Disk usage for /home partition?


Hi,

Was looking over my disk usage and trying to figure out where I lost about 3GB of space. My root partition looks fine as I did a full install, but the disk usage for my /home partition doesn't add up. Just wondering why the discrepancy:

bash-3.1$ df -h

Filesystem - Size - Used - Avail - Use% - Mounted on
/dev/hda2 - 7.6G - 4.1G - 3.2G - 57% - /
/dev/hda3 - 65G - 824M - 61G - 2% - /home

Thanks in advance.

Dig
 
Old 04-13-2008, 11:12 AM   #2
karelvdm
Member
 
Registered: Sep 2004
Location: Pietermaritzburg South Africa
Distribution: Home:OpenSuse 11, Office:FreeBSD 7 PBX:Trixbox 2 (CentOS 4.4) Home Automation : LinuxMCE
Posts: 123

Rep: Reputation: 15
Try

Code:
 du -Hs /home
 
Old 04-13-2008, 11:24 AM   #3
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Original Poster
Rep: Reputation: 46
995M /home

(I'm downloading a cd image so it increased since my first post)
 
Old 04-13-2008, 11:52 AM   #4
ice_nine
Member
 
Registered: Sep 2007
Posts: 41

Rep: Reputation: 15
I'm a little confused, you seem to have a ton of free space. What 3GB are you talking about?
 
Old 04-13-2008, 12:20 PM   #5
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Read the tune2fs man page if you're using ext3, and look for the -m option.
 
Old 04-13-2008, 03:27 PM   #6
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
pdw_hu makes a good point. ext3 filesystems reserve 5% of the space on a given partition so that root can login successfully even if the filesystem gets full. On a 65 Gb partition, 5% is 3.25 Gb, which seems to add up to your missing volume. However, 3.25 Gb is a lot to reserve, so if you REALLY want all (or some) of that space left, tune2fs should be able to free it up for daily use.
 
Old 04-13-2008, 04:31 PM   #7
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Original Poster
Rep: Reputation: 46
That makes perfect sense now, T3slider. Thanks for the great explanation and thanks to everyone for the input. It's not like I'm short of disk space, but this little mystery was kinda bothering me.
 
  


Reply



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
Ambiguity in free disk space in /home partition vharishankar Linux - General 15 02-22-2013 02:58 PM
Steps to increase /home partition to new hard disk gargvipul Linux - Software 5 11-24-2007 09:30 PM
Varrying info about disk usage on /home JosephS Linux - Software 5 08-30-2007 07:24 AM
101% disk usage on an empty disk tsiuser Linux - Software 3 01-28-2004 06:24 PM
Disk Usage /var partition Hamma Linux - General 7 07-13-2003 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:01 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
Open Source Consulting | Domain Registration