What network protocol to use for NAS?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
HarryZ
Level 1
Level 1
Posts: 40
Joined: Sun Feb 26, 2017 4:20 am

What network protocol to use for NAS?

Post by HarryZ »

Aloha. I have a Synology DS416 NAS on my network that I want to use with GNU ddrescue. So far, I've been able to open the Network application (Nemo), and connect to it via either afp or smb. Looking at the specs for my DS416, it supports several networking protocols: FTP, SMB2, AFP, NFS and WebDAV. Is there one of these protocols that provides faster data transfer? Once I have a target protocol, then I can research how to do the connection.

Here's the inxi output....

Code: Select all

harryz@LinuxBench ~ $ inxi -Fxz
System:    Host: LinuxBench Kernel: 4.4.0-66-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.2)
           Distro: Linux Mint 18.1 Serena
Machine:   Mobo: MSI model: H81M-E34 (MS-7817) v: 3.0
           Bios: American Megatrends v: V17.5 date: 03/30/2015
CPU:       Quad core Intel Core i5-4590 (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 26400
           clock speeds: max: 3700 MHz 1: 3616 MHz 2: 3531 MHz 3: 3694 MHz
           4: 3621 MHz
Graphics:  Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel Haswell Desktop
           GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-66-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1500.3GB (1.0% used)
           ID-1: /dev/sda model: ST9500325AS size: 500.1GB
           ID-2: /dev/sdb model: WDC_WD1002FAEX size: 1000.2GB
Partition: ID-1: / size: 394G used: 7.1G (2%) fs: ext4 dev: /dev/sdb5
           ID-2: swap-1 size: 8.46GB used: 0.00GB (0%) fs: swap dev: /dev/sdb6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 209 Uptime: 50 min Memory: 1527.3/7860.4MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.461) inxi: 2.2.35 
harryz@LinuxBench ~ $ 


Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DeMus

Re: What network protocol to use for NAS?

Post by DeMus »

I don't know about your NAS but I have used NFS for a while and I always had the impression it was faster than SMB. Not much, but just enough to notice it. Would probably be the same with a NAS. Try it out and see for yourself.
kwisher

Re: What network protocol to use for NAS?

Post by kwisher »

DeMus wrote:I don't know about your NAS but I have used NFS for a while and I always had the impression it was faster than SMB. Not much, but just enough to notice it. Would probably be the same with a NAS. Try it out and see for yourself.
+1 for NFS if you are all *nix on your LAN.
HarryZ
Level 1
Level 1
Posts: 40
Joined: Sun Feb 26, 2017 4:20 am

Re: What network protocol to use for NAS?

Post by HarryZ »

kwisher wrote:[... +1 for NFS if you are all *nix on your LAN.
This is the only *nix machine on my network. Why does this matter?

Mahalo,

Harry Z
kwisher

Re: What network protocol to use for NAS?

Post by kwisher »

HarryZ wrote:
kwisher wrote:[... +1 for NFS if you are all *nix on your LAN.
This is the only *nix machine on my network. Why does this matter?

Mahalo,

Harry Z
Your NAS is *nix so actually you have 2 on your LAN. NFS seems to be faster for me besides using ssh/scp.
HarryZ
Level 1
Level 1
Posts: 40
Joined: Sun Feb 26, 2017 4:20 am

Re: What network protocol to use for NAS?

Post by HarryZ »

Mahalo nui loa (thank you very much) for the advice. Unfortunately, I've got another issue that is more important (viewtopic.php?f=90&t=241693) that I need to resolve first before I try NFS. It will be next week before I can work on this, but I will post a followup eventually.

Harry Z
Locked

Return to “Beginner Questions”