unable to make SMB work with a nas [SOLVED WITH NFS]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
unable to make SMB work with a nas [SOLVED WITH NFS]
hello
I am new to linux mint. I used to have ubuntu for 3 years now. But I am a newbee.
System Information
Manufacturer: LENOVO
Product Name: 80X4
Version: Lenovo ideapad 320S-14IKB
My config
NAME="Linux Mint"
VERSION="19 (Tara)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19"
VERSION_ID="19"
VERSION_CODENAME=tara
UBUNTU_CODENAME=bionic
My problem :
I have a synology NAS which I access using samba.
The issue is that I can see the NAS folders, I can create a file on the NAS, I can copy a file from another, but only ONCE. I can't modify file a file.
For instance, I can copy the file toto.txt using ctrl-C and ctrl-V. But then I can't change the name of the file I have created, nor the content of this file. This is very strange for me.
I access the NAS, connected as admin with another laptop using ubuntu 16.04, with several android phones and tablets. I don't have this issue. I tested with my work laptop whicn runs on windows 10, it works too.
When I do a LS on a NAS directory I see that all the files have -rwx------
I understand that it means that the owner has Read Write and Execute permission. I connect to the NAS using the admin login and password. So that I should be the owner ? And I don't understand why It works on every phone and tablet and pc and not in my new laptop.
Any clue ?
thanks
I am new to linux mint. I used to have ubuntu for 3 years now. But I am a newbee.
System Information
Manufacturer: LENOVO
Product Name: 80X4
Version: Lenovo ideapad 320S-14IKB
My config
NAME="Linux Mint"
VERSION="19 (Tara)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19"
VERSION_ID="19"
VERSION_CODENAME=tara
UBUNTU_CODENAME=bionic
My problem :
I have a synology NAS which I access using samba.
The issue is that I can see the NAS folders, I can create a file on the NAS, I can copy a file from another, but only ONCE. I can't modify file a file.
For instance, I can copy the file toto.txt using ctrl-C and ctrl-V. But then I can't change the name of the file I have created, nor the content of this file. This is very strange for me.
I access the NAS, connected as admin with another laptop using ubuntu 16.04, with several android phones and tablets. I don't have this issue. I tested with my work laptop whicn runs on windows 10, it works too.
When I do a LS on a NAS directory I see that all the files have -rwx------
I understand that it means that the owner has Read Write and Execute permission. I connect to the NAS using the admin login and password. So that I should be the owner ? And I don't understand why It works on every phone and tablet and pc and not in my new laptop.
Any clue ?
thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: unable to work with a nas
How are you mounting the NAS? What filesystem is it using?
Re: unable to work with a nas
hello
thanks for your reply.
I use NEMO 3.8.6 as an explorer. There is a built in Network menu, I click and he shows me the NAS and another share I have.
I appears this way in the address bar : smb://ds-MYNAS/ ...
I have a single volume with RAID1 in ext4 on the synology.
I tried this also :
1. My other share on the network is a Raspberry which I access like this :
sftp://openelec.local/... or smb://openelec.local/...
On each address, I can do whatever I want on this share (copy, delete, move, ...).
2. I tried with ubuntu 18.04 on my lenovo and I have the same issue as with linux mint.
3. And my other laptop with ubuntu 16.04 can still access and to copy delete, move on the nas, as my android devices do.
thanks
-a
thanks for your reply.
I use NEMO 3.8.6 as an explorer. There is a built in Network menu, I click and he shows me the NAS and another share I have.
I appears this way in the address bar : smb://ds-MYNAS/ ...
I have a single volume with RAID1 in ext4 on the synology.
I tried this also :
1. My other share on the network is a Raspberry which I access like this :
sftp://openelec.local/... or smb://openelec.local/...
On each address, I can do whatever I want on this share (copy, delete, move, ...).
2. I tried with ubuntu 18.04 on my lenovo and I have the same issue as with linux mint.
3. And my other laptop with ubuntu 16.04 can still access and to copy delete, move on the nas, as my android devices do.
thanks
-a
Re: unable to work with a nas
It makes sense that Ubuntu 18.04 would have the same issue as it's the foundation of Mint 19. What doesn't make sense is that Ubuntu 16.04 works as advertised. Can you run the following on both systems and post the results here? Something tells me the share is not being mounted the same way on both systems.
Code: Select all
ls -l #from the samba mount
mount | grep cifs
Re: unable to work with a nas
hello
here they are :
From the levono with mint 19 :
antoine@LV-toniofab:/run/user/1000/gvfs/smb-share:server=ds-toniofab.local,share=data$ ls -l
total 0
drwx------ 1 antoine antoine 0 sept. 6 00:51 An
drwx------ 1 antoine antoine 0 sept. 17 22:20 Co
drwx------ 1 antoine antoine 0 juil. 8 12:47 Di
drwx------ 1 antoine antoine 0 janv. 6 2018 Sy
but the mount | grep cifs does not do anything. Nothing happens when I hit Return, except another command line.
But when I do it in the hp with linux 16.04 i get something
antoine@hp-dv7-antoine:/run/user/1000/gvfs/smb-share:server=ds-toniofab.local,share=data$ ls -l
total 0
drwx------ 1 antoine antoine 0 sept. 6 00:51 An
drwx------ 1 antoine antoine 0 sept. 17 22:20 Co
drwx------ 1 antoine antoine 0 juil. 8 12:47 Di
drwx------ 1 antoine antoine 0 janv. 6 2018 Sy
mount | grep cifs
antoine@hp-dv7-antoine:/run/user/1000/gvfs/smb-share:server=ds-toniofab.local,share=data$
So there is something happening here !!
many thanks for your help !
-a
here they are :
From the levono with mint 19 :
antoine@LV-toniofab:/run/user/1000/gvfs/smb-share:server=ds-toniofab.local,share=data$ ls -l
total 0
drwx------ 1 antoine antoine 0 sept. 6 00:51 An
drwx------ 1 antoine antoine 0 sept. 17 22:20 Co
drwx------ 1 antoine antoine 0 juil. 8 12:47 Di
drwx------ 1 antoine antoine 0 janv. 6 2018 Sy
but the mount | grep cifs does not do anything. Nothing happens when I hit Return, except another command line.
But when I do it in the hp with linux 16.04 i get something
antoine@hp-dv7-antoine:/run/user/1000/gvfs/smb-share:server=ds-toniofab.local,share=data$ ls -l
total 0
drwx------ 1 antoine antoine 0 sept. 6 00:51 An
drwx------ 1 antoine antoine 0 sept. 17 22:20 Co
drwx------ 1 antoine antoine 0 juil. 8 12:47 Di
drwx------ 1 antoine antoine 0 janv. 6 2018 Sy
mount | grep cifs
antoine@hp-dv7-antoine:/run/user/1000/gvfs/smb-share:server=ds-toniofab.local,share=data$
So there is something happening here !!
many thanks for your help !
-a
Re: unable to work with a nas
erratum
indeed, nothing happens when I run mount | grep cifs ON BOTH computers. It was a mistake from me.
indeed, nothing happens when I run mount | grep cifs ON BOTH computers. It was a mistake from me.
Re: unable to work with a nas
OK, this is getting more interesting. You said "login as admin" - so you have full access to the NAS? Can you give me the model #? The Synology site talks about SMB and NFS access to the NAS; maybe switching to NFS would solve the problem. I use it with my test VMs to attach to my external HDD on my main Mint 19 system.
Re: unable to work with a nas
I've got a 216J and have no problems accessing it for read/write. Access via nemo with
Code: Select all
smb://diskstation.local/home/
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: unable to work with a nas
hello
I access it with nemo
smb://ds-toniofab.local/data/
I can see the files, copy new files , but not modify.
?
I access it with nemo
smb://ds-toniofab.local/data/
I can see the files, copy new files , but not modify.
?
Re: unable to work with a nas
i have a DS214 Play.
I activated nfs but can't access
I tryed this
$ sudo mount -t nfs ds-toniofab:/data Data
mount.nfs: Connection timed out
where Data is a directory I ran to get the share mounted.
So I don't know what to do !!!
thanks for your help
-a
I activated nfs but can't access
I tryed this
$ sudo mount -t nfs ds-toniofab:/data Data
mount.nfs: Connection timed out
where Data is a directory I ran to get the share mounted.
So I don't know what to do !!!
thanks for your help
-a
Re: unable to work with a nas
What doestoitoine51 wrote: ⤴Sat Sep 22, 2018 10:35 am i have a DS214 Play.
I activated nfs but can't access
I tryed this
$ sudo mount -t nfs ds-toniofab:/data Data
mount.nfs: Connection timed out
where Data is a directory I ran to get the share mounted.
So I don't know what to do !!!
thanks for your help
-a
showmount -e ds-toniofab
show?Re: unable to work with a nas
When I do this, I wait and I get this after 1mnajgringo619 wrote: ⤴Sat Sep 22, 2018 12:08 pmWhat doestoitoine51 wrote: ⤴Sat Sep 22, 2018 10:35 am i have a DS214 Play.
I activated nfs but can't access
I tryed this
$ sudo mount -t nfs ds-toniofab:/data Data
mount.nfs: Connection timed out
where Data is a directory I ran to get the share mounted.
So I don't know what to do !!!
thanks for your help
-ashowmount -e ds-toniofab
show?
clnt_create: RPC: Port mapper failure - Timed out
On the terminal server, I get the NAS mount with this path
/run/user/1000/gvfs/smb-share:server=ds-toniofab.local,share=data
Maybe the easiest way is to use NFS instead of SMB. I tried to do some tutorials but I did not succeed.
thanks for you help !
Re: unable to work with a nas
This most likely means that NFS is not configured properly or running on the NAS. How did you activate NFS?
What does
What does
rpcinfo -p ds-toniofab
show?Re: unable to work with a nas
antoine@LV-toniofab:~$ showmount -e ds-toniofabajgringo619 wrote: ⤴Sat Sep 22, 2018 12:35 pm This most likely means that NFS is not configured properly or running on the NAS. How did you activate NFS?
What doesrpcinfo -p ds-toniofab
show?
clnt_create: RPC: Port mapper failure - Timed out
antoine@LV-toniofab:~$ rpcinfo -p ds-toniofab
ds-toniofab: RPC: Port mapper failure - Timed out
What I don't understand is that none of the commands given by the community does anything on my computer !! except ls-l ?
And how come I can see the NAS, create new files, duplicate files, but not modify ??? And how come everything works fine from others devices (windwos, ubuntu 16, 6 android devices) ??
I activated the NFS in the nas in the file service. There is smb, nfs and afp.
Smb was activated. I activated NFS clicking the box which says "activate NFS".
Do you have a noob tutorial for this ?
thanks
Re: unable to work with a nas
All of these results indicate that the NFS service is not running or is being blocked. I did a search on the Synology website for your module: https://www.synology.com/en-global/supp ... #utilities. I would try installing the Synology Assistant.toitoine51 wrote: ⤴Sat Sep 22, 2018 3:07 pmantoine@LV-toniofab:~$ showmount -e ds-toniofabajgringo619 wrote: ⤴Sat Sep 22, 2018 12:35 pm This most likely means that NFS is not configured properly or running on the NAS. How did you activate NFS?
What doesrpcinfo -p ds-toniofab
show?
clnt_create: RPC: Port mapper failure - Timed out
antoine@LV-toniofab:~$ rpcinfo -p ds-toniofab
ds-toniofab: RPC: Port mapper failure - Timed out
Re: unable to work with a nas
ok tahnks . I will try !ajgringo619 wrote: ⤴Sat Sep 22, 2018 3:13 pmAll of these results indicate that the NFS service is not running or is being blocked. I did a search on the Synology website for your module: https://www.synology.com/en-global/supp ... #utilities. I would try installing the Synology Assistant.toitoine51 wrote: ⤴Sat Sep 22, 2018 3:07 pmantoine@LV-toniofab:~$ showmount -e ds-toniofabajgringo619 wrote: ⤴Sat Sep 22, 2018 12:35 pm This most likely means that NFS is not configured properly or running on the NAS. How did you activate NFS?
What doesrpcinfo -p ds-toniofab
show?
clnt_create: RPC: Port mapper failure - Timed out
antoine@LV-toniofab:~$ rpcinfo -p ds-toniofab
ds-toniofab: RPC: Port mapper failure - Timed out
-a
Re: unable to work with a nas
hello
thanks for your help.
I used this
https://robferguson.org/blog/2016/12/18 ... ology-nas/
and I managed to have NFS service working on the laptop. It does not solve the SMB issue, but it solves my issue
Thanks for all your help
-a
thanks for your help.
I used this
https://robferguson.org/blog/2016/12/18 ... ology-nas/
and I managed to have NFS service working on the laptop. It does not solve the SMB issue, but it solves my issue
Thanks for all your help
-a
Re: unable to work with a nas [SOLVED]
I don't know how to modify the subject to put a solved on it !
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: unable to work with a nas [SOLVED]
Click the pencil icon.toitoine51 wrote: ⤴Sun Sep 23, 2018 7:53 am I don't know how to modify the subject to put a solved on it !
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.