chore(doc): add caution notice while running cStor along with kernel zfs (#390)

Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
This commit is contained in:
sai chaithanya 2021-10-04 15:35:51 +05:30 committed by GitHub
parent a26b5efbd5
commit 0ef2444eea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -393,6 +393,19 @@ $ kubectl delete -f pvc.yaml
persistentvolumeclaim "csi-zfspv" deleted persistentvolumeclaim "csi-zfspv" deleted
``` ```
<h2 style="color:red;"> CAUTION: </h2>
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 <pool dataset name>).
Note: Following above two step kernel ZFS will not import the pools created by cStor
Features Features
--- ---