Closed arm64b closed 6 years ago
Today I tried to test the csi-nfs as a storage plugin, according to the README.md document, seem below csc command is out of date:
csi-nfs
csc
$ csc gets 0.0.0 $ csc getp -version 0.0.0 csi-nfs 0.1.0 $ csc cget -version 0.0.0 LIST_VOLUMES $ showmount -e 192.168.75.2 Exports list on 192.168.75.2: /data 192.168.75.1 $ mkdir /mnt/test $ csc mnt -version 0.0.0 -targetPath /mnt/test -mode 1 host=192.168.75.2 export=/data $ ls -al /mnt/test total 1 drwxr-xr-x 2 root wheel 18 Jul 22 20:25 . drwxrwxrwt 85 root wheel 2890 Aug 17 15:32 .. -rw-r--r-- 1 root wheel 0 Jul 22 20:25 test $ csc umount -version 0.0.0 -targetPath /mnt/test host=192.168.75.2 export=/data $ ls -al /tmp/mnt total 0 drwxr-xr-x 2 travis wheel 68 Aug 16 15:01 . drwxrwxrwt 85 root wheel 2890 Aug 17 15:32 ..
The output of the csc in my system is:
# csc NAME csc -- a command line container storage interface (CSI) client SYNOPSIS csc [flags] CMD AVAILABLE COMMANDS controller identity node Use "csc -h,--help" for more information
Today I tried to test the
csi-nfs
as a storage plugin, according to the README.md document, seem belowcsc
command is out of date:The output of the
csc
in my system is: