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.
the answer is
mount 127.0.0.1:/tank/nfs /mnt