LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-23-2010, 09:17 AM   #1
Alter Ego
LQ Newbie
 
Registered: Dec 2010
Distribution: RHEL, OpenSUSE
Posts: 4

Rep: Reputation: 0
parted limitations


running RHEL 5.3 64bit, parted does not allow creation of more than 16 partitions (usin GPT partition table), e.g. when attempting to create next (17th) partition I get


(parted) mkpart primary 43GB 44GB
Error: Error informing the kernel about modifications to partition /dev/sdb16 -- Invalid argument. This means Linux won't know about any changes
you made to /dev/sdb16 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Ignore/Cancel? C
Warning: The kernel was unable to re-read the partition table on /dev/sdb (Device or resource busy). This means Linux won't know anything about
the modifications you made until you reboot. You should reboot your computer before doing anything with /dev/sdb.

so I choose Cancel and I cannot go beyond this

(parted) pr

Model: Sun data (scsi)
Disk /dev/sdb: 147GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 17.4kB 5000MB 5000MB primary lvm
2 5000MB 10.0GB 5000MB primary lvm
3 10.0GB 15.0GB 5000MB primary lvm
4 15.0GB 20.0GB 5000MB primary lvm
5 20.0GB 25.0GB 5000MB primary lvm
6 25.0GB 30.0GB 5000MB primary lvm
7 30.0GB 35.0GB 5000MB primary lvm
8 35.0GB 36.0GB 1000MB primary
9 36.0GB 37.0GB 1000MB primary
10 37.0GB 38.0GB 1000MB primary
11 38.0GB 39.0GB 1000MB primary
12 39.0GB 40.0GB 1000MB primary
13 40.0GB 41.0GB 1000MB primary
14 41.0GB 42.0GB 1000MB primary
15 42.0GB 43.0GB 1000MB primary
16 43.0GB 44.0GB 1000MB primary

is this a limitation of the RHEL particular release or parted?
 
Old 12-23-2010, 09:57 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
I believe the maximum number of partitions on a disk is 255 (3 primary, #4 is extended then the rest on the extended partition). Have you rebooted and seen if it shows up, like the message you got says?
 
Old 01-03-2011, 05:20 AM   #3
Alter Ego
LQ Newbie
 
Registered: Dec 2010
Distribution: RHEL, OpenSUSE
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
I believe the maximum number of partitions on a disk is 255 (3 primary, #4 is extended then the rest on the extended partition). Have you rebooted and seen if it shows up, like the message you got says?
the partition table I am using is of type GPT not msdos which is the one you are referring to (e.g. with the 3 primary 4 extended etc etc ...).

Also, rebooting does not change the situation. Any further hint would really be appreciated, thx.
 
Old 02-07-2011, 09:39 AM   #4
Alter Ego
LQ Newbie
 
Registered: Dec 2010
Distribution: RHEL, OpenSUSE
Posts: 4

Original Poster
Rep: Reputation: 0
Upon further research, apparently this is a known limitation for RHEL (and their clones). From the RHEL 6 Migration guide it appears that SCSI devices are limited to 15 partitions per device. The full document is available here
http://docs.redhat.com/docs/en-US/Re...html#id2928240

However this seems to affect only migration from older system. Partitioning from scratch allows more than 15 partition under RHEL6 (although not under RHEL5). See this also:

http://www.techenclave.com/open-sour...ts-181731.html

Last edited by Alter Ego; 02-07-2011 at 09:59 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Limitations of using sub-interfaces winxandlinx Linux - Security 5 12-04-2009 01:42 AM
Memory limitations umproko5 Linux - Enterprise 3 03-06-2009 05:37 AM
sendmail limitations ssilayaraja Linux - Networking 2 09-13-2006 08:58 AM
LVM limitations? luk65 Red Hat 1 07-31-2005 02:39 PM
Login Limitations mailnickykav Red Hat 3 03-09-2005 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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