Skip to content

Commit

Permalink
chore(doc): updating docs for importing existing volumes (#422)
Browse files Browse the repository at this point in the history
Signed-off-by: Pawan <[email protected]>
  • Loading branch information
pawanpraka1 authored Jul 14, 2022
1 parent ff097c0 commit 8d2a24e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/import-existing-volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ zfspv-pool 11.6M 246G 20K /zfspv-pool
zfspv-pool/fio-vol 24K 4.00G 24K /zfspv-pool/fio-vol
```

Here in the above ZPOOL, a dataset of name "fio-vol" is present and we want to import that to the ZFS-LocalPV CSI driver. First if volume is mounted then we have to unmount it so that it can be mounted by ZFS-LocalPV driver. For ZFS dataset use `zfs umount` command and for zvol we use `umount` command to unmount the volume
Here in the above ZPOOL, a dataset of name "fio-vol" is present and we want to import that to the ZFS-LocalPV CSI driver. First if volume is mounted then we have to unmount it so that it can be mounted by ZFS-LocalPV driver. For ZFS dataset use `zfs umount` command and for zvol we use `umount` command to unmount the volume. We also need to set the mount point for datasets to legacy, we can use `zfs set mountpoint=legacy <dataset>` command for that.

Get the volume size :

Expand Down

0 comments on commit 8d2a24e

Please sign in to comment.