sudo mount -t cifs -o user=aahmad //asifs-mac-mini.local/asifs%20hd /mnt/
Password for aahmad@//asifs-mac-mini.local/asifs%20hd:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
In your log, can you see what the invalid argument was? journalctl -b | grep CIFS should show entries with “CIFS” from your current boot, for example. It may possibly be the lack of version specified (vers=), but your log should show what the issue is.
@NGr - this worked perfectly! So, I am now able to mount my media drive and BOTH VLC and MPV are now able to play videos correctly. So, I guess does this mean whatever mechanism Gnome Files Utility does mounting, does NOT work correctly OOTB?
At this point, what’s the proper way to auto mount my server? I did some reading on modifying the fstab config here:
But I am unable to get things working for some reason. Any help you could provide would be greatly appreciated!
So, is there a trick here for getting my normal user (who should be an admin) to get this to work without sudo? Essentially, so it mounts correctly on boot using fstab?
Reading about this, it appears you can add _netdev to the options sections of your fstab line, this is supposed to prevent the system from attempting to mount this filesystem until the network is up.
Another way around it would be to make a script with sudo mount -a and have that run after a period of time after booting.
Also, I caught the following when I restarted during boot-up time:
I’m not 100% sure if it’s a timing issue with wifi, but it seems like it’s a permission issue from the above screenshot? Is there a verbose log or some additional debug logging I can turn on to get more details?
I believe the Dependency failed for Remote File System can still mean that the network wasn’t up before the mount was attempted. If typing sudo mount -a causes the drive to be mounted then the line in the fstab is correct.
You might be better off reading about systemd mount, I think there is a How To on this forum.
Hello. Thanks for answering.
What I mean by what Garuda does and Manjaro doesn’t, is because I want Manjaro to do it just as easy and uncomplicated. In Garuda I just run Dolphin, I scan my network to get to the NAS and I double click on the desired video and it starts playing with VLC without any problems. This is also achieved from the VLC itself. With Manjaro I only get an error message concerning the SMB that I still don’t know how to solve. To tell the truth, I’m more interested in using Manjaro. I want to switch from Windows 10 to this system, but first I’m trying to get everything that interests me to work. The VLC error message is the following, how do I solve it, what should I install?