ZFS on Linux for RHEL/OEL NFS Sharing

Posted by BBK on Server Fault See other posts from Server Fault or by BBK
Published on 2011-11-24T20:02:25Z Indexed on 2011/11/29 17:52 UTC
Read the original article Hit count: 711

Filed under:
|
|

I'm trying ZFS on Linux for Oracle Linux (OLE) 6.1 (Red Hat RHEL 6.1 compatible clone). I successfully compiled and installed spl and zfs on it for Oracle Unbreakable Kernel. Zfs is working and I created mirror by

zpool create -f -o ashift=12 tank mirror sdb sdc

Now I'm trying to share my zfs pool caled "tank/nfs" as mentioned at zfsonlinux site.

zfs set sharenfs=on tank/nfs

So I created tank/nfs and set nfs to on.

Now I'm trying to mount nfs share at local host to test it by

mount -t nfs4 127.0.0.1:/tank/nfs /mnt

But I get mount.nfs4: mount system call failed

So question is:

How to share NFS Folder or iSCSI Volumes at OLE rightly and mount it with Linux Client via ZFS on Linux.

© Server Fault or respective owner

Related posts about nfs

Related posts about zfs