Hi, At JUC 2013, Kohsuke gave this presentation:
http://www.slideshare.net/kohsuke/jenkins-user-conference-2013-literate-multibranch-mobile-and-more On slide 37, he mentioned ZFS on Linux. In the Jenkins core, code there is code to access ZFS functionality in libzfs. From the pom.xml, there is this: <dependency> <groupId>org.jvnet.libzfs</groupId> <artifactId>libzfs</artifactId> <version>0.5</version> </dependency> and in the jenkins core code there is: ./src/main/java/hudson/os/solaris/ZFSProvisioner.java ./src/main/java/hudson/os/solaris/ZFSInstaller.java It looks like the ZFS functionality is unavailable by default on all platforms except for Solaris due to this code: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/os/solaris/ZFSInstaller.java#L99 private boolean shouldBeActive() { if(!System.getProperty("os.name").equals("SunOS") || disabled) // on systems that don't have ZFS, we don't need this monitor return false; . . . /** * Escape hatch in case JNI calls fatally crash, like in HUDSON-3733. */ public static boolean disabled = Boolean.getBoolean(ZFSInstaller.class.getName()+".disabled"); I tested booted a SmartOS (Illumos) image and ran Jenkins under it, and saw that ZFS functionality was enabled by default. So, when you ran this stuff, under Linux, did you hack the above code so that it would work with ZFS on Linux, or did you start Jenkins with the hudson.os.solaris.ZFSInstaller.disabled System property set to false when starting the JVM on Linux? With OpenZFS, ZFS is now available on other platforms besides Solaris (such as FreeBSD), so I'd like to get this working on something besides Solaris. Thanks. -- Craig -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3DrPVcjrK_Di4RVSysJaY%2B7Xj7dNLAP637CpiyN%3D2z%3Dr8LMiA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
