From 0ef2444eea65e449e274fe985fc2af4e9d659e3c Mon Sep 17 00:00:00 2001 From: sai chaithanya Date: Mon, 4 Oct 2021 15:35:51 +0530 Subject: [PATCH] chore(doc): add caution notice while running cStor along with kernel zfs (#390) Signed-off-by: mittachaitu --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 6560bf6..565f59a 100644 --- a/README.md +++ b/README.md @@ -393,6 +393,19 @@ $ kubectl delete -f pvc.yaml persistentvolumeclaim "csi-zfspv" deleted ``` +

CAUTION:

+ +Follow below practice while running kernel ZFS along with cStor on the same set of nodes +- Disable zfs-import-scan.service service that will avoid importing all pools by scanning all the available devices in the system, disabling scan service will avoid importing pools that are not created by kernel. Disabling scan service will not cause harm since zfs-import-cache.service is enabled and it is the best way to import pools by looking at cache file during boot time. +```sh +sudo systemctl stop zfs-import-scan.service +sudo systemctl disable zfs-import-scan.service +``` +- Always maintain upto date /etc/zfs/zpool.cache while performing operations any day2 operations on zfs pools(zpool set cachefile=/etc/zfs/zpool.cache ). + +Note: Following above two step kernel ZFS will not import the pools created by cStor + + Features ---