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 10-22-2015, 11:17 AM   #1
sumncguy
Member
 
Registered: Jun 2013
Posts: 76

Rep: Reputation: Disabled
Admin student questions - Partitioning


Why do I not see blkid responses for all partitions ?

[root@server1 ~]# fdisk -l /dev/sda

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f0b05

Device Boot Start End Blocks Id System
/dev/sda1 * 1 33 262144 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 33 1308 10240000 83 Linux
/dev/sda3 1308 1945 5120000 83 Linux
/dev/sda4 1945 2611 5348352 5 Extended
/dev/sda5 1946 2073 1024000 83 Linux
/dev/sda6 2073 2139 524288 82 Linux swap / Solaris
/dev/sda7 2139 2155 134485 83 Linux
/dev/sda8 2156 2189 272081 83 Linux
/dev/sda9 2190 2255 529121 83 Linux
/dev/sda10 2256 2289 272081 83 Linux
[root@server1 ~]# blkid /dev/sda*
/dev/sda1: UUID="eae89141-6329-4dee-9ab9-358ef641e08c" TYPE="ext2"
/dev/sda2: UUID="fa60cceb-c967-402e-b240-e89f419a050f" TYPE="ext4"
/dev/sda3: UUID="803011d1-6853-4736-a509-907c83fa8465" TYPE="ext4"
/dev/sda5: UUID="52696129-c7c7-41cb-b7d3-557681e236cb" TYPE="ext4"
/dev/sda6: UUID="8b430f67-695d-4da9-993a-c40786f7a02e" TYPE="swap"
/dev/sda7: UUID="7cd6ffee-3f31-456a-8e0b-33c6bb1734b7" TYPE="ext2"
/dev/sda8: UUID="6ab0235e-c0cb-4619-8eb3-e136204c8800" TYPE="ext2"
[root@server1 ~]#
 
Old 10-22-2015, 12:22 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Hardwareinfo?

Which distro did you install?
 
Old 10-22-2015, 12:26 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
blkid reports the content of partitions, e.g. swap, filesystem, LVM. If they have no content known by blkid, nothing is reported.

in your case, sda4 is an extended partition, which blkid ignores, and 9 and 10 are probably unused. The others are filesystems, one is swap.
 
Old 10-22-2015, 12:28 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Is this a GPT disk? There is 8 partition limit for MBR, maybe your blkid is not aware of GPT ... just guessing.
 
Old 10-22-2015, 01:02 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
What Redhat distribution/version is running on this system?

/dev/sda4 is an extended partition which would indicate a MBR disk. There used to be a 16 partition limit when libata first came about due to it using the SCSI subsystem. However, with dynamic device generation one can create an arbitrary amount at least in theory. If I remember correctly someone tested to around 150 or so.

Last edited by michaelk; 10-22-2015 at 01:07 PM.
 
Old 10-22-2015, 01:12 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Emerson View Post
Is this a GPT disk?
Since the fdisk output shows the existence of an extended partition this can't be a disk using GPT partitioning, since GPT doesn't have extended partitions
Quote:
There is 8 partition limit for MBR, maybe your blkid is not aware of GPT ... just guessing.
There isn't an 8 partition limit for MBR partitioned disks.
 
Old 10-22-2015, 02:19 PM   #7
sumncguy
Member
 
Registered: Jun 2013
Posts: 76

Original Poster
Rep: Reputation: Disabled
solved

First to answer all your questions ..

VMware Vm with Centos 6.7 loaded.
No GPT, this disk was setup to use MBR.
This disk is using partition 4 to create logical disks. Because of the 4 partition limitation.


The problem is solved. Duhhhh ... I forgot to format the logical partitions. ... dang rookies !!!


Thanks for the help guys !!
 
Old 10-22-2015, 03:14 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Since the fdisk output shows the existence of an extended partition this can't be a disk using GPT partitioning, since GPT doesn't have extended partitions

There isn't an 8 partition limit for MBR partitioned disks.
Oh man, did I get carried away.
 
  


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
Evil network admin VS innocent computer student? badwizard Linux - Networking 8 02-06-2011 04:08 AM
Junior linux admin role -- few questions paperbag Linux - General 28 10-17-2008 05:12 PM
2K admin now RHEL4 admin (I have some questions) wilsryan Red Hat 5 01-30-2006 12:18 PM
Remote admin questions... Irving Linux - Networking 7 06-22-2004 09:52 AM
Network admin questions! kobe Linux - Security 5 08-13-2002 03:26 AM

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

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