Configure SMB/CIFS storage for Proxmox VE
Configure SMB/CIFS storage for Proxmox Virtual Environment (VE) using NetApp ONTAP. SMB multichannel provides fault tolerance and boosts performance with multiple network connections to the storage system.
SMB/CIFS file shares require configuration tasks by both storage and virtualization administrators. For more details, refer to TR4740 - SMB 3.0 Multichannel.
|
|
Passwords are saved in clear text files and are accessible only to the root user. Refer to Proxmox VE documentation. |
Storage administrator tasks
If you are new to ONTAP, use System Manager Interface to complete these tasks.
-
Enable the SVM for SMB. Follow ONTAP 9 documentation for more information.
-
Create at least two LIFs per controller. Follow the steps from the documentation. For reference, here is a screenshot of LIFs used in this solution.
Show example

-
Configure Active Directory or workgroup-based authentication. Follow the steps from the documentation.
Show example

-
Create a volume. Check the option to distribute data across the cluster to use FlexGroup. Ensure Anti-Ransomware protection is enabled on the volume.
Show example

-
Create an SMB share and adjust permissions. Follow ONTAP 9 documentation for more information.
Show example

-
Provide the SMB server, share name, and credentials to the virtualization administrator.
Virtualization administrator tasks
Complete these tasks to add the SMB share as storage in Proxmox VE and enable multichannel for improved performance and fault tolerance.
-
Collect the SMB server, share name, and credentials for share authentication.
-
Ensure at least two interfaces are configured in different VLANs for fault tolerance. Verify the NIC supports RSS.
-
Using the Management UI at
https:<proxmox-node>:8006, click Datacenter, select Storage, click Add, and select SMB/CIFS.Show example

-
Enter the details. The share name should auto-populate. Select all content types, and click Add.
Show example

-
To enable the multichannel option, open a shell on any cluster node and run the following command, where
<storage id>is the storage ID created in the previous step:pvesm set <storage id> --options multichannel,max_channels=16Show example

-
The following shows the content in /etc/pve/storage.cfg for the configured storage:
Show example
