piotrek2555
#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 )
  • Najlepsze
  • Wszystkie komentarze
K.....3
K.....3
and kernel log messages (dmesg) "


@piotrek2555: najpierw to sprawdź jaki masz błąd, masz nawet podane gdzie xD
piotrek2555
piotrek2555 Autor
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
piotrek2555
piotrek2555 Autor
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
walenty-merkel
@piotrek2555: protokół
keep_it_real
@piotrek2555: w etc/samba/smb.conf dopisz dwie linie:

client min protocol = CORE
client max protocol = SMB3

i powinno działać :)
amamoh
@keep_it_real: Na serwerze w smb.conf [Global]
server min protocol=NT1
keep_it_real
@amamoh: mam starego Cloud Box LaCie i działa dokładnie w ten sposób jaki napisałem wyżej
piotrek2555
piotrek2555 Autor
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
piotrek2555
piotrek2555 Autor
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
keep_it_real
@piotrek2555: ale dlaczego koniecznie chcesz używać cifs? nie lepiej staroszkolne smb?
piotrek2555
piotrek2555 Autor
0
@keep_it_real: a cifs to nie czasem to samo co smb ( samba)?
amamoh
@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