Bug 138151 - "mkpart(parted command)" command cannot run properly.
Summary: "mkpart(parted command)" command cannot run properly.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: man-pages
Version: 4.0
Hardware: ia64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Florian La Roche
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-05 01:45 UTC by L3support
Modified: 2007-11-30 22:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-25 09:02:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description L3support 2004-11-05 01:45:16 UTC
Description of problem:

"mkpart" command cannot run properly 
when we tried to create a extended partition 
using "parted(GNU Parted)" command on RHEL4.

Following message are shown
when we specified partition type "extended" or "logical".
The message was shown repeatedly until we specified partition type
"primary".

(parted) mkpart
Partition type?  [primary]? extended
Partition type?  [primary]? logical
Partition type?  [primary]? primary
File system type?  [ext2]?

It is written to manual(man command) as follows.
"part-type should be one of "primary", "logical" or "extended"


Version-Release number of selected component (if applicable):
parted-1.6.12-2

How reproducible:
always

Steps to Reproduce:
1. parted /dev/(device)
2. (parted) mkpart 
3. Partition type?  [primary]? extended(or logical)
4. 

Actual results:
Partition type?  [primary]? extended(or logical)
Partition type?  [primary]? primary
File system type?  [ext2]?

Expected results:
Partition type?  [primary]? extended(or logical)
File system type?  [ext2]?

Comment 1 Bill Nottingham 2004-11-05 05:02:53 UTC
What sort of disk label are you using?

EFI partition table doesn't support extended/logical partitions, as
far as I know.

Comment 2 Jeremy Katz 2004-11-08 14:21:51 UTC
What was the partition table before your attempt to create a partition?

Comment 3 L3support 2004-11-17 09:39:47 UTC
The partition table before my attempt to create a partition is 
as follows.

(parted) p
Disk geometry for /dev/sdb: 0.000-140014.398 megabytes
Disk label type: gpt
Minor    Start       End     Filesystem  Name                  Flags
1          0.017   1000.000  ext2
2       1010.000   2000.000  ext2
3       2000.000   2500.000  ext2
4       2500.000   2550.000  ext3
5       2550.000   2560.000  ext2
(parted) mkpart
Partition type?  [primary]? extended
Partition type?  [primary]? logical
Partition type?  [primary]? primary
File system type?  [ext2]?

Comment 4 Jeremy Katz 2004-11-17 18:02:30 UTC
extended and logical partitions aren't supported on GPT -- primary only.

Comment 5 L3support 2004-11-18 04:22:03 UTC
Where is the information indicatedã?

We looked for the information 
by "man" command and "help(within parted)" command,
but we could not find. 

Moreover, if the information did not indicate
in man page or the result of "help(within parteds)" command,
we think that you need to indicate the information.

Since user can not know the information
by "man" command and "help(within parted)" command,
they think that "parted" command can not run properly.

We want you to indicate the information 
in man page or the result of "help(within parteds)" command.ã

Would you indicate the informationã?

Comment 6 L3support 2004-12-02 12:37:10 UTC
Could you tell me status of problem ?

Comment 7 L3support 2004-12-17 07:28:01 UTC
We'd like to know the status of problem.

Comment 8 L3support 2005-01-05 05:26:56 UTC
We'd like to know the status of problem.

Comment 9 RHEL4-L3support 2005-01-19 01:41:24 UTC
Add RHEL4-L3support team in Japan

Comment 17 Jay Turner 2005-01-25 09:02:27 UTC
This isn't a bug in the tools.  The EFI GPT specification clearly states what is
and isn't supported under that partitioning scheme and the parted utility is
enforcing those rules.  The EFI specification is available from Intel at
http://developer.intel.com/technology/efi/download.htm.


Note You need to log in before you can comment on or make changes to this bug.