Re: Please add ZFS Support - Need it for Solaris, OpenSolaris and FreeBSD

From reading the wikipedia link, it would appear that SUN's licensing of ZFS is incompatible with the GPL v2. Hence direct support for ZFS is not currently present in the GNU/Linux kernel. Since both GParted and GParted Live are distributed under the GPL, it would appear that licensing is a road block.

wikipedia wrote:

Porting ZFS to Linux is complicated by the fact that the GNU General Public License, which governs the Linux kernel, prohibits linking with code under certain licenses, such as CDDL, the license ZFS is released under.

Re: Please add ZFS Support - Need it for Solaris, OpenSolaris and FreeBSD

Re: Please add ZFS Support - Need it for Solaris, OpenSolaris and FreeBSD

If for the moment we ignore the licensing, there are several challenges to be addressed such as:- How to detect that a file system is ZFS?- Do GNU/Linux command line tools exist to create the file system?

Re: Please add ZFS Support - Need it for Solaris, OpenSolaris and FreeBSD

There is no licensing problem to include support for calling external tools if they are available.

And according to http://www.wizy.org/mercurial/zfs-fuse/ … 9cd/STATUS it should be possible to create filesystems. They seem to use the original CDDL-licensed tools (maybe with some changes), so I guess a tutorial for those on another OS will work with zfs-fuse too.

Re: Please add ZFS Support - Need it for Solaris, OpenSolaris and FreeBSD

Please forgive me if I seem to be repeating my question, but I still do not know how to create a ZFS file system using zfs-fuse.

From what I understand, FUSE provides the ability to access file systems from user space (i.e., you don't have to be root to mount or unmount them). Hence an unprivileged user would be able to mount an existing ZFS file system using zfs-fuse, and then list the files on the zfs file system using the "ls" command.

My question is what steps would I take to create a ZFS file system?Is there a command such as "mkfs.zfs" or something that I am missing?

Re: Please add ZFS Support - Need it for Solaris, OpenSolaris and FreeBSD

Panarchy wrote:

Hi

Sorry for the late reply.

Did some reading, if you could install zpool & zfs onto the liveCD, then partitions could be created the same way they are on OpenSolaris and FreeBSD.

So please do this.

Thanks in advance,

Panarchy

Yes with zfs-fuse you can look for partition labels, etc. - would love to have it supported in gparted. eg you can look for all zfs accessable volumes/drives/partitions with zpool, and it will tell you what file systems there are, and what the make-up is:

# zpool import
pool: small
id: 14084815589084030700
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
small ONLINE
sda3 ONLINE

Re: Please add ZFS Support - Need it for Solaris, OpenSolaris and FreeBSD

Recently a user asked for ZFS support over IRC. ZFS is a volume manager and a file system in one. This is nothing like the model GParted has of one file system to one block device. This makes support VERY complicated.