unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Trouble mounting cifs share
@ 2023-11-30 17:22 Franz Geffke
  2024-01-12 11:55 ` Simon Tournier
  0 siblings, 1 reply; 4+ messages in thread
From: Franz Geffke @ 2023-11-30 17:22 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 2586 bytes --]

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.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2493 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trouble mounting cifs share
  2023-11-30 17:22 Trouble mounting cifs share Franz Geffke
@ 2024-01-12 11:55 ` Simon Tournier
  2024-01-15 10:30   ` Efraim Flashner
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Tournier @ 2024-01-12 11:55 UTC (permalink / raw)
  To: Franz Geffke, help-guix

Hi,

Sorry for the late reply.

On Thu, 30 Nov 2023 at 17:22, Franz Geffke <franz@dkkma.com> wrote:
> 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

Sorry for this naive question, these numbers are the version of package,
right?

Cheers,
simon


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trouble mounting cifs share
  2024-01-12 11:55 ` Simon Tournier
@ 2024-01-15 10:30   ` Efraim Flashner
  2024-01-16  9:35     ` Reza Housseini
  0 siblings, 1 reply; 4+ messages in thread
From: Efraim Flashner @ 2024-01-15 10:30 UTC (permalink / raw)
  To: Simon Tournier; +Cc: Franz Geffke, help-guix

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

On Fri, Jan 12, 2024 at 12:55:11PM +0100, Simon Tournier wrote:
> Hi,
> 
> Sorry for the late reply.
> 
> On Thu, 30 Nov 2023 at 17:22, Franz Geffke <franz@dkkma.com> wrote:
> > 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
> 
> Sorry for this naive question, these numbers are the version of package,
> right?

They look like kernel versions to me.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trouble mounting cifs share
  2024-01-15 10:30   ` Efraim Flashner
@ 2024-01-16  9:35     ` Reza Housseini
  0 siblings, 0 replies; 4+ messages in thread
From: Reza Housseini @ 2024-01-16  9:35 UTC (permalink / raw)
  To: help-guix

My cifs mounts with automount are also broken since a while with a 
similar error: No such file or directory. This was working find until 
some weeks ago. I assumed it was my fault but your message hints that 
some package(s) changes have introduced this behavior.
I'm using gio [1] as a workaround which works fine.

Best, Reza

[1] https://developer-old.gnome.org/gio/stable/gio.html

-- 
Reza Housseini

This message is signed with my GnuPG key:

     C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-16  9:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-30 17:22 Trouble mounting cifs share Franz Geffke
2024-01-12 11:55 ` Simon Tournier
2024-01-15 10:30   ` Efraim Flashner
2024-01-16  9:35     ` Reza Housseini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).