Adding SMB / CIFS storage in Proxmox gives ' create storage failed: mkdir/pve/ddfw/images: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1374. (500) '

  • Adding SMB / CIFS storage in Proxmox gives ' create storage failed: mkdir/pve/ddfw/images: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 1374. (500) '


    Despite having read and write permission with the proper user, that error pops up when adding an SMB storage.

  • Solution -


    This issue is happening as the Proxmox wants a writing privilege to every share folder, Make sure that READ/ WRITE access is given in 2 places in OMV

    1. Users (2nd from last in the image)

    2. Shared folders. (underlined)

    (Group permissions are not necessary, just give user permissions (the blue key icon) & ACL(the blue checkbox icon))


    h5eFpTTjDbC9Zj-HrvXAtBy6qk70aKj0lY1SzkDvOfLaQmEo3BQl8Hwkg5FC6HHXh9wB96p2CZt8XW3At2EJBvtDcVis5--XZ5CQzjEqvex5KRurLpYaetwB8Le_VhPY15CKoRLkkXpY5nqXOn7v7mk




    Finally, Go to Services >> SMB/CIFS >> Shares >> select the appropriate share & edit >>> Tick the DOS attributes >> save (Scroll down) >>> confirm changes in Yellow bar (appearing at the top).


    w0NTNd5FeEmuXc6G2ya0T_MafYy_LkNinnhBYC8ZnX7zrWJ8Wia3-XapJUouDwbicf3mobCZlDfsv-zibnMAnR0jPLyBEZnaX46HE_m1d__INilYcT-gWBuYzYbcb4A8E9KsFDr9g3lZlOJS6FNCIOg

    bwqhDaEQvrRwtUU0vwLNXZTeistM57huwcfpqDNIleElpNh1_6cUjQmCAJg-wfBpVq1jWws0z_fbtTrDBKA-TxiZ2wvH4wuP2UVxWqYgk5zxxS-ILml9sLHiWNXruBGw2Z0MdfKEJP-eXZHfrIeeWKw




    Finally, retry adding storage in proxmox. No error should occur.



    Tips:

    In proxmox sub folders can not be assigned from shares so it is advised to create a separate share in OMV and then grab from Prox.


    - To add network shares to your VM/ container, use this command in prox shell-

    - pct set 301 --mp1 /mnt/pve/nas,mp=/mnt/media

    - Coloured sections are only to be changed

    - 301 is the VM/CT number (use yours)

    - (--mp1) = mount point, use different numbers like mp0, mp2, mp3 if you have multiple shares in same VM/CT, otherwise new one will remove older.

    - use df -h command to know grabbed share mount location and put that into (/mnt/pve/nas)       

    - (mp=) mount point of VM/CT (recommending not changing, as in linux media directory is the default mounting location of external storage.)


    Edited 6 times, last by neail: Added images for better assistance. ().

  • KM0201

    Approved the thread.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!