Page 1 of 1

Compilation with ZFS support

Posted: 25 Nov 2014, 21:28
by krichter
Hi,
I'm having trouble recovering ZFS partition from a disk image file (created with `dd`). The partition is recognized as `MS Data` type with `ext4` filesystem and when I want to change the type to `ZFS` I'm getting an error message ~`Support has been disabled during compilation`. In `configure --help` I don't see ZFS mentioned explicitly and `configure --with-zfs` and `configure --enable-zfs` aren't recognized. `config.log` doesn't contain the search term `zfs` or `ZFS`. I'm compiling on Ubuntu 14.10 amd64 and followed the instructions on

http://www.cgsecurity.org/wiki/TestDisk_Compilation

. `libzfs2` and `libzfs-dev` (0.6.3-13~utopic) from ppa:zfs-native/stable are installed. I'm about 100 % sure that I saw `ZFS` partitions being recognized before, but maybe that was something different.

Any help is appreciated.

-Kalle

Re: Compilation with ZFS support

Posted: 26 Nov 2014, 11:43
by cgrenier
TestDisk can natively recover ZFS partition but it has no support to list the files from a ZFS partition.

Re: Compilation with ZFS support

Posted: 26 Nov 2014, 18:06
by krichter
I misunderstood the `P=Primary` label like it undeletes the selected partition, but in the next row there's `P: list files` and now everything makes sense again :)