how to Determine the size of each partition

jskfan
jskfan used Ask the Experts™
on
I wonder how to determine the size of the partition in linux.
part
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
How to i recog

1st is 10 GB
then extended 1 GB

counting in bytes ;)

Best way is df -h

TY/SA

Author

Commented:
proc
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
I can see more partitions using cat /proc/partitions

Author

Commented:
df -h


it gives something different
df -h
Commented:
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

Author

Commented:
Thank you Guys

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial