[Grml] zfs

Michael Prokop mika at grml.org
Tue Jun 9 10:59:15 CEST 2020


Hi,

CC-ing John, who IIRC isn't subscribed to the mailing list, please
be aware that your mails will end up in moderation queue and you
might also miss mails sent to the mailing list without explicitly
Cc-ing you.

* John Covici [Sat Jun 06, 2020 at 01:23:39PM -0400]:

> Any chance of getting sujpport for zfs in this release?  I have been
> using it for years, but grml does not currently support it, so I have
> had to find something else, but it would sure be nice to use grml
> again.

I'm aware of folks having their own custom build of Grml which
includes ZFS support, though providing it OOTB on official Grml
isn't really an option, due to the licensing/legal issues caused by
GPL-2 vs CDDL[1].

What works though is building ZFS on the running Grml live system
(assuming enough RAM is available, worked fine for me e.g. with 2GB
in a VM). Relevant steps, verified on grml64-full 2020.06-rc1:

  apt update
  apt install --yes linux-headers-$(uname -r) gcc
  apt install --yes --no-install-recommends zfs-dkms
  modprobe zfs
  apt install --yes zfsutils-linux

Then you should have everything what's needed to use ZFS on Grml.

BTW: you can even create a Debian package of the resulting zfs
kernel modules for re-usage then:

  apt install --yes --no-install-recommends debhelper
  dkms mkbmdeb zfs/0.8.4   # this assumes you've zfs-dkms v0.8.4 present

This should give you
/var/lib/dkms/zfs/0.8.4/bmdeb/zfs-modules-5.6.0-2-amd64_0.8.4_amd64.deb
which includes the built zfs modules which you could then install on
next boot of Grml without having to go through the compile steps
again.

FTR, we've https://github.com/grml/grml-live/issues/78 to track
"Make ZFS usage as easy as possible", we might come up with 1) a
script which automates the above steps or 2) provide a way how to
provide the zfs-modules-*.deb via deb.grml.org or so, but someoneā„¢
needs to find the time to take care of this. :)

[1] https://michael-prokop.at/screeni/screenshot.2020-06-09T09-57-20.png

regards
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20200609/e671fd23/attachment.sig>


More information about the Grml mailing list