Bug 561077
Summary: | Can't use striped LVs for LVM storage pool | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Guido Günther <agx> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | berrange, crobinso, redhat, saxonm, waschtl, xen-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-10-04 08:35:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 640807 |
Description
Guido Günther
2010-02-02 16:23:54 UTC
Also raised on mailing list http://www.redhat.com/archives/libvir-list/2010-January/msg00501.html Looks like I just found a new situation where this comma parsing problem rears its ugly head. I've got three LVM physical volumes in one volume group, that has logical volumes striped across those three physical volumes. Compare: # lvs --separator , --noheadings --units b --unbuffered --nosuffix --options lv_name,origin,uuid,devices,seg_size,vg_extent_size somename,,w5cyWP-0jY3-QAce-JUMH-GGz0-fEjG-Whfdgg,/dev/md127(67094),/dev/md125(33762),/dev/md126(19415),1696579190784,33554432 to: # lvs --separator \# --noheadings --units b --unbuffered --nosuffix --options lv_name,origin,uuid,devices,seg_size,vg_extent_size somename##w5cyWP-0jY3-QAce-JUMH-GGz0-fEjG-Whfdgg#/dev/md127(67094),/dev/md125(33762),/dev/md126(19415)#1696579190784#33554432 It looks like libvirt is choking on the commas inside the devices field. Any chance the libvirt separater character can be changed to something lvs doesn't internally use? Oops, didn't realise I found a bug for the exact problem; I thought I was reading bug 640807. This bug was fixeda long time back commit 82c1740ab92682d69ec8f02adb36b13e1902acd1 Author: Osier Yang <jyang> Date: Mon Oct 10 20:34:59 2011 +0800 storage: Do not use comma as seperator for lvs output |