All Projects → lorenz → Torcx Zfs

lorenz / Torcx Zfs

Licence: mit
A torcx module for ZFS on CoreOS

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Torcx Zfs

python-on-coreos
Python on CoreOS. works well with ansible.
Stars: ✭ 24 (+50%)
Mutual labels:  coreos
blacksmith
Bare-Metal CoreOS Cluster Manager
Stars: ✭ 67 (+318.75%)
Mutual labels:  coreos
Coreroller
CoreRoller is a set of tools to control and monitor the rollout of your updates.
Stars: ✭ 298 (+1762.5%)
Mutual labels:  coreos
seedbox
Baremetal CoreOS cluster provisioner with web UI
Stars: ✭ 23 (+43.75%)
Mutual labels:  coreos
terraform-azurerm-kubernetes
Install a Kubernetes cluster the CoreOS Tectonic Way: HA, self-hosted, RBAC, etcd Operator, and more
Stars: ✭ 22 (+37.5%)
Mutual labels:  coreos
deploy-vm
Libvirt wrapper to spawn VMs using cloud images
Stars: ✭ 56 (+250%)
Mutual labels:  coreos
Container Linux Update Operator
A Kubernetes operator to manage updates of Container Linux by CoreOS
Stars: ✭ 208 (+1200%)
Mutual labels:  coreos
Tack
Terraform module for creating Kubernetes cluster running on Container Linux by CoreOS in an AWS VPC
Stars: ✭ 734 (+4487.5%)
Mutual labels:  coreos
terranetes
Terraform boilerplate for production-grade Kubernetes clusters on AWS (optionally includes kube-system components, OpenVPN, an ingress controller, monitoring services...)
Stars: ✭ 15 (-6.25%)
Mutual labels:  coreos
jenkins pipeline
A lean Continuous Deployment, Testing and Integration Pipeline using CoreOS/Docker/Jenkins
Stars: ✭ 44 (+175%)
Mutual labels:  coreos
libvirt-ocp4-provisioner
Automate your OCP4 installation
Stars: ✭ 82 (+412.5%)
Mutual labels:  coreos
docker
CoreOS Docker,让你更便捷、系统化的使用Docker管理你的服务
Stars: ✭ 366 (+2187.5%)
Mutual labels:  coreos
okd-lab
Controlled Environment for OKD4 experiments
Stars: ✭ 24 (+50%)
Mutual labels:  coreos
mantle
Mantle: Gluing Container Linux together
Stars: ✭ 95 (+493.75%)
Mutual labels:  coreos
Kubernetes Vagrant Coreos Cluster
Kubernetes cluster (for testing purposes) made easy with Vagrant and CoreOS.
Stars: ✭ 598 (+3637.5%)
Mutual labels:  coreos
corezfs
ZFS on Linux (ZoL) on CoreOS
Stars: ✭ 27 (+68.75%)
Mutual labels:  coreos
fleet2kubes
Automate Kubernetes object conversion from CoreOS Fleet/systemd units
Stars: ✭ 12 (-25%)
Mutual labels:  coreos
Deis
Deis v1, the CoreOS and Docker PaaS: Your PaaS. Your Rules.
Stars: ✭ 6,107 (+38068.75%)
Mutual labels:  coreos
Tectonic Installer
Install a Kubernetes cluster the CoreOS Tectonic Way: HA, self-hosted, RBAC, etcd Operator, and more
Stars: ✭ 599 (+3643.75%)
Mutual labels:  coreos
rktmachine
Menu bar macOS app for running rkt in a macOS hypervisor CoreOS VM.
Stars: ✭ 31 (+93.75%)
Mutual labels:  coreos

Torcx ZFS Module

Building

The build process currently requires guestfish and Docker. The base image can be generated as follows ($VERSION is the CoreOS release, for example 1576.5.0):

wget -qO - http://stable.release.core-os.net/amd64-usr/$VERSION/coreos_developer_container.bin.bz2 | bunzip2 > coreos_developer_container.bin
guestfish -i -a coreos_developer_container.bin tgz-out / - | docker import - your-registry.com/coreos-devel:$VERSION
docker push your-registry.com/coreos-devel:$VERSION

Instantiate a container from that image and copy the repository into it (or let a CI do that for you). Then execute env ZOL_VERSION=0.8.0 ./build.sh. That will generate a torcx module for that specific CoreOS version and ZFSOnLinux 0.8.0.

Old ZoL versions

Master is only compatible with the latest major release of ZoL (currently 0.8). For older versions please use the corresponding branch.

Installation

Take the resulting zfs:0.8.0.torcx.tgz file and either manually put it into /var/lib/torcx/store/$VERSION/ or have some orchestration system do that for you.

Create a torcx manifest or extend your existing manifest (example below) and drop it in /etc/torcx/profiles/some_manifest.json.

{
  "kind": "profile-manifest-v0",
  "value": {
    "images": [
      {
        "name": "zfs",
        "reference": "0.8.0"
      }
    ]
  }
}

Enable your manifest if you haven't already:

echo 'some_manifest' > /etc/torcx/next-profile

If you want to be able to use the ZFS CLI utils you need to add the Torcx PATH to your system path. Create an executable file in /etc/profile.d/torcx-path.sh with the following content:

# torcx drop-in: add torcx-bindir to PATH
export PATH="/var/run/torcx/bin:${PATH}"

You only need to do that once for all Torcx modules. This will hopefully no longer be necessary once Torcx is better integrated into CoreOS.

At that point you can reboot and enjoy ZFS on your CoreOS system :)

FAQ

Do I need to rebuild the module for every CoreOS release? Yes. Technically you can skip it if the Kernel release hasn't changed (not often), but I wouldn't.

What can I do to make ZFS imports faster? By default this ZFSOnLinux doesn't use the ZFS import cache. You can enable it by executing zpool set cachefile=/etc/zfs/zpool.cache <poolname>, but please read up on the effects of doing that

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].