Using the files-share resource command, you can add file sharing resources.
Using the undo files-share resource command, you can delete file sharing resources.
files-share resource { nfs | smb } resource-alias resource-path [ resource-description ]
undo files-share resource resource-alias
| Parameter | Description | Value |
|---|---|---|
| nfs | Specifies the Network File System (NFS) as the file sharing protocol. | - |
| smb | Specifies the Server Message Block (SMB) as the file sharing protocol. | - |
| resource-alias | Specifies the alias of resources. | The value is a string of 1 to 31 case-sensitive characters. In dual-system hot backup networking, "%" cannot be included. |
| resource-path | Specifies the path of resources, including host
IP addresses/host names, and sharing paths.
|
The value is a string of 1 to 122 characters. For example: //10.2.3.4/path1/path2.The SMB resource path is case insensitive; the NFS resource path is case sensitive. |
| resource-description | Specifies the description of resources. | The value is a string of 1 to 55 case-sensitive characters. |