Bug 98610 - can't lvcreate in specific raid physical volumes
can't lvcreate in specific raid physical volumes
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: lvm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Heinz Mauelshagen
Brian Brock
Depends On:
Blocks: 116727
  Show dependency treegraph
Reported: 2003-07-04 17:56 EDT by Alexandre Oliva
Modified: 2007-11-30 17:06 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-04-22 13:09:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alexandre Oliva 2003-07-04 17:56:26 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030619

Description of problem:
If you specify a raid block device as the physical volume to use for a logical
volume to be created, it fails.

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

How reproducible:

Steps to Reproduce:
1.Set up a volume group say VG00 containing at least one physical volume that is
a raid device say /dev/md0, with at least one free logical extent
2.lvcreate -n test -l 1 VG00 /dev/md0

Actual Results:  lvcreate -- couldn't read physical volume "/dev/md0"

Expected Results:  It works for non-raid physical volumes (say /dev/hda5), so it
should work for raid devices too.

Additional info:

This has been broken since at least Shrike.
Comment 1 Bastien Nocera 2004-03-02 10:25:19 EST
Does running:
lvcreate -n test -l 1 VG00
with /dev/md0 in the VG00 group work?
Comment 2 Alexandre Oliva 2004-03-02 14:06:15 EST
Yup.  And even if there were only raid devices in the volume group, it
would still work.  It doesn't seem to be a problem with using raid
devices or allocating blocks to them, it's probably more of a matter
of handling command-line arguments.
Comment 3 Heinz Mauelshagen 2004-03-03 04:49:55 EST
*** Bug 117279 has been marked as a duplicate of this bug. ***
Comment 6 Heinz Mauelshagen 2004-04-22 10:06:18 EDT
Fix is in dist-10-updates-candidate for test.

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