On Tue, Apr 20, 2010 at 10:23:07AM -0400, John Larson wrote:
Not sure if this possible, but I have a KVM guest running Solaris 10 with the OS on ZFS and I am trying to use libguestfs/guestfish/guestmount to get to the VM. I am running Red Hat EL 5.4 with EPEL rpms as required.
It has to be said that you are well out on your own on this. We have never tried to access ZFS partitions. In fact, I wasn't even aware that Fedora had support for this, but I notice now it does have support (via a FUSE module). Anyway, we do support FUSE modules to access filesystems. eg. That is exactly how our current NTFS support works (via ntfs-3g). You'd need to rebuild libguestfs, particularly the appliance, adding the ZFS module (zfs-fuse) to appliance/packagelist.in. I don't know if it would just work after that -- mostly likely it would just work. But you might also have to make some small changes to the daemon. If you want to post a small ZFS test filesystem / VM, I'll see if I can get it to work. You'll probably want to look at the architecture diagram, since from the rest of your email it seemed you were a bit confused about how libguestfs works: http://libguestfs.org/guestfs.3.html#architecture And don't bother starting off with guestmount. Use guestfish to try to get a first pass working. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora