ssh root@proxmox-2
mkdir /mnt/test
mount //nas/ProxmoxInstall /mnt/a -t cifs -o username=proxmox_user
Oct 4 14:07:47 proxmox-2 kernel: [ 219.336482] CIFS: Attempting to mount \\nas\ProxmoxInstall
Oct 4 14:07:47 proxmox-2 kernel: [ 219.360348] CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
Oct 4 14:07:47 proxmox-2 kernel: [ 219.360355] CIFS: VFS: \\nas Send error in SessSetup = -13
Oct 4 14:07:47 proxmox-2 kernel: [ 219.360389] CIFS: VFS: cifs_mount failed w/return code = -13
Oct 4 14:07:47 proxmox-2 kernel: [ 219.334459] FS-Cache: Netfs 'cifs' registered for caching
Oct 4 14:07:47 proxmox-2 kernel: [ 219.336231] Key type cifs.spnego registered
Oct 4 14:07:47 proxmox-2 kernel: [ 219.336243] Key type cifs.idmap registered
Oct 4 14:07:47 proxmox-2 kernel: [ 219.336480] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 d
ialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
Oct 4 14:07:47 proxmox-2 kernel: [ 219.336482] CIFS: Attempting to mount \\nas\ProxmoxInstall
Oct 4 14:07:47 proxmox-2 kernel: [ 219.360348] CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
Oct 4 14:07:47 proxmox-2 kernel: [ 219.360355] CIFS: VFS: \\nas Send error in SessSetup = -13
Oct 4 14:07:47 proxmox-2 kernel: [ 219.360389] CIFS: VFS: cifs_mount failed w/return code = -13
Oct 4 14:07:53 proxmox-2 pvestatd[899]: storage 'ProxmoxInstall' is not online
Oct 4 14:07:53 proxmox-2 pvestatd[899]: storage 'ProxmoxBackup' is not online
[ 219.334459] FS-Cache: Netfs 'cifs' registered for caching
[ 219.336231] Key type cifs.spnego registered
[ 219.336243] Key type cifs.idmap registered
[ 219.336480] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
[ 219.336482] CIFS: Attempting to mount \\nas\ProxmoxInstall
[ 219.360348] CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
[ 219.360355] CIFS: VFS: \\nas Send error in SessSetup = -13
[ 219.360389] CIFS: VFS: cifs_mount failed w/return code = -13
yeah that difference in kernel version is probably the reason (see the error message about smb version)Should I upgrade the first node? However, that's the one which is working![]()
no thats currently not exposed in the web ui, you have to use the cli tool 'pvesm' or edit the config directly (/etc/pve/storage.cfg) the docs give an example for thatThe Help button suggests there should be a SMB version field but I don't see one in the Edit window:
thats basically what we do in the storage plugin https://git.proxmox.com/?p=pve-stor...025957dc6791c05d29b1;hb=refs/heads/master#l72mount //192.168.x.x/ProxmoxBackup /mnt/x -t cifs -o username=user
i'd check the syslog dmesg again and see what parameters were given@dcsapak Any idea how can I debug the inactive CIFS shares?
31 sub cifs_cred_file_name {
32 my ($storeid) = @_;
33 return "/etc/pve/priv/storage/${storeid}.pw";
34 }
yes, and that is not a supported configuration, both nodes must be the same major version at least, except during an upgrade (ideally also minor version, but differences there should mostly work, at least short term)What I suspect is that maybe because my node-1 is PVE 6.4.9 but node-2 is PVE 7.0 then it means that the directory structure has changed but the cluster filesystem plugin does not reflect to that so the directory structure that's working on one node doesn't work on the other? Is that possible?
We use essential cookies to make this site work, and optional cookies to enhance your experience.