Connect centos Nas Buffalo.

Issues related to configuring your network
Post Reply
Hosco
Posts: 5
Joined: 2018/07/22 17:44:36

Connect centos Nas Buffalo.

Post by Hosco » 2018/07/22 17:58:18

Hi! First, forgive me for my English.
I need to mount a nas in a folder in centos. I have already modified the fstab file with :
//192.168.1.134/Copias /root/Escritorio/Copias cifs netdev,dir_mode=0777,file_mode=0777,uid=500,gid500 0 0
But nothing happens. However, through the browser I have access to it. It is the first time that I mount a unit that is not located in the same machine, and I am having a bad time. Infinite thanks.

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Connect centos Nas Buffalo.

Post by tunk » 2018/07/22 19:18:19

Have you opened the cifs ports in the firewall?

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

Re: Connect centos Nas Buffalo.

Post by TrevorH » 2018/07/22 19:19:53

If you're using cifs then you probably need a username/password or credentials file in the mount options. Most NASes also do NFS which might be a better choice if you only use linux to access it.

Edit /etc/fstab then run mount -a to test it. Do not reboot until after you have fixed any errors listed by mount -a or you will get the same errors on reboot and may end up in emergency mode.
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

Hosco
Posts: 5
Joined: 2018/07/22 17:44:36

Re: Connect centos Nas Buffalo.

Post by Hosco » 2018/07/22 19:53:12

TrevorH wrote:
2018/07/22 19:19:53
If you're using cifs then you probably need a username/password or credentials file in the mount options. Most NASes also do NFS which might be a better choice if you only use linux to access it.

Edit /etc/fstab then run mount -a to test it. Do not reboot until after you have fixed any errors listed by mount -a or you will get the same errors on reboot and may end up in emergency mode.
Okay, I have now tried nfs and when I run the mount -a command I get the following message: "mount.nfs: remote share not in 'host: dir' format.
Thanks for answering. I'm a little lost in this.

Hosco
Posts: 5
Joined: 2018/07/22 17:44:36

Re: Connect centos Nas Buffalo.

Post by Hosco » 2018/07/22 19:53:52

tunk wrote:
2018/07/22 19:18:19
Have you opened the cifs ports in the firewall?
I'll try better with nfs ...

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

Re: Connect centos Nas Buffalo.

Post by TrevorH » 2018/07/22 20:04:29

mount.nfs: remote share not in 'host: dir' format
You don't use // on the front of the ip address with NFS.
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

Hosco
Posts: 5
Joined: 2018/07/22 17:44:36

Re: Connect centos Nas Buffalo.

Post by Hosco » 2018/07/22 20:36:10

TrevorH wrote:
2018/07/22 20:04:29
mount.nfs: remote share not in 'host: dir' format
You don't use // on the front of the ip address with NFS.
the same problem, when I run mount -a tells me :
mount.nfs: remote share not in 'host: dir' format

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

Re: Connect centos Nas Buffalo.

Post by TrevorH » 2018/07/22 21:01:32

Did you miss the : out?
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

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Connect centos Nas Buffalo.

Post by tunk » 2018/07/22 21:14:39

I guess Trevor suggests that the entry in /etc/fstab should be something like:
192.168.1.134:Copias /root/Escritorio/Copias nfs "options" 0 0
Also, I think NFS isn't very secure. the only "authentication" is the IP adresses.

Hosco
Posts: 5
Joined: 2018/07/22 17:44:36

Re: Connect centos Nas Buffalo.

Post by Hosco » 2018/07/22 23:03:20

tunk wrote:
2018/07/22 21:14:39
I guess Trevor suggests that the entry in /etc/fstab should be something like:
192.168.1.134:Copias /root/Escritorio/Copias nfs "options" 0 0
Also, I think NFS isn't very secure. the only "authentication" is the IP adresses.
Writing in this last way, notice an improvement when I execute the mount command. I already see the folder from the file browser as a network folder, but I get "conection refused".
Thank you very much for your time.

Post Reply