Skip to main content
NetApp virtualization solutions

Configure SMB/CIFS storage for Proxmox VE

Contributors netapp-jsnyder sureshthoppay

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.

Note Passwords are saved in clear text files and are accessible only to the root user. Refer to Proxmox VE documentation.
SMB shared storage pool with ONTAP

Storage administrator tasks

If you are new to ONTAP, use System Manager Interface to complete these tasks.

  1. Enable the SVM for SMB. Follow ONTAP 9 documentation for more information.

  2. 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

    nas interface details

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

    Show example

    Join domain info

  4. 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

    FlexGroup option

  5. Create an SMB share and adjust permissions. Follow ONTAP 9 documentation for more information.

    Show example

    SMB share info

  6. 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.

  1. Collect the SMB server, share name, and credentials for share authentication.

  2. Ensure at least two interfaces are configured in different VLANs for fault tolerance. Verify the NIC supports RSS.

  3. Using the Management UI at https:<proxmox-node>:8006, click Datacenter, select Storage, click Add, and select SMB/CIFS.

    Show example

    SMB storage navigation

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

    Show example

    SMB storage addition

  5. 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=16
    Show example

    multichannel setup

  6. The following shows the content in /etc/pve/storage.cfg for the configured storage:

    Show example

    storage configuration file for SMB