SMB Storage not possible with IPv6 in brackets []

streetcy

New Member
Nov 7, 2024
2
0
1
Heyho
If I try to add an SMB Storage with IPv6 via WebUI I get the error:

Code:
create storage failed: mount error: mount error: could not resolve address for [2a01:XXXX:XXXX:XXXX:XXXX:1:0:2]: Unknown error (500)

I think the problem is here that proxmox adding the brackets here which are not supported.

Code:
root@XXXX:~# mount.cifs //[2a01:XXXX:XXXX:XXXX:XXXX:1:0:2]/proxmox test
mount error: could not resolve address for [2a01:XXXX:XXXX:XXXX:XXXX:1:0:2]: Unknown error

root@XXXX:~# mount.cifs //2a01:XXXX:XXXX:XXXX:XXXX:1:0:2/proxmox test
Password for root@//2a01:XXXX:XXXX:XXXX:XXXX:1:0:2/proxmox:

Is there a workaround for this problem?

Greetings
Cy
 
Last edited:
My workaround for the moment:
I added a AAAA nameserver entry to a subdomain v6.smb.storage.domain.com with the IPv6 and used this one for proxmox.

But I still think this is a bug :D
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!