Bug 515293
| Summary: | RFE: Support formatting of new (ext3/4) filesystems for fs storage pool type | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Daniel Berrangé <berrange> |
| Component: | libvirt | Assignee: | Osier Yang <jyang> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.0 | CC: | cpelland, dallan, dyuan, gren, hbrock, jdenemar, llim, mzhan, rjones, rwu, veillard, whuang, xen-maint, yoyzhang |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.9.9-1.el6 | Doc Type: | Enhancement |
| Doc Text: |
No ducumentation needed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 06:20:18 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: | |||
|
Description
Daniel Berrangé
2009-08-03 15:57:08 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Moving to 6.1 The patch was pushed into upstream early in Feb, 2010.
commit b738016b78f157be16ed3200fb0e0023e81e2adb
Author: Dave Allan <dallan>
Date: Wed Feb 24 09:51:34 2010 +0100
Format FS pools on creation
Create the filesystem on the partition used by the pool
* configure.ac: check for mkfs availability
* libvirt.spec.in: add extra require on util-linux for mkfs
* src/storage/storage_backend_fs.c: run mkfs with the expected
fs type when creating a filesystem pool
Also checked libvirt RHEL6.1 source code. the patch is there. so move it to POST.
v4 patch sent to upstream. https://www.redhat.com/archives/libvir-list/2011-April/msg00465.html Patches committed into upstream: ddcd5674aa59ab1f818f333090c0e695ffe93b67 27758859c7192603d803fe0733ac9c141304c762 660cb2530f5bf15183475da54980eb260454000a Verify this bug with:
libvirt-0.9.9-1.el6.x86_64
#virsh pool-dumpxml sda1
<pool type='fs'>
<name>sda1</name>
<uuid>335d8d99-e88e-4d28-ec7d-5c6025d16fc2</uuid>
<capacity>507744256</capacity>
<allocation>10762240</allocation>
<available>496982016</available>
<source>
<device path='/dev/sda1'/>
<format type='ext4'/>
</source>
<target>
<path>/var/lib/libvirt/images/sda1</path>
<permissions>
<mode>0700</mode>
<owner>-1</owner>
<group>-1</group>
</permissions>
</target>
</pool>
# virsh pool-build sda1 --overwrite
Pool sda1 built
# virsh pool-start sda1
Pool sda1 started
# mount
...
/dev/sda1 on /var/lib/libvirt/images/sda1 type ext4 (rw)
...
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No ducumentation needed.
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/RHSA-2012-0748.html |