You are not logged in.
windows host name is office1 and 2 folder are shared. (example aaa, bbb)
When mounting one folder (aaa), there is no error.
$mount -t cifs //office1/aaa /mnt/aaa -o username.......
But I try bbb folder, it makes error..
$mount -t cifs //office1/bbb /mnt/bbb -o ......
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
dmesg is
[ 136.292122] CIFS: Attempting to mount //office1/bbb
[ 136.292156] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
[ 136.295015] CIFS VFS: cifs_read_super: get root inode failed
I don't understand that error message....
So I have to umount aaa folder and mount bbb folder when I need to mount bbb.
I found that gvfs-smb in pcmanfm can mount 2 folder same time.
but it has problem a write permission of libreoffice, so I prefer mount cifs.
Is it impossible to mount 2 folder sametime with mount cifs command ??
Last edited by queenmedley (2020-04-13 14:57:59)
- Queen Medley
Offline
Have you tried automounting via fstab or systemd?
The reason I ask is because I can't mount one of my shares (because of permission issues) manually. But works just fine as a systemd mount (and fstab as a fallback).
Offline
Hi!!!
Did you manage to find the solution? I just came back to Arch after a long time and I am struggling with this exact message (google search pointed me here).
Two different mounts from same server (two different hard disks actually, one SSD and the other one regular)
Tried every possible way, fstab, systemd, different options, read through wiki pages, man, everything, it is driving me nuts
[ 1213.709950] CIFS: Attempting to mount //htpc-i7.local/mecanico
[ 1213.709976] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
[ 1213.714509] CIFS VFS: cifs_read_super: get root inode failed
If someone would bring light or some directions to fix this I would be really grateful.
Thanks in advance and best regards!
Offline
Found it!!!
I kept googling and it seems a problem that's happening recently:
https://forum.manjaro.org/t/smb-automou … 5-3/107604
just pass as option "vers=2.1" and it just works.
Man I hate this happens so frequently in linux... things that should just work needs to tinker around just too much for the majority of users...
Well, happy fixing!
Regards,
Offline
Man I hate this happens so frequently in linux... things that should just work needs to tinker around just too much for the majority of users...
You should worry more about your server using options that are known to be insecure rather than your client being sensible...
Offline