| Summary: | mkfs fails creating a filesytem on a disk device when using a disk with 'ide' interface | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Marek Goldmann <mgoldman> |
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | mbooth, virt-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-25 14:35:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Marek Goldmann
2011-03-25 14:12:35 UTC
In fact mkfs.ext3 asks a question when asked to create a filesystem on /dev/sda (not on /dev/vda though!) /dev/sda is entire device, not just one partition! Proceed anyway? (y,n) The way forward is to special-case this by running mke2fs (not mkfs) with the -F option. Fixed upstream: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=227bea6c7ef89b707fe2c01c4d0d0fb9081e8c04 This one is also needed for RHEL 5: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=a0e3b2183733c7440ad017c4ffe361935672339b |