Bug 807905
Summary: | mkfs blocksize option breaks when creating btrfs | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mohua Li <moli> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.3 | CC: | leiwang, qguan, qwan, yuzhou |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.16.14-1.el6 | Doc Type: | Bug Fix |
Doc Text: |
No Documentation needed.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 07:01:27 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
Mohua Li
2012-03-29 06:01:39 UTC
Putting back to 6.3. As Mohua Li says, we need to fix this. For a future feature, we should add a 'mkbtrfs' call which contains all the specific parameters for btrfs (compare to the various mke2fs calls: http://libguestfs.org/guestfs.3.html#guestfs_mke2fs_J) One-line reproducer: $ guestfish -N disk mkfs-opts btrfs /dev/sda blocksize:1024 libguestfs: error: mkfs_opts: btrfs: /dev/vda: File system size 1024 bytes is too small, 256M is required at least Patches posted: https://www.redhat.com/archives/libguestfs/2012-April/msg00006.html Only the first patch would be included in RHEL. Fix is included in libguestfs-1.16.14-1.el6. libguestfs-1.16.15-1.el6 as just included the first patch which just disallow the blocks option for btrfs filesystem, and i didn't see any side effect for other filesystem so far, [root@dhcp-93-131 RHEL-Server-6.0]# guestfish -N disk mkfs-opts btrfs /dev/sda blocksize:1024 libguestfs: error: mkfs_opts: blocksize cannot be set on btrfs filesystems [root@dhcp-93-131 RHEL-Server-6.0]# guestfish -N disk mkfs-opts ext4 /dev/sda blocksize:1024 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 Documentation 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-0774.html |