Wpis z mikrobloga

#webmin #samba #linux

" Failed to save mount : Mount failed : mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) "

Dostaje taki o to komunikat. Jak zamontować w webmin smb 1? Bo mam starego nasa, a mój #asus też nie wspiera czegoś więcej niż smb 1

#linksys nas 200 - model nasa

#hp prodesk 600 g3 mini - model serwera na #debian ( do którego chce podmontować nasa )
  • 13
  • Odpowiedz
  • 0
Attempting to mount \192.168.2.19\muzyka
[12590.300832] CIFS: VFS: cifsmount failed w/return code = -112
[12599.574969] Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers

[12599.574974] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
[12599.574979] CIFS: Attempting to mount \192.168.2.19\muzyka
[12604.663934] CIFS: VFS: cifs
mount failed w/return code = -22
[12616.847059] CIFS:
  • Odpowiedz
  • 0
@Kryspin013:
mount -t cifs -o username=login,password=haslo,ver=1 //192.168.2.19/ /media/smb1-nas

wywala:

mount error: Server abruptly closed the connection.
This can happen if the server does not support the SMB version you are trying to use.
The default SMB version recently changed from SMB1 to SMB2.1 and above. Try mounting with vers=1.0.
mount error(112): Host is down

Coś chyba z tym nasem jest nie tak
  • Odpowiedz
  • 0
client max protocol = SMB3


@keep_it_real: [25717.974404] CIFS: Attempting to mount \192.168.2.19\muzyka
[25718.635783] CIFS: VFS: cifs_mount failed w/return code = -112

Nie zadziałało, normalnie z kompa na windowsie działa, nasa też da się pingąć. Nas ds220+, bez problemu się pod cifs podpiął z tego linksysa nas 200, tylko debian nie chce
  • Odpowiedz
  • 0
@piotrek2555: [ 1421.586981] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
[ 1421.586986] CIFS: Attempting to mount \192.168.2.19\
[ 1421.777524] CIFS: VFS: cifs_mount failed w/return code = -22
  • Odpowiedz
@piotrek2555:

CIFS / SMB1.0 is used in Windows 2000, Windows XP, Windows Server 2003 and Windows Server 2002 R2. Its redesign to SMB 2.0 has increased the scale of sharing files, boosting performance for compounding request, enhancing larger reads and writes, has become more secure and robust in case of small command setting and that its signature uses HMACSHA-256 instead of MD5. Since the change was radical and Microsoft had to
  • Odpowiedz