Red Hat Bugzilla – Bug 98610
can't lvcreate in specific raid physical volumes
Last modified: 2007-11-30 17:06:56 EST
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):
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.
This has been broken since at least Shrike.
lvcreate -n test -l 1 VG00
with /dev/md0 in the VG00 group work?
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.
*** Bug 117279 has been marked as a duplicate of this bug. ***
Fix is in dist-10-updates-candidate for test.