Bug 1061040

Summary: RFE: Enable ZFS support
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ptoscano
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-17 00:10:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2014-02-04 09:54:36 UTC
Description of problem:

libguestfs doesn't really support ZFS.  virt-rescue offers
the zfs commands like zpool, although I couldn't actually get
them to work.  However we really need to do two things:

 - Start up ZFS in the init script.
 - Support ZFS concepts in the APIs.

We currently support LVM2, btrfs, LDM & MD, which all have similar
concepts to ZFS.

Luckily since Matt added btrfs support for "mountables" it should
be fairly easy to model ZFS in the API.

Version-Release number of selected component (if applicable):

libguestfs 1.25.32.

How reproducible:

100%

Steps to Reproduce:
1. Obtain the test image FreeBSD_ZFS-test.qcow2 (ask me for it).
2. Try to open it in guestfish etc.

Actual results:

vfs-type shows the first partition has type "zfs_member", but
there's nothing else we can do with it.

Expected results:

list-filesystems should show the ZFS filesystem, and there should
be other APIs to handle ZFS concepts.

Additional info:

https://www.redhat.com/archives/libguestfs/2014-February/thread.html#00007

Comment 1 Red Hat Bugzilla 2025-10-17 00:10:07 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.

Comment 2 Alasdair Kergon 2025-10-17 12:52:13 UTC
Reopening because Virtualization Tools has not been discontinued.