Solved

how to Determine the size of each partition

Posted on 2014-02-27
7
258 Views
Last Modified: 2014-02-27
I wonder how to determine the size of the partition in linux.
part
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 23

Assisted Solution

by:savone
savone earned 166 total points
ID: 39892751
df -h
0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 334 total points
ID: 39892784
How to i recog

1st is 10 GB
then extended 1 GB

counting in bytes ;)

Best way is df -h

TY/SA
0
 

Author Comment

by:jskfan
ID: 39892787
proc
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jskfan
ID: 39892793
I can see more partitions using cat /proc/partitions
0
 

Author Comment

by:jskfan
ID: 39892803
df -h


it gives something different
df -h
0
 
LVL 13

Accepted Solution

by:
Sandy earned 334 total points
ID: 39892821
So


sda is your whole disk
sda1 is first FS which is mounted on "/" having size of 10 GB approx
sda2 is just a partition of 1 block (leave it)
sda5 is your last extended one which is being used by swap to see swap space use #free -m

sr0 is your dvd/iso image device

TY/SA
0
 

Author Closing Comment

by:jskfan
ID: 39893619
Thank you Guys
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question