I haven’t installed anything yet on the NAS. I just installed the hardware and placed it on the network. I need to setup the storage.
What options are optimal? The NAS will also store files for other applications.
I thought that it would be RAID 5 for the HDDs, and use the SSDs for cache. But I don’t know what settings will achieve these objectives. Assuming there is more than one way to do this, what is best?
If the SSDs are setup as cache, wouldn’t all the files still be safe in the RAID 5 on the harddrives? Or will the SSDs need to be setup as RAID 1? What settings to use?
The HDDs are all Seagate Exos with 2.5 million hours MTBF. The M.2 SSDs are Samsung 870 EVO, so they will likely not last for nearly as long.
With all drives out of the machine (only the M.2’s installed),
Install QTS on the M.2 and set as RAID-1 (mirror)
To do this, install on the first SSD.
QTS will then let you MIRROR in (ADD DISK) the second SDD
(Storage & Snapshots -> Management of the installation SSD.
You add it to a thick storage RAID mirror)
This screenshot shows the status after creating the RAID-1 mirror
Adjust the volume Inode size above the default 4096 bytes to increase Max capacity if you plan to install bigger drives later. My size is set to 32K or 64K (do not remember)
I have this array configured for a maximum size of 128TB (8 x 16 TB drives)
cache will flush things out and then load up the cache only to flush it again.
IMHO, this is extra cycles on the SSD.
I make QTS CACHEDEV1_DATA an SSD. The data is permanent there. it’s not tossed around That which is mostly static (the app code itself) isn’t constantly being cached in and out.
If you want an SSD cache for the main HDD array – that’s another question and yes, setup an SSD cache for the main arrray ONLY (CACHEDEV2_DATA)
Hey Chuck, I’ve been seeing your posts a lot since I too just purchased a qnap 453D and looking for the best setup. Unfortunately, I’ve already setup the HDD raid 5 volume and would have to start from scratch to get QTS on the m.2 I plan to install.
Few questions
Do you also install all your dockers on the QTS ssd?
For plex, do you use ramdisk for transcoding to minimize the read/write to the drives?
I’m planning to install PMS on the QTS tier but not sure how that will impact the longevity of the drives
I don’t use it. Why burn a SSD unnnecessarily?
Make a dedicated SSD cache for the main array and be done
-or-
Put PMS on a SSD and let it use its default location (which is on the SSD)
The SSDs are good for 535 MB/sec (SATA-3 speed). (equiv of 5 Gbits/sec video)
PMS location
Because I have 4 more 2.5" SSD slots:
Install another 2.5" SSD in SSD slot 1 – CACHEDEV3_DATA
Install PMS there then shut it down.
SSH session - at the shell level – move PMS from /share/CACHEDEV2_DATA/.qpkg/PlexMediaServer to /share/CACHEDEV3_DATA/.qpkg/PlexMediaServer
Now, if you want to be swoopy about it.
Create a PlexData shared folder (exact name) before installing the SSDs
Restart Plex
PMS will create a link there to your PMS install.
Use FileStation to go into it and make a ZIP backup.
Store that ZIP on the HDD array in a shared folder somewhere
Now , no matter where your PMS installation is,
a. PlexData points to that area.
b. You can go in there and delete what it created (it’s junk)
c. Unzip your backup into position.
d. Start PMS
I made a How-To in the QNAP FAQ on using the PlexData share for Backup/ Restore
Ramdisk - transcoding
I wouldn’t . HDDs are good for 200+ MB/sec in the array (2 Gb/s of video)
You need that much transcoding?
You’ll need a 10 GbE ethernet adapter card before you run out of the HDD/SSD combination. (DirectPlay is your friend here – try to curate the media that way)
I’m newer to qnap so this is a lot of information to digest, but definitely appreciate the thorough write up.
After installing the second array (HDD) back into the NAS, will it maintain my data from before it was removed? Or do I need to back and redo things from scratch?
I won’t have room for another SSD for dedicated PMS. Will the lifespan of a 500gb 970 evo m.2s have enough lifespan if I leave the PMS on their. I actually do moderate downloading from sabnzbd which may also reduce lifespan.
How did you point your plex to transcode to the HDD after it’s been installed on a SSD? Are you using the native app or a docker?
After installing QTS on the M.2, simply power off and re-insert the HDDs then power on. QTS will detect the complete array and add them as a new CACHEDEV because they already contain all the proper QNAP signatures.
The 500GB 970 EVO has a 600 TBW (TerraBytes Written) rating. The 970 Pro 1TB has a 1200 TBW. With this as my main array cache, and with everything I do, it still has 92% lifespan. I would expect about 5 years on those EVOs.
I’ve found the Pro rated to be the better choice. I will be upgrading all mine to Pro as they expire. The write endurance is worth the small extra cost. (my fingers not good with tiny screws anymore)
Pointing Plex to transcode on the HDD after installing on the SSD? Easy - Settings - Server - Transcoder - Show Advanced
I don’t use docker except for 3 appliance apps which are only available in docker form. PMS is best as native IMO – but then again, I’m biased because I’m the QTS package author It has direct HW access without any fuss. It will find Nvidia GPU cards automatically
lol at the “QTS author.” I don’t run it in docker now and also prefer the native app.
Okay, I think this is perfect because I thought I had to back up data from the hard drives and then put them back on the array
Should I back up my configs on my dockers, delete them, and then just recreate them after I get QTS on the M.2s?
Oh I forgot to mention, I’ll be mixing and matching the M.2s. I have an existing 960 evo 500gb with about 23tb writes on them. I plan to do as you suggested with raid 1 with a new 970 evo 500gb.
Lol, I feel like you make this seems simpler than it sounds. Since i’m newer to this space, I might break something
I’m learning a bit about docker. The apparent quintessential point about Container Station / Docker on QNAP — Mount the /config to a retained directory in the file system when creating the container. Also mount your media locations, etc as normal.
Hardware configuration really is easy but then again, i have a lot of experience with systems like QNAP.
I have three rules:
If it doesn’t work - force it
If you can’t force it - pee on it
If neither works - it wasn’t worth having in the first place
If you want to back it up ( ALWAYS prudent with any configuration change ), do so.
Absolutely backup all your container configurations. When QTS is installed on the SSD, there will be no container station. You will need to install – hence you will have no apriori containers defined.
Thank you sir. I will report back when everything is completed. I’ve already backed up the container info so when I re-create it I can drop the config files back.
This has been such a helpful thread! I just also bought the 453D and have a slightly different configuration that I’m about to set up. Wanted to get your thoughts as I’m getting started.
1 x TB 870 EVO 2.5 SSD
2 x 3.5 HDDs
To optimize performance, the plan is to start with the SSD, instal QTD and PMS, which I think will make that CACHEDEV1. Then to install the HDDs and set them up as a volume in RAID 1 (this is for the media), which I think will make that CACHEDEV2.
Does this approach make sense? This is my first NAS, so learning as I go here