On 27/02/16 11:23, Richard W.M. Jones wrote:
[...]
md_create: feature 'mdadm' is not available in this build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man page for how to check for the availability of features. at /home/noxdafox/development/libguestfs/test-data/phony-guests/make-fedora-img.pl line 103. All the other packages were already installed. Most of these packages seem to be available to other Debian branches but not on Stretch. The Debian package 'mdadm' is installed on the machine or not? $ dpkg -l | grep mdadm ii mdadm 3.4-1 amd64 tool to administer Linux MD arrays (software RAID)
Assuming it is installed, what is the output of:
rm -rf tmp/.guestfs-* ./run guestfish run : supported
? That precise command fails with the following message:
libguestfs: error: you must call guestfs_add_drive before guestfs_launch If I feed a disk image I get it to work and returns: acl yes augeas yes blkdiscard yes blkdiscardzeroes yes btrfs no extlinux no fstrim yes gdisk yes grub no hivex yes inotify yes journal yes ldm no linuxcaps yes linuxfsuuid yes linuxmodules yes linuxxattrs yes luks no lvm2 yes mdadm no mknod yes ntfs3g yes ntfsprogs yes realpath yes rsync yes scrub no selinux yes syslinux no wipefs yes xfs no xz yes zerofree no
Rich.