LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-07-2012, 01:50 AM   #1
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
how to check memory of home after default installation


below is partition of my backup server.


[root@localhost ]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup01-LogVol00
141G 79G 55G 60% /
/dev/sdb1 99M 13M 82M 14% /boot
tmpfs 943M 0 943M 0% /dev/shm


fdisk -l

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 19457 156183930 8e Linux LVM


i installed linux in default installtion..so iam not getting /home partition.
how can i check space alloted to /home partition ..and also hdd capacity is 160GB then why is showing 141GB only
 
Old 08-07-2012, 01:58 AM   #2
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 81
You have a single partition so, unless you didn't use quota all the free space is aviable in home as every other directory.
About the 160 GB they are 160 while 1000 bytes are 1 kbyte, however computer calculate them in a different way 1024 byte = 1kbyte, so ~140GB is just right
 
Old 08-07-2012, 02:04 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

there is no space "alloted to /home partition", since you don't have a home partition. On your install /home is merely a directory on the / filesystem.

Regarding the 160 GB vs 141 GB discrepancy it is probably just a 1024 vs 1000 issue combined with the fact you are comparing /dev/sdb2 to /dev/sdb. Try running df with -H instead of -h, and run fdisk -l on /dev/sdb2.

Evo2.
 
Old 08-08-2012, 06:43 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Part of the 'loss' of space is described above; but you should end with 149GB that way. Next subtract 5% allocated to use by root (in case the HD runs out of space) and you get down to roughly 141GB usable.
 
  


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
Check memory bsdfan *BSD 5 07-04-2010 10:10 PM
how to check memory abhijeetdutta Linux - Server 4 10-29-2009 04:44 PM
Memory check cccc Linux - Hardware 6 07-13-2009 04:01 PM
How to check Memory chnlinux Linux - Newbie 3 05-14-2008 01:00 AM
Default installation of firewall in Linux-how to check for one achtung_linux Linux - Security 1 08-26-2006 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:07 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