Soren Harward on 30 Nov 2015 08:22:54 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] ZFS on Linux |
I use ZoL on my home NAS, running on Gentoo, but haven't compared it to ZFS on Fuse. ZoL itself is rock solid. The distribution support is a bit quirky: sometimes Gentoo tries to upgrade the kernel above what the latest ZoL package supports, and I had to tweak the systemd units because I have a weird NFS/ZFS setup, and I have the weird setup because ZoL's NFS options are much more limited than the native Linux NFS server. Anyway, once I spent an afternoon figuring out the quirks, I really like ZFS::ZoL.
___________________________________________________________________________Is anyone using ZFS on their Linux systems? If so, are you using ZoL (http://zfsonlinux.org/) or ZFS on Fuse (https://github.com/gordan-bobic/zfs-fuse)?The reason I ask is because I have a client requesting it for a Debian 8 server and came across ZoL first. I followed the instructions at http://zfsonlinux.org/debian.html but the zfs kernel module is not building. From the config.log...~ ~ ~/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:3600: $? = 1
configure:3638: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zfs"
| #define PACKAGE_TARNAME "zfs"
| #define PACKAGE_VERSION "0.6.5.2"
| #define PACKAGE_STRING "zfs 0.6.5.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define ZFS_META_NAME "zfs"
| #define ZFS_META_VERSION "0.6.5.2"
| #define ZFS_META_RELEASE "2"
| #define ZFS_META_LICENSE "CDDL"
| #define ZFS_META_ALIAS "zfs-0.6.5.2-2"
| #define ZFS_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "zfs"
| #define VERSION "0.6.5.2"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3643: error: in `/var/lib/dkms/zfs/0.6.5.2/build':
configure:3645: error: C compiler cannot create executables
See `config.log' for more details~ ~ ~So interestingly enough crt1.o and crtn.o are in /usr/lib/x86_64-linux-gnu so adding that to the LIBRARY_PATH (i.e. export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH) and then rerunning the dkms install (which will build first) on the modules (spl and zfs, so dkms install -m spl -v 0.6.5 and dkms install -m zfs -v 0.6.5.2).All is well now, dkms status shows the modules installed and zpool status now says "no pools available".That library issue / bug aside (which really really should not be there since it was fixed in Ubuntu back in 2011), I figured I was ask here if anyone has come across this before and if so is there a cleaner fix than what I did?Also, which ZFS approach is considered the better one to use, ZoL or ZFS on FUSE?~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Keith C. Perry, MS E.E.
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
Soren Harward
stharward@gmail.com
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug