Jump to content

Having difficulty mounting an CIFS/SMB share correctly on Manjaro Linux

I'm in a situation where I need to mount a share on an off-the-shelf consumer NAS device. The only protocol it supports is CIFS (aka SMB1) - which was already outdated 5-10 years before this device was built, so I've no idea why they used that, but I digress.

 

This outdatedness makes it a bit of a pain to mount from both Windows and Linux, but this specific question concerns Manjaro Linux.

 

I added it to fstab as follows. Imagine device is the hostname of the NAS device, and "me" is both the name of the share and my username on the device. 

//device.local/me /media/me/ME_ON_DEVICE cifs username=me,vers=1.0,noauto,rw,users,_netdev 0

 

I should now be able to execute "mount /media/me/ME_ON_DEVICE", enter my password and have access to the share.

Initially this appears to work - I can list the files on the share and read individual files off it. The problem comes when I try to copy multiple files from the share to my Documents folder.


- In Nemo (a graphical file manager), it gets stuck showing a certain percentage copied and the cancel button does nothing when clicked
- In Thunar (another graphical file manager), it gets stuck showing "Collecting Files" and the cancel button doesn't work
- Using `cp` from the command line, it happily copies some files and then just hangs

 

I've tried adding UID and GID properties to the fstab entry and it made no difference. I tried booting from a different kernel version and it didn't solve the issue (though interestingly it did cause it to get stuck at *different* files to on the original one). I also tried connecting by entering "smb://device.local/me" into the address bar of Nemo and Thunar - it asks for my password and then never accepts it even if it is entered correctly.

 

Any ideas what's going on?

____________________________________________________________________________________________________________________________________

 

 

____________________________________________________________________________________________________________________________________

pythonmegapixel

into tech, public transport and architecture // amateur programmer // youtuber // beginner photographer

Thanks for reading all this by the way!

By the way, my desktop is a docked laptop. Get over it, No seriously, I have an exterrnal monitor, keyboard, mouse, headset, ethernet and cooling fans all connected. Using it feels no different to a desktop, it works for several hours if the power goes out, and disconnecting just a few cables gives me something I can take on the go. There's enough power for all games I play and it even copes with basic (and some not-so-basic) video editing. Give it a go - you might just love it.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×