[HOW-TO] A how to guide for ARM & Intel NAS servers

Discussion on setting up QNAP NAS products.
Locked
User avatar
Don
Guru
Posts: 11964
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York
Contact:

[HOW-TO] A how to guide for ARM & Intel NAS servers

Post by Don » Mon Dec 29, 2008 10:18 am

Over the past months I have been putting together a how-to guide for the TS-109, 209, 409, & 509 NAS units. I started to put this together after I received my first 209 and started playing with it. I learned a lot from the forums and the support people at QNAP. One of the things I noticed on the forums was that many people had the same learning pains, questions, and issues that I had so I decided to put this guide together. While this guide will definitely help the new user I hope that experienced users also pick up a thing or two from it. It is aimed at using and enhancing core functionality and not at installing / configuring other applications.

It does not address the TS-x01 models as I have no experience with them and do not have one to test with. If someone would like to send me updates for these models (or QNAP would like to send me a TS-101 or 201 that I could use for testing :wink: ) I would be happy to include them in a future update.

I want to thank Christian, fribse, and Silas for their contributions, review, and valuable feedback. I also want to thank all contributors on the forums because without your continued support in the QNAP community some of the information in the guide would not exist.

I hope that you find this useful. Please provide feedback if you see any errors or something that you think should be added. Of course a write-up with your request would be helpful.
-----------------------------------------------------------------------------------------------------

Version 1.2 of the guide has been released on 10/16/09. I hope you find it as useful as the original version.

-----------------------------------------------------------------------------------------------------
Version History:
  • V1.0
    • Initial release - downloaded 6531 times!!
    V1.1
    • Not released
    v1.2
    • Adds new content, addresses all the ARM and Intel models, and was reformatted
Attachment removed as it no longer is relevant or up to date as QNAP now provides a manual on their firmware which can be found on their web site.
Last edited by Don on Wed Dec 31, 2008 1:50 am, edited 1 time in total.
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.3.6.0993 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

User avatar
KL643
Experience counts
Posts: 2027
Joined: Sun Sep 23, 2007 9:21 pm
Location: @40000ft

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by KL643 » Mon Dec 29, 2008 10:38 am

Thanx Don for your time and effort, will start reading tomorrow. Time to go for a sleep here...3.36AM. Hope to find some useful stuff 8)
The solution to the most difficult "problem" is usually very simple.

Qnap support

Before asking questions

User avatar
stevebow
Been there, done that
Posts: 626
Joined: Mon Apr 07, 2008 11:46 am

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by stevebow » Mon Dec 29, 2008 1:06 pm

Bl..dy h.ll, why didn't I have this when I first got my 409 Pro??? :D :D

I've skipped through the doc for now, and at first glance looks very professional. I'll read it through fully later on, there's quite some reading!

Many thanks to Don and the other contributors mentioned in the doc, well done!

This really deserves a Sticky if I ever saw one.
NAS: TS-509 Pro
Firmware: 4.1.1 Build1101
Drives: 5 x Western Digital WD20EFRX (Red) 2TB drives (RAID5)

NAS: TS-409 Pro
Firmware: 3.3.2 build 0918T
Drives: 4 x Western Digital WD20EFRX (Red) 2TB drives (RAID0)
Note: TS-409 Disk Management GUI mostly non-functional with WD Red HDDs

User avatar
AndyChuo
Experience counts
Posts: 2396
Joined: Thu Sep 13, 2007 11:56 am
Location: Taipei, Taiwan

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by AndyChuo » Mon Dec 29, 2008 1:30 pm

Great stuff, thanks for sharing Don.

Andy
=============================================================>>>
TS-659-Pro [RAID6] rtorrent+SABnzbdplus+SickBeard+Couchpotato [Best PVR] Plex+PMS [Ultimate Streamer]
Apple iPad [Best Tablet] HTC One M8 [Mobile Phone] Samsung UA46ES6100 [My Screen] KRK Rokit 6 [Audio Speakers]
Chrome Cast [Screen Casting] Philips Hue [Personal Lighing]
Buffalo WZR-1750DHP [My Wifi Hub] D-Link DGS-1005D [Gbit Network]
=============================================================>>>

lifeisfun
Know my way around
Posts: 128
Joined: Sun Nov 30, 2008 5:09 am

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by lifeisfun » Mon Dec 29, 2008 9:14 pm

Thanks for your time doing this !

User avatar
Don
Guru
Posts: 11964
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York
Contact:

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by Don » Tue Dec 30, 2008 12:43 am

QNAPAndy wrote:Great stuff, thanks for sharing Don.

Andy

lifeisfun wrote:Thanks for your time doing this !


You are welcome. My way of giving back to the community and to QNAP.
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.3.6.0993 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

JD2k3
Starting out
Posts: 18
Joined: Thu Oct 02, 2008 2:56 am

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by JD2k3 » Thu Jan 08, 2009 3:19 am

Thank you for this guide :D

Just been quickly reading the guide but I found a little mistake on page 29:

When someone from the internet is attacking your router they most likely will be searching for the known ports, like
21 (FTP), 22 (Telnet), and 23 (SSH) in order to gain access to your system.

This should be: 21 (FTP), 22 (SSH) and 23 (Telnet) :)

User avatar
Don
Guru
Posts: 11964
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York
Contact:

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by Don » Thu Jan 08, 2009 3:31 am

Thanks. I'll make the correction.
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.3.6.0993 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

bigkah624
Starting out
Posts: 38
Joined: Tue Dec 30, 2008 6:59 am

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by bigkah624 » Thu Jan 08, 2009 5:10 am

Thanks for the guide. You're awesome for doing this! I hope in the future, i can also contribute to the community.

User avatar
Don
Guru
Posts: 11964
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York
Contact:

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by Don » Thu Jan 08, 2009 6:34 am

bigkah624 wrote:Thanks for the guide. You're awesome for doing this! I hope in the future, i can also contribute to the community.
You're welcome.
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.3.6.0993 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

User avatar
paolo
Getting the hang of things
Posts: 80
Joined: Wed Oct 15, 2008 6:52 am
Location: South Sardinia

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by paolo » Thu Jan 08, 2009 10:29 pm

Nice work!! compliments also from me!

Paolo
TS209-Pro - v.3.3.2 Build 0918T

http://www.paesaggio.net/studiocallioni/
Image

User avatar
Q
Experience counts
Posts: 1441
Joined: Wed Sep 05, 2007 4:18 pm
Location: Switzerland
Contact:

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by Q » Thu Jan 08, 2009 11:50 pm

impressive :-D thx!
I am Q
www.qnap.ch

I don't work at QNAP.
And RAID is really NO backup!

Mouse
Getting the hang of things
Posts: 94
Joined: Mon Aug 18, 2008 6:17 pm
Location: England

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by Mouse » Fri Jan 09, 2009 5:34 am

Had a quick flick through and I can learn a lot from this. Well done and Thank You. :D
QNAP TS-209PRO II with 3x 750GB Seagate (2 in RAID1 + 1 via USB)

MS Windows Guru, just getting into Linux

User avatar
ESPNSTI
New here
Posts: 8
Joined: Tue Dec 30, 2008 5:25 am
Location: Decorah, IA

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by ESPNSTI » Thu Jan 15, 2009 2:06 am

Excellent guide, thanks! :D

In the "How to Increase Raid Rebuild/Expansion Speed" section, you had a disclaimer that you hadn't seen any reports of anyone trying it.
For that reason I want to give you my account.

I have a TS-509 with v2.1.0 Build 1202.
I had a RAID-5 array with four 1TB WD drives (WD1002FBYS-01A6B03.0), and I added a fifth using "Add Drive" on the "RAID Management Tool" page.
Before I started that process I shut off all services (multimedia station, download station, web server, rTorrent++, etc...).
I understand that you're supposed to be able to access the data while it's expanding, but I'm totally new to RAID and I was a bit apprehensive about it.
So I took the "better safe than sorry" approach and did not access the NAS RAID drive at all during the expansion process.

After about 12 hours of expanding it was at 3%, which put it on par to complete in 8 or 9 days.
I then found the article on how to speed it up.

I logged in with Putty and found that the speed limit min and max were set to the default values:

#cat /proc/sys/dev/raid/speed_limit_max
# 200000
# cat /proc/sys/dev/raid/speed_limit_min
# 1000

Using "cat /proc/mdstat", I saw that the expanding speed was right around 1 to 1.5MB per second.

I used "echo 10000 >/proc/sys/dev/raid/speed_limit_min" to up the speed to 10MB per second.
Looking at "cat /proc/mdstat" again, I saw that within a time span of about a minute or so, the speed gradually increased to about 10MB per second.

I then used "echo 25000 >/proc/sys/dev/raid/speed_limit_min" in an attempt to up the speed to 25MB per second.
However I never saw anything above a speed of about 11MB per second.
I'm not certain if it reached a limit of how fast it could go, or if it only responds to the first speed_limit_min change.

The CPU usage was about 8-10% and the HDD, CPU and System temperatures never increased.
The temps were between 27-30C (80-86F) for the HDD and System, and about 19C (66F) for the CPU.
The ambient temp probably was around 13C (55F). (I have my NAS in an equipment rack in the basement).

After about 38 hours the process completed successfully.
If I had immediately increased the speed_limit_min to 10MB per second, I think the total time would have been around 27 hours.

Below are the entries it made in the log.
Note that where is says "Rebuilding done" is the 50% mark on the "Device Configuration - SATA Disk" web page, so the last 50% only took about 1.5 hours.

2009-01-14 10:06:04 System 127.0.0.1 localhost [RAID5 Disk Volume: Drive 1 2 3 4 5] Expanding Raid Device completed.
2009-01-14 10:06:04 System 127.0.0.1 localhost [RAID5 Disk Volume: Drive 1 2 3 4 5] Expanding Raid Device completed. Drive 5 is added.
2009-01-14 08:32:49 System 127.0.0.1 localhost [RAID5 Disk Volume: Drive 1 2 3 4 5] Rebuilding done.
2009-01-12 20:17:35 System 127.0.0.1 localhost [RAID5 Disk Volume: Drive 1 2 3 4 5] Start rebuilding.
2009-01-12 20:17:31 System 127.0.0.1 localhost [RAID5 Disk Volume: Drive 1 2 3 4] Start to expand Raid Device: Add Drive 5.

User avatar
Don
Guru
Posts: 11964
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York
Contact:

Re: [HOW-TO] A how to guide for TS-x09 NAS servers

Post by Don » Thu Jan 15, 2009 3:44 am

Thanks for the detailed response. I'm glad it worked. I'll remove the disclaimer from the next release.

Thanks again.
Don
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.3.6.0993 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

Locked

Return to “Turbo Station Installation & Setup”