Connection failed to share on FreNas

Issues related to applications and software problems and general support
Post Reply
probson
Posts: 2
Joined: 2021/07/16 08:41:37

Connection failed to share on FreNas

Post by probson » 2021/07/16 09:00:56

Hello,

We have a problem Between a CentOS 8 ( 3rd party company) and our FreeNas.

We have made the shares on FreeNas with SMB and NFS. With Windows machines i can Access the share with the user i created.

The CentOS that is form an outside company gets the folowing error:

1.Mounting the named share we made
[root@xxx/]# mount -t nfs -O user=IDS,pass=xxx ipxx:/HCARE /shared2
mount.nfs: mounting ipxxx:/HCARE failed, reason given by server: No such file or directory


2.
Mounting without the name share we made:
[root@xxx/]# mount -t nfs -O user=IDS,pass=xxx ip.xxx:/ /shared2
mount.nfs: access denied by server while mounting ip.xxx:/


Using CIFS to mount the share we get the folowing error after we put the password:
[root@xxxx/]# mount.cifs //ip.xxx/sharename /shared2 -o vers=4 user=IDS
Password:
mount error(95): Operation not supported

We can´t understand why they can´t acess, since with Windows Machines we haven´t got no problem.

Both servers are inside our network ( with the same ip range) and side by side physical. We don´t have acess to the CentOS.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Connection failed to share on FreNas

Post by TrevorH » 2021/07/16 09:58:52

[root@xxxx/]# mount.cifs //ip.xxx/sharename /shared2 -o vers=4 user=IDS
There isn't an SMB 4 so I doubt if vers=4 is correct.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

probson
Posts: 2
Joined: 2021/07/16 08:41:37

Re: Connection failed to share on FreNas

Post by probson » 2021/07/19 15:13:14

Thank you Trevor,

I remade the pools after reading some forums, and they gave me a diferente error this time:

root@xxx-name/]#mount -t cifs -o user=xxx,pass=xxxx //ipdestination/name/name /shared2
Unable to find suitable address.

[root@xxx-name/]# mount -t cifs -o user=xxx,pass=xxxx //ipdestination/name /shared2
Unable to find suitable address.

They can acess the disk where i have the Freenas installed but can´t acess the pools i made

I may think the first problem was solved. I still have to dig in the Freenas Pools, becouse i have some doubts about the sharing.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Connection failed to share on FreNas

Post by TrevorH » 2021/07/19 15:52:43

The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply