Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

iSCSI target vs. Samba vs. NFS share for storing backup files over the network

Posted on 2010-11-11
8
Medium Priority
?
1,178 Views
Last Modified: 2012-05-10
Hi All,

I'd like to know which one is the fastest transfer / throughput rate across the network for the file sharing ?

I'm trying to create some more datastore for storing the very large backup to disk files.

so I'm now considering between running the following over the network:

Ubuntu Server + Samba
Openfiler + iSCSI target (never try this before).

all of those will be over the gigabit network.

Thanks.
0
Comment
Question by:jjoz
  • 4
  • 3
8 Comments
 
LVL 1

Author Comment

by:jjoz
ID: 34111154
the shared network drive will be mainly used by Windows Server 2003
0
 
LVL 80

Expert Comment

by:arnold
ID: 34112319
The question should start based on the destination supported by the backup & restore software i.e. can the software read/write from a mapped drive (samba/NFS)? Or does the software need to use a "local drive" (iscsi).
iscsi sends SCSI commands over Ethernet and depends on which option you choose when configuring the iscsi lun. blockio or fileio (preferred)
https://forums.openfiler.com/viewtopic.php?id=1846

samba/nfs has a lower overhead and would likely be faster.
0
 
LVL 1

Author Comment

by:jjoz
ID: 34115897
thanks for the reply arnold, so for large sequential file transfer using samba over the network is better compares to iSCSI ?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 80

Assisted Solution

by:arnold
arnold earned 1000 total points
ID: 34116014
iscsi would normally be 50-80Mbits/sec. a 15GB MS SQL database backup would take around 18 minutes using blockio.
You have to test how long it will take to copy a 500MB file to a samba/nfs share to estimate its transfer rate.

The main issue deals with whether the backup software can backup to mapped network drives or must those be seen as local physical drives.

I/O wise I think it will take longer to transfer 20 files that amount to 500 MB versus a single 500MB file because of the start/stop overhead for each file.
0
 
LVL 12

Accepted Solution

by:
mccracky earned 1000 total points
ID: 34121513
The other consideration (for the archives more than specifically your case) is which platforms will be using the network drive.  If it's only Windows (as you mentioned) then Samba is probably better than nfs.  If Linux or other variant, then probably nfs over Samba.  It also depends on how the files are being backed up.  If just copied the prior sentences are even more important as the file permissions and ownership are better preserved.

If the backup software creates a large backup file that contains all the relevant permissions/ownership/timestamps in the one file, then the storage medium doesn't matter as much, but just needs to be something the backup software can use.  As mentioned by arnold, one looks more local and the other more remote.

The speed will also be affected by the disk subsystems and network.  Theoretical maximum for a gigabit network would be around 115MB/s including some of the Ethernet overhead.  Network congestion will slow it down.  The speed of the disk subsystem i/o might also.  

Since both your options are free it might just be best to set up the test case and test the throughput.
0
 
LVL 1

Author Comment

by:jjoz
ID: 34130813
Guys, thanks for the suggestion,
It seems that iSCSI is the fastest when configured properly with the following parameters in the Openfiler VM:

R/W Mode: Write-thru
Transfer Mode: blockio

am I doing it right ?
iSCSI-BlockIO-WriteThru.jpg
0
 
LVL 80

Expert Comment

by:arnold
ID: 34131102
The settings you've choosen should be fine.
I've not checked whether the write back is  a better performing setting.
0
 
LVL 1

Author Closing Comment

by:jjoz
ID: 34132811
thanks man !
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
"Any files you do not have backed up in at least two [other] places are files you do not care about."
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question