Home | Contact

Configuring a NAS as an iSCSI Target for PC or Server

A NAS can provide shared folders over SMB or NFS, but iSCSI offers a different model. It presents block storage to a PC or server, allowing the operating system to treat space on the NAS like a locally attached disk. This is useful for virtual machines, application data, databases, and workloads that require a dedicated volume.

QNAP and Synology systems commonly include iSCSI target tools in their management interfaces. The exact menu names vary by operating system version, yet the underlying process is similar: create storage, define a target, map a LUN, configure access controls, then connect from the client using an iSCSI initiator.

Performance depends on the whole network path. A two-bay NAS connected through a basic gigabit switch may be adequate for backups or a small office file server, while a business workload could require 10GbE, SSD storage, redundant networking, and multiple storage paths. A fast NAS cannot compensate for an overloaded switch or slow hard drives.

Australian users should also consider NBN service limitations, local power reliability, and the distance between offices or homes. An iSCSI connection works inside a controlled LAN; exposing it directly to the internet is unsafe. For a home in Adelaide or Canberra, and for a server room in Sydney or Melbourne, the design should keep storage traffic private and separately protected.

Why Use Block Storage

SMB and NFS expose files and folders, leaving the client to use a network file protocol. iSCSI instead supplies virtual disks called logical units, or LUNs. Windows, Linux, or a hypervisor can format those disks with its preferred file system and manage them much like internal storage.

This arrangement can suit a Windows Server application that expects a local NTFS volume, a VMware or Hyper-V datastore, or a Linux service requiring a dedicated block device. It is less suitable when several independent computers need to open the same ordinary file system at the same time. A standard NTFS LUN should not be mounted read-write by multiple hosts unless cluster-aware software is being used.

The NAS still controls the physical storage beneath the LUN. RAID, SSD caching, snapshots, compression, and thin provisioning remain NAS-side features. Before buying hardware, compare the required workload with the capabilities of the unit; this DS223j review illustrates why an entry-level model may be sensible for basic home backup but limited for demanding business storage.

Planning Checklist

Begin with the workload rather than the maximum capacity advertised on the NAS box. Estimate usable space, daily data growth, concurrent users, expected IOPS, and the amount of downtime the business can tolerate. A database or virtual machine workload is generally more sensitive to latency than a sequential backup job.

Choose a separate storage pool or volume when practical. Keeping an iSCSI workload apart from media libraries and routine file shares makes performance easier to monitor. RAID protects against selected disk failures, but it is not a backup, and RAID level should reflect the number and type of drives installed.

A static address is especially helpful because the initiator needs a stable portal. Use a dedicated VLAN if the switch and network design support it. In a small Brisbane office, for example, separating storage traffic from guest Wi-Fi can prevent a busy lunch-hour wireless network from affecting a server disk connection.

Creating the Target and LUN

In DSM, QTS, or QuTS hero, open the storage or SAN management area and create an iSCSI target. The target receives an IQN, a globally structured name that identifies the service. Give it a descriptive label such as the site name, server role, and operating system rather than accepting a confusing default.

Next, create a LUN and map it to the target. Thick provisioning allocates the space immediately and offers predictable capacity. Thin provisioning can make capacity more flexible, but it requires monitoring because the NAS may report available virtual space that has not yet been physically allocated. Enable space reclamation only when the client and NAS support it correctly.

Set CHAP authentication where available, using a long unique secret stored in the organisation’s password manager. Restrict access to known initiator names or trusted network addresses. Avoid placing iSCSI on the same unrestricted network as visitors, smart televisions, or unmanaged devices, and never publish the iSCSI portal through a router’s port-forwarding rule.

Snapshots can provide a fast rollback point after accidental changes or some forms of corruption. They do not replace an independent backup because they remain on the same NAS and may be affected by hardware failure, theft, ransomware, or an administrator mistake.

Connecting a Windows Computer

Windows includes the Microsoft iSCSI Initiator service. Open the initiator configuration, enter the NAS IP address as a target portal, and start discovery. The target should appear with its IQN; select it and connect. In advanced environments, configure CHAP, source IP selection, and persistent reconnection so the disk returns after a reboot.

After the session is established, open Disk Management. Bring the new disk online, initialise it using the appropriate partition style, create a volume, and format it with NTFS or ReFS according to the application’s requirements. Assign a drive letter only where software requires one; a stable mount path can be preferable on a server.

Do not initialise a LUN that already contains important data. Confirm the serial number, capacity, and mapping before making changes. If the disk vanishes during a network interruption, avoid immediately forcing repairs or formatting. Check the iSCSI session, NAS logs, switch, and cabling first, because an apparent disk error may be a connectivity problem.

For two or more network paths, Windows Server may use MPIO, provided the NAS, adapters, switch design, and configuration support it. MPIO needs deliberate planning; simply connecting several cables does not automatically create useful redundancy or improve performance.

Connecting Linux and Virtualisation Hosts

Linux systems generally use open-iscsi or a distribution-specific iSCSI initiator package. Discover the portal, log in using the target IQN, enable automatic login, and verify that the block device appears consistently. Device names such as /dev/sdb can change after a reboot, so use filesystem UUIDs, persistent device paths, or carefully managed multipath identifiers.

A newly presented LUN should be partitioned and formatted only if it is intended for direct Linux use. If it will become a datastore for Proxmox VE, VMware, or another hypervisor, follow that platform’s storage procedure instead. The hypervisor may need a specific filesystem, access mode, queue-depth setting, or multipath configuration.

Never allow several hosts to mount the same ordinary filesystem as though it were a shared disk. This can cause rapid filesystem corruption. Shared access requires cluster-aware filesystems or application-level coordination, such as a properly designed clustered virtualisation environment.

Test live migration, host reboot, NAS restart, and temporary cable loss before placing production workloads on the target. A setup that works during initial installation may still fail when authentication, path recovery, or a switch outage occurs.

Performance, Network Design, and Local Conditions

Sequential throughput is only one part of iSCSI performance. Small random reads and writes, latency, queue depth, disk type, RAID layout, NAS processor load, and cache behaviour can dominate real-world results. HDD RAID may deliver acceptable backup throughput while feeling slow under several virtual machines. Enterprise SSDs can reduce latency, but they add cost and require suitable endurance ratings.

Gigabit Ethernet can approach roughly 100–115 MB/s in ideal conditions, before protocol and workload overhead. A 10GbE link offers considerably more headroom, though the NAS needs enough drive and CPU performance to use it. Use quality Cat6 or Cat6a cabling where appropriate, and confirm that every switch port negotiates at the intended speed.

Australia’s summer heat can raise the temperature in an unventilated cupboard or small comms room, especially in Perth or inland New South Wales. Keep the NAS and switch in a cool, dust-controlled location, and consider a UPS for short outages and orderly shutdowns. Storm-related interruptions and local power fluctuations make graceful recovery testing worthwhile.

Backup, Security, and Ongoing Administration

Back up the data inside the iSCSI volume using software that understands the client’s filesystem and applications. A NAS snapshot may help with quick recovery, while a separate NAS, removable disk rotation, or cloud copy provides protection against a broader incident. Follow a 3-2-1 approach where practical: multiple copies, different media, and at least one copy separated from the primary system.

For Australian organisations, data handling may need to align with internal policies, contractual requirements, and obligations under the Privacy Act. Cloud replication should be assessed for provider location, encryption, retention, and access controls. A local copy in a Melbourne office does not automatically protect against every site-level event, while an overseas service may introduce governance considerations.

Keep management interfaces restricted to administrators, enable multi-factor authentication where the NAS supports it, and apply security updates after checking compatibility. Separate ordinary NAS administration from the credentials used for CHAP. Audit who can create targets, map LUNs, delete snapshots, or modify backup jobs.

Review the configuration at least quarterly. Confirm that backups can be restored, snapshots have not consumed the storage pool, alerts reach a monitored mailbox, and the client can reconnect after a planned NAS restart. Replace failed disks promptly and keep a current record of drive models, RAID status, firmware, network addresses, and recovery credentials.

A carefully configured iSCSI target can give a PC, server, or virtualisation host flexible block storage without requiring a dedicated SAN appliance. Start with a modest test LUN, validate authentication and recovery, measure the workload under realistic conditions, and then document the production design. Apply those steps to your QNAP or Synology system before moving critical services onto the new storage path.