[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trouble mounting cifs share
From: |
Franz Geffke |
Subject: |
Trouble mounting cifs share |
Date: |
Thu, 30 Nov 2023 17:22:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 |
I'm having trouble mounting cifs; Initially I thought it's a network issue of
some sort, but it happens on a number of systems and I assume the Hetzner
Storagebox is OK (as in, configured correctly):
- 2x 6.6.2-gnu Guix: Failed
- 1x 6.1.0-13 Debian: Failed
- 1x 5.10.0-21 Debian: Success
Here's what I'm trying (always as root):
```
mount.cifs -o user=abc,pass=abc //abc.your-storagebox.de/backup /mnt/storage-box
```
SUCCESS:
```
[22217175.369726] FS-Cache: Loaded
[22217175.370661] Key type dns_resolver registered
[22217175.425899] FS-Cache: Netfs 'cifs' registered for caching
[22217175.428484] Key type cifs.spnego registered
[22217175.428593] Key type cifs.idmap registered
[22217175.428940] CIFS: Attempting to mount //abc.your-storagebox.de/backup
[22217175.429066] 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.
```
FAILURE:
```
mount.cifs -o user=abc,pass=abc //abc.your-storagebox.de/backup /mnt/storage-box
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log
messages (dmesg)
```
dmesg first run:
```
[ 47.720337] FS-Cache: Loaded
[ 47.832455] Key type cifs.spnego registered
[ 47.832480] Key type cifs.idmap registered
[ 47.833652] 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.
[ 47.833657] CIFS: Attempting to mount //u379354.your-storagebox.de/backup
[ 47.834369] CIFS: VFS: cifs_mount failed w/return code = -2
```
dmesg second run:
```
[84327.549100] CIFS: Attempting to mount //abc.your-storagebox.de/backup
[84327.549388] CIFS: VFS: cifs_mount failed w/return code = -2
```
third one, directly after 2nd:
```
mount.cifs -o user=abc,pass=abc //abc.your-storagebox.de/backup /mnt/storage-box
mount error(126): Required key not available
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log
messages (dmesg)
```
dmesg third run:
```
[84355.299014] CIFS: Attempting to mount //abc.your-storagebox.de/backup
[84355.299032] CIFS: VFS: cifs_mount failed w/return code = -126
```
Am I missing something? Thank you.
OpenPGP_0xC14A57E173807169.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Trouble mounting cifs share,
Franz Geffke <=