Mounting zfs disks

    • Mounting zfs disks

      hello all,

      flying from freenas to OMV, but...
      i have 2x2tb external FW800 disks, full of data, using zfs filesystems.
      installed misc zfs modules, and now i can see them under linux:

      Source Code

      1. root@volgas:/mnt# ls -al /dev/disk/by-id/
      2. total 0
      3. drwxr-xr-x 2 root root 160 Oct 29 22:19 .
      4. drwxr-xr-x 6 root root 120 Oct 29 22:19 ..
      5. lrwxrwxrwx 1 root root 9 Oct 29 22:19 ieee1394-0090a99500a183b9:000434:0000 -> ../../sdb
      6. lrwxrwxrwx 1 root root 10 Oct 29 22:19 ieee1394-0090a99500a183b9:000434:0000-part1 -> ../../sdb1
      7. lrwxrwxrwx 1 root root 10 Oct 29 22:19 ieee1394-0090a99500a183b9:000434:0000-part2 -> ../../sdb2
      8. lrwxrwxrwx 1 root root 9 Oct 29 22:19 ieee1394-0090a99500a186ec:000434:0000 -> ../../sdc
      9. lrwxrwxrwx 1 root root 10 Oct 29 22:19 ieee1394-0090a99500a186ec:000434:0000-part1 -> ../../sdc1
      10. lrwxrwxrwx 1 root root 10 Oct 29 22:19 ieee1394-0090a99500a186ec:000434:0000-part2 -> ../../sdc2


      is there any way to mount and use them ?
    • Re: Mounting zfs disks

      Been somewhat covered here forums.openmediavault.org/viewtopic.php?f=10&t=131

      I've gotten it to work, but it's a real nightmare to maintain. I gave it my best and wrote up that post for some peeps wanting to venture into it, but I'm no Debian guru. I eventually just threw in the towel and moved to FreeNAS 8.3.0. I'll move back once/if OMV implements zfsonlinux or I might eventually just build a debian box from scratch.

      Either way there be pitfalls ahead!!! You should note that all FreeNAS versions of ZFS prior to 8.3.0 were pre v28 (v15 was the last one). ZFSONLINUX is a robust project and has rightfully so been keeping it's ZFS version up to date; FreeNAS on the other hasn't. A v15 ZFS array will work on a v28 capable ZFS system, but a v28 array WILL NOT work on a v15 capable system. Now that 8.3.0 is in full release it shouldn't be a problem, but I was forced to use BETA for a while. I recommend that you update your array to v28, but just be aware of this potential pitfall.

      PS - once zfson linux is installed mounting is simple... zfs mount -a or zfs mount /pool, although you may have to import your pool first if you haven't done so already.