iSCSI Hub
Isometric stack of purple NAS server units with vent grilles and glowing pink status ports on a dark navy platform, evoking homelab network storage.
comparisons

iSCSI vs SMB for a Homelab NAS: Which One to Pick

Choose SMB or iSCSI for your homelab NAS by comparing shared access, file transfer speed, and what it takes to restore a deleted file.

By iSCSI Hub Editorial · · 3 min read

For iSCSI vs SMB on a homelab NAS, choose SMB for files you browse or share, even from a single computer. Choose iSCSI when an app on one host needs a disk it can treat as local.

Which one should you pick?

What you need from the NASPickWhy
Shared documents, photos, or mediaSMBMultiple devices can open files on the same share.
One app that requires a diskiSCSI LUN for one hostThe host manages the filesystem on a disk presented by the NAS.
One computer browsing filesSMBThe computer can open files directly on the share.

If your app needs a disk, follow the TrueNAS iSCSI target setup guide. If you’re also considering NFS, see the three-way comparison.

iSCSI vs SMB side by side

A NAS can offer both an SMB share for files and an iSCSI logical unit (LUN) for block storage. The NAS is the device providing the storage. SMB and iSCSI determine how your computer accesses it.

What changesSMB shareiSCSI LUN
What the NAS exportsFiles and foldersA block device the host sees as a disk
Who owns the filesystemThe NASThe connected host
Access from several hostsClients share files through the NASUse one host per LUN in a homelab. Shared access requires a cluster-aware setup.

With SMB, clients open files on the NAS. With iSCSI, clients send disk reads and writes, and each host using a LUN needs to coordinate access to its filesystem. Simultaneous access to an ordinary LUN can corrupt the filesystem. Microsoft’s SMB overview · QNAP’s iSCSI storage guide

See what an iSCSI LUN is for how the disk is presented to its host.

Is iSCSI faster than SMB?

It depends on what you transfer. QNAP tested uploads to a TS-462A running QTS 5.2.6.3170 over a 2.5GbE link. QNAP’s SMB and iSCSI benchmark

Upload workloadSMBiSCSI
One 32 GB file295 MB/s266 MB/s
32,768 files of 1 MB each98.5 MB/s293 MB/s

In that setup, SMB led for the large file and iSCSI led for the batch of small files. Use the row that best resembles your uploads as a starting point. Your NAS, network, and configuration can change the result.

How do you recover a deleted file on DSM 7.4?

Use a snapshot taken before the deletion. Synology Snapshot Replication can browse individual files in a shared-folder snapshot and clone a LUN snapshot as a new disk. Synology’s DSM 7.4 Snapshot Replication specifications

SMB share

  1. In Snapshot Replication, select the shared folder and choose the snapshot from before the deletion.
  2. Browse the snapshot in File Station and locate the file.
  3. Copy the file from the snapshot back to the live share.

iSCSI LUN

  1. In Snapshot Replication, choose the LUN snapshot from before the deletion and clone it to a new LUN.
  2. Use SAN Manager to make the cloned LUN accessible through an iSCSI target. Connect from one host that can read the filesystem on the clone. Synology’s DSM 7.4 SAN Manager specifications
  3. Open the cloned volume on that host and copy the file back to its original location.

For a single file, use the clone. Restoring the original LUN to a snapshot rolls back the entire disk and discards changes made since the snapshot.

Can I use iSCSI on a Mac?

For ordinary NAS files, use an SMB share in Finder. Connecting to an iSCSI LUN from macOS requires third-party initiator software. Apple’s Finder guide · QNAP’s Mac iSCSI guidance

For Time Machine, choose a NAS that specifically supports Time Machine over SMB. Apple ended AFP support for NAS backups in macOS 27. Apple’s Time Machine backup disk guidance

Evidence note. The benchmark figures were published by QNAP for QTS 5.2.6.3170. The recovery steps were drawn from Synology’s DSM 7.4 documentation. Site verification was limited to documentary review.

Sources

  1. Microsoft Learn: What is SMB File Sharing for Windows and Windows Server?
  2. QNAP QTS User Guide: iSCSI Storage
  3. QNAP: How does iSCSI compare to Samba (SMB) in performance on my NAS?
  4. Synology: Snapshot Replication Technical Specifications (DSM 7.4)
  5. Synology: SAN Manager Technical Specifications (DSM 7.4)
  6. Apple Support: Connect your Mac to shared computers and servers
  7. Apple Support: Backup disks you can use with Time Machine
  8. QNAP: How do I connect from my Mac/Windows to the LUN on the NAS?

Related