diff --git a/docs/os/storage/using-zfs/index.md b/docs/os/storage/using-zfs/index.md index e17aa27e..6f98b26d 100644 --- a/docs/os/storage/using-zfs/index.md +++ b/docs/os/storage/using-zfs/index.md @@ -13,10 +13,13 @@ In order to start using ZFS, you'll need to first enable one of the [persistent $ sudo ros console switch ubuntu $ sudo ros service enable kernel-headers $ sudo ros service up -d kernel-headers +$ sudo ros service logs kernel-headers ``` When RancherOS console has reloaded, you will have logged into the persistent console. The current kernel headers will need to be downloaded using the `ros service enable` and the service will be started with `ros service up -d kernel-headers`. +You can make sure that the headers are in the right place by looking at the kernel-headers service logs. + #### Installing ZFS on Ubuntu Console Based on the [Ubuntu ZFS docs](https://wiki.ubuntu.com/Kernel/Reference/ZFS), you only need to install `zfs` package into the Ubuntu console to enable ZFS. All the other necessary packages will be installed as its dependencies. @@ -26,6 +29,8 @@ $ sudo apt update $ sudo apt install zfs ``` +Then have a look at the zfs dmks build log file - which is likely to be a file similar to `/var/lib/dkms/zfs/0.6.5.6/build/make.log`. + #### Mounting ZFS filesystems on boot In order for ZFS to load on boot, it needs to be added to `modules` list in the config. Prior to adding it to the list of modules, you'll need to check to see if there are other modules that are currently enabled. @@ -95,6 +100,7 @@ Now you'll need to remove `-s overlay` (or any other storage driver) from the Do $ sudo ros config set rancher.docker.storage_driver '' $ sudo ros config set rancher.docker.graph /zpool1/docker # After editing Docker daemon args, you'll need to start Docker +$ sudo system-docker stop docker $ sudo system-docker start docker ```