Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.


Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.


Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.


Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Featured, Hardware

D-Link DNS-320 NAS Review

Submitted by on July 10, 2011 – 6:49 pm 54 Comments

The DNS-320 gigabit NAS has been around for some time now. I recently picked one up at a local CompUSA for under a hundred bucks. Adding a couple of Western Digital 2-TB SATA drives for around $80 each should provide some temporary relief for my disk space shortage problem at home.


In the past I reviewed the DNS-321 and the major complaint there was the device’s inability to utilize gigabit network capacity due to severe memory and CPU restrictions. While the DNS-321 was initially built as a 100-Mbit NAS and later converted to gigabit, the DNS-320 was built as a gigabit-capable storage device from the very beginning. It is still a very flimsy-looking plastic box filled with cheap components. If I am lucky, it may run for a year or two before the cooling fan fails or the power supply burns out.

How hard was it to configure DNS-320, I hear you asking? Surprisingly, not very easy at all. It took me – a senior Unix sysadmin – and a colleague – an experienced network admin – about two hours to get this little box working. The problem was the network: during the first-time setup, the DNS-320 can only be accessed if you have a DHCP server running on your network. With the DNS-321 you could just hookup your laptop via a crossover cable and configure the network manually by connecting to the default IP address of With the DNS-320 we had to install and configure a DHCP server on an OpenSuSE box just to get to the Web interface.

The Web interface itself is not standards-compliant and doesn’t work with Firefox running under Linux. After I finally managed to get the DNS-320 on the network, I had to use IE on my Windows 7 laptop to configure storage volumes. Another annoying issue with the Web interface is the very short default session timeout period. Fortunately, this setting can be adjusted. What cannot be changed are the volume names. If you have multiple D-Link NAS systems on your network, things can get a bit confusing:


The DNS-320 lets you chose from four volume configuration options:

Standard – creates one volume on each disk (Volume_1 and Volume_2). This configuration offers no redundancy and no performance gains. However, it simplifies data management and allow using external applications to mirror data between volumes. The DNS-320 has the ability to backup itself to another NAS (doesn’t have to be a D-Link) using FTP.

JBOD – creates a single volume that spans both disks. This gives you a large single volume (up to 4 TB with dual 2-TB disks). However, the chance of data loss increases, since if any one disk fails, the entire volume will fail.

RAID 0 – creates a single striped volume using two disks. Arguably, this is a nearly useless feature for this particular system, since even one SATA disk has higher I/O than the gigabit network through which the data is being accessed.

RAID 1 – creates a single volume with data mirrored across the two disks. If one disk fails – which, with the way quality of hard drives is dropping, will happen in less than a year – the data should still be preserved and available on the remaining disk. Naturally, you end up with only 50% of usable disk space. The front panel of the DNS-320 has an LED for each disk. If a disk fails, the LED turns yellow (or red), at which point you will need to power the system down (it is not hot-swappable) and replace the failed drive with another disk of the same geometry. Once you power up the system, it should start rebuilding the RAID set. During this time the data should still be available to you.

The two practical options for volume configuration are Standard and RAID 1. If you use standard, you can use an external application (simple case: rsync running on a Linux box NFS-mounting volumes from DNS-320 or just have two DNS-320s cross-backup data to each other) to mirror your data between the DNS-320 and another network storage location. This would be more secure than using RAID 1 on a single DNS-320. As I already mentioned, the box is cheaply made and the chance of the entire enclosure failing is probably as high as that of a disk failure.

Once you have configured your data volume, there are a few configuration changes that I would recommend to improve performance and lower the risk of data loss:

Go to Management -> System Management -> System Settings -> Idle Time and change the idle timeout to something considerably longer than the default five minutes.

In Management -> System Management -> Power Management: disable HDD hibernation, enable power recovery, set fan to auto low/high, and leave power off disabled.

In Management -> System Management -> Notifications: configure and test outgoing email. It is important to be notified of disk errors and overheating incidents before they cause irrecoverable data loss. That’s why I wan to recommend this uk based heater panels. You can configure DNS-320 to use SMTP-compatible mail service, such as Gmail.

In Management -> System Management -> Time and Date set the correct time zone for your location and specify the NTP server (you can select one from the drop-down or use a public NTP server, such as

Once you done configuring your DSN-320, go to Management -> System Management -> System Settings -> Configuration Settings and save the configuration file to your computer (not to the DNS-320 file share, of course). After that I would recommend rebooting the DNS-320 just to see that everything is still working as expected. To reboot go to Management -> System Management -> System Settings -> Restart


For the test I was using a gigabit network with no other traffic, firewalls, or anything else that may introduce inconsistencies. The first simple test was to copy about 80 GB of data (just some potpourri of files I had in the My Documents folder) from my Windows 7 PC to the mounted DNS-320 network share via the Windows Explorer (simple copy-paste). Data transfer rate for uploading was in the range of 5-17 MB/s and for downloading: 7-23MB/s. Whenever transferring files over the network, you need to keep in mind that a few large files will always go through faster than many small files, even if the overall amount of data being transferred is the same.

The second test involved transferring the same 80 GB of data over FTP. Being the File Transfer Protocol, it is of no surprise that FTP transfer went much faster: 20-28 MB/s for uploading and 23-32 MB/s for downloading.

The last test was to NFS-mount the DNS-320 volume on a Linux box and run the Bonnie++ test on that filesystem. The bonnie++ syntax for this test was:

bonnie++ -n 0 -u 0 -r `free -m | grep 'Mem:' | awk '{print $2}'` -s $(echo "scale=0;`free -m | grep 'Mem:' | awk '{print $2}'`*2" | bc -l) -f -b -d /nas2

In this case the /nas2 filesystem was NFS-mounted from the DNS-320 on an openSUSE 11.1 server with gigabit connectivity to the same subnet as the DNS-320. The command above automatically checks system memory and uses twice that amount to run a valid filesystem performance test. Here are the results of the test:

Using uid:0, gid:0.
Writing intelligently...done
Reading intelligently...done
start 'em...done...done...done...
Version 1.01d       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
icebox        4000M           15810   2 10684   2           28914   4 119.5   0



For less than a hundred dollars, the DNS-320 is a good storage solution. Performance-wise, this small NAS will not win any awards. But for the money you are paying, it offers useful capabilities. It is fast enough to be a practical backup solution for your home PCs. The initial configuration is unnecessarily complicated for a home network that doesn’t use a DHCP server. The DNS-320 should have been configured to fall back to the default management interface IP address if DHCP was not found.

The cheap plastic cooling fan cannot be easily replaced, which is a pity, because it looks like something likely to fail. The small, overheating power supply made in China by the Asian Power Devices, Inc. looks like something that will fail before or shortly after the cooling fan. But the power supply should be simple enough to replace.

Whatever goes first is not that important. My point is that even with RAID 1, your data is far from secure when using such low-end storage systems. The solution is to either upgrade to a storage system that wasn’t built on a twenty-dollar budget, or to increase redundancy by adding more cheap NAS systems to your network to spread out the risk.

Print Friendly, PDF & Email


  • JDOGG1122 says:

    How to backup the dhcp server in window 2000 server , especially (Reservation) ip address.

  • Ryan Dunn says:

    I’m looking for commercial / open source DHCP servers that are most commonly used. I know Linux, Windows and Solaris are platforms where dhcp service can be run from, but a few more names that are commonly used would be helpful. Thanks !

  • addmeonxbox360myuserisfallior says:

    My Dhcp server is on but my Xbox is not receiving a physical connection and is using the ip adress when microsoft isn’t receiving my Dhcp request? How can i connect to Xbox live? Please Help.

  • Sahil says:

    1. can i use my firewall router as a dhcp server in my windows domain?
    2. will this effect the login or authentication process?
    3. how can can i make a backup dhcp server if in case my current dhcp server fails then it will automatically gives the same ip address to everyone in my network.


  • Derek says:

    I am trying to use port forwarding to view security cameras over the internet. My camera system, using DHCP, has an IP address of The data is set to come out of port 1026. The camera system is plugged into a hub with an IP address of (set statically). That hub is, in turn, plugged into a DSL modem (which can also work as a Wireless Hub/DHCP server) with the internal address of and an external address of Internally, I can see all devices on the network whether I am plugged into the hub or have linked to the wireless modem. I have set port forwarding on the DSL modem to forward port 1026 for both TCP and UDP protocols. It seems like I have done everything right. I have set-up a similar arrangement in the past with success. But currently, I cannot call the WAN IP address of the modem : port number of the cameras and get the picture. Maybe it is in how the modem and wired hup are linked. Appreciate any help.

  • Erin says:

    I have ordered router but it is going to take time,

    I want to setup some thing like DHCP server on main computer wireless adapter and client on 2 other laptops.

  • Erfan says:

    I’m running a windows 2008 r2 DHCP server and made multiple IP scopes. I made a scope for servers and clients both containing 200+ addressess. The problem is when I boot a client computer, It receives an IP address in the server scope, not from the client scope. Both of the scopes still have plenty of address left. How can I fix this?

  • Gabriel Kenney says:

    As the administrator of a network, you configured a DHCP server to distribute IP addresses to computers on a particular subnet by creating a scope. However, the computers in the network are still not untilizing the service and instead are configuring themselves with APIPA address. You have double check and are certain that all host are correctly configured and connected to the internet and that the scope setting are alfo configured correctly. Futhermore, the serves is connected to the network properly,

  • dealy says:

    I have two DHCP servers with different subnet connect to the same cisco switch 3550 with 10 gigabit ports. Port # 2 connect to DHCP server1, Port # 3 connect to DHCP server2 and Port # 3 connect to dhcp client zone. Is it impossible to work out? If yes, please tell me on how to do it!
    Thanks so much in advance! :-)

  • John says:

    I just purchased a sony blu-ray player and its able to identify the network and its connected to the server just not the internet. It recognizes the network just not the internet and it says I need to enable the DHCP server but I dont know how
    AND. I know for a fact that my password is correct because I use it on my ipod, laptop, etc. Its connected just not to the internet.

  • whitesoxfan2347 says:

    Not sure if I have worded it correctly but I want a secondary server to issue IP addresses if the main DHCP server on the primary DC fails.

  • NC Baller says:

    that is also the dhcp server for both. But when i try to set up the domain under System Properties i get the error message that “the network path was not found” our domain is set to company.local
    Any ideas what the cause of this could be?

  • Denis says:

    I purchased this a couple of years ago. Since then I don’t want to have anything from D-Link anymore. There is a huge con. After power failure the device will not boot up automatically. For a NAS device this is a massive problem. It costed us data once. Does not matter the power management in the setup page it still does not work whatever I do. Later one person was watching the device to check is it running.
    Than bad network issues. lack of file manager in the original setup, web page extremly slow etc etc.
    Anyway we replaced it with a normal NAS device. This may be just a first release, maybe it is better now but my suggestion is: avoid dns-320.

Leave a Reply

%d bloggers like this: