LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-27-2011, 02:53 AM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,205

Rep: Reputation: 197Reputation: 197
Post SDA Partition


hi, i had this info on my centos box:

Quote:
[dsk@mycomp ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 144115220 8903832 133723612 7% /
/dev/sda1 194442 16884 167519 10% /boot
tmpfs 1556852 0 1556852 0% /dev/shm
Quote:
[dsk@mycomp ~]$ cat /proc/partitions
major minor #blocks name

8 0 243163136 sda
8 1 200781 sda1
8 2 6289447 sda2
8 3 148777965 sda3
as you can see from the df output only /dev/sda3 and /dev/sda1 is listed.

Where is sda2? why it's not displayed on df output.

thanks for any explanation

Last edited by JJJCR; 10-27-2011 at 03:43 AM.
 
Old 10-27-2011, 03:09 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
sda2 will be an extended partition..

http://en.wikipedia.org/wiki/Disk_pa...artition_types

Also, please use code tags.
It REALLY does make a post 10x easier to read.
 
Old 10-27-2011, 12:13 PM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,015

Rep: Reputation: 25
Best may be to run gparted application where you can exactly see the name, size, position and type of all partitions.
 
Old 10-27-2011, 12:54 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,715

Rep: Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750
It is not an necessarily an extended partition. I would say it is swap which is not mounted like a regular partition and therefore not displayed via df.

As suggested you can use gparted or any of the other disk utilities like fdisk, sfdisk.
 
Old 10-27-2011, 09:19 PM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,205

Original Poster
Rep: Reputation: 197Reputation: 197
Post

Quote:
Originally Posted by michaelk View Post
It is not an necessarily an extended partition. I would say it is swap which is not mounted like a regular partition and therefore not displayed via df.

As suggested you can use gparted or any of the other disk utilities like fdisk, sfdisk.
hi michaelk, yes you're right it's a swap partition. i tried to use fdisk -l then it shows as a swap.

thanks.
 
Old 10-27-2011, 09:52 PM   #6
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by michaelk View Post
It is not an necessarily an extended partition. I would say it is swap which is not mounted like a regular partition and therefore not displayed via df.

As suggested you can use gparted or any of the other disk utilities like fdisk, sfdisk.
Good point, completely missed that one.
 
  


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
partition hard drive (sda) in suse linux 11 Micik SUSE / openSUSE 21 02-26-2013 02:27 PM
How to create a new logical partition on sda without mounting to /media? sriniwass Linux - Newbie 2 11-07-2009 12:34 AM
Trying to fix MFT partition problem on sda echat Linux - Software 1 09-28-2008 12:06 AM
Invalid Partition Table on /dev/sda - Wrong Signature 0 ulasergin Fedora - Installation 1 06-30-2005 12:59 AM


All times are GMT -5. The time now is 11:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration