This bug has been copied from bug #896052 and has been proposed to be backported to 5.9 z-stream (EUS).
can reproduce with build libvirt-0.8.2-29.el5 verify with build: kernel-2.6.18-348.1.1.el5 libvirt-0.8.2-29.el5_9.1 lvm2-2.02.88-10.el5 step: 1: > pvcreate /dev/sda2 Writing physical volume data to disk "/dev/sda2" Physical volume "/dev/sda2" successfully created > pvcreate /dev/sda7 Writing physical volume data to disk "/dev/sda7" Physical volume "/dev/sda7" successfully created > vgcreate vg_ssd /dev/sda2 /dev/sda7 Volume group "vg_ssd" successfully created > lvcreate --size 40GB --name test_nostripes vg_ssd Logical volume "test_nostripes" created > vgchange -a y vg_ssd 1 logical volume(s) in volume group "vg_ssd" now active > virsh pool-create-as vg_ssd logical --target /dev/vg_ssd Pool vg_ssd created > virsh pool-info vg_ssd Name: vg_ssd UUID: 3103226f-4fd6-2c47-bd66-5c5e612d2dcb State: running Persistent: no Autostart: no Capacity: 68.35 GB Allocation: 40.00 GB Available: 28.35 GB > virsh pool-destroy vg_ssd Pool vg_ssd destroyed > lvcreate --size 10GB --stripes 2 --stripesize 8kb --name test_stripes vg_ssd Logical volume "test_stripes" created > vgchange -a y vg_ssd 2 logical volume(s) in volume group "vg_ssd" now active > stat /dev/vg_ssd/test_stripes File: `/dev/vg_ssd/test_stripes' -> `/dev/mapper/vg_ssd-test_stripes' Size: 31 Blocks: 0 IO Block: 4096 symbolic link Device: 11h/17d Inode: 19591 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2013-02-20 02:30:36.148812478 -0500 Modify: 2013-02-20 02:29:44.951812478 -0500 Change: 2013-02-20 02:29:44.951812478 -0500 > virsh -d 5 pool-create-as vg_ssd logical --target /dev/vg_ssd command: "pool-create-as vg_ssd logical --target /dev/vg_ssd " pool-create-as: name(DATA): vg_ssd pool-create-as: type(DATA): logical pool-create-as: target(DATA): /dev/vg_ssd Pool vg_ssd created # lvs --separator , --noheadings --units b --unbuffered --nosuffix --options lv_name,origin,uuid,devices,seg_size,vg_extent_size vg_ssd; echo $? test_nostripes,,cNkdV4-gkze-A4ea-0nKM-OYJL-WiID-m7EmH3,/dev/sda7(0),42949672960,4194304 test_stripes,,b35pBS-CJBI-9FK0-jPl0-fYyw-jH9P-ADPHGr,/dev/sda2(0),/dev/sda7(10240),10737418240,4194304 0 libvirt worked as expect , move to verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0575.html