Use command to add CIFS
1.When the shared directory has only one folder, execute this command, you can add it normally
--share xxx
command:
pvesm add cifs test --server <serverIP> --share xxx --username <user> --password <password> --smbversion 2.1
2.When there are subdirectories under the shared parent directory, execute this command, you cannot add them normally
--share xxx1/xxx2
command:
pvesm add cifs test --server <serverIP> --share xxx1/xxx2 --username <user> --password <password> --smbversion 2.1
Regarding the second point, what should I do to add it normally?
1.When the shared directory has only one folder, execute this command, you can add it normally
--share xxx
command:
pvesm add cifs test --server <serverIP> --share xxx --username <user> --password <password> --smbversion 2.1
2.When there are subdirectories under the shared parent directory, execute this command, you cannot add them normally
--share xxx1/xxx2
command:
pvesm add cifs test --server <serverIP> --share xxx1/xxx2 --username <user> --password <password> --smbversion 2.1
Regarding the second point, what should I do to add it normally?