QNAP TS-877 Truenas Journal

I’ve been hoping to see more QNAP hardware users going to TrueNAS!!

I’m gonna follow this so I can see what options are / how well it runs / etc

4 Likes

Ok the next step is installing and setup

  1. setting up the usb flash drive using rufus to create a bootable usb flash drive with the truenas iso.

  2. boot up the QNAP then keep pressing F7 to enter boot selection. Pick the usb flash stick with truenas iso on it

  1. go through the truenas UI install procedure. once it completes, from the UI select restart

  2. go back into bios (either its F7 then setup, or it’s F8, F2, Delete or some other key i forgot which. Just spam one of those to get into bios), and change boot order. Move DOM to the LAST ENTRY. Add truenas OS to the 1st boot device. Then DISABLE DOM *very important. Then save the bios settings.

  3. truenas will boot up. Look at the monitor, it will display what ip to access your truenas ui from. so at this point switch to your other monitor (i used a single monitor, so i switch the output back to my desktop), then login to truenas using a web browser with that lan ip.

  4. setup truenas via the UI. You can youtube how to setup truenas. Tip however, if you see the DOM in the disks listed, DO NOT put any data on it. Just do not mess with that dom device. Instead i will select the 2x ssds to create a raid1 zfs pool to install truenas onto

  5. if your qnap model has a LCD, edit the truenas script with elvis fix (this was for a ts-453a, so it may need some possible editting)

*in regards to truenas setup, i won’t go through the entire process necessarily as you can youtube this. However i will mention a few things when coming from a QNAP QTS OS to an unfamiliar truenas OS

  • the default root user CANNOT do smb sharing. Instead you are asked to create your own user e.g. i called mine admin which i am familiar with.

  • shares which you are familiar in QTS, are called datasets on truenas zfs. So just like shares, you have to create these datasets on your raid pool in order to have a place to store your data. You ALSO need to change the ownership for those datasets to that new user you created. DO NOT use root for the owner to these datasets. Root is only used for accessing truenas UI to manage, that’s all.

  • highly recommended to setup a static lan ip for your truenas. You can set this either on your router issuing DHCP or on in truenas. Just make sure the lan ip is not within the router DHCP range to avoid potential ip conflicts.

1 Like

i had previously took out my graphics card and have to reinstall that first before i can proceed.

This was a non issue for the TS-653A and the TS-253D because they both had a HDMI port to connect the monitor. But for the TS-877, you really need that graphics card installed.

Hopefully i can find where i placed that graphics card otherwise i will have to postpone to order a second hand online. Some people like having a graphics card to do stuff like transcoding, AI acceleration or even to connect to monitor for a VM passthrough with it. but since i plan to populate the slot1 pcie x16 for the sfp+ pcie card, i am unable to do that :sob:

For something like a Nvidia 1050 GTX MSI Aero, no power cable is required. Simply plugging into the pcie is enough to power the graphics card. It won’t win any performance trophies, but if all you need simply is to connect to a monitor, something like that is more than sufficient.

Right now i am more in the prep stages. Almost done backing up. And just reposting the steps mostly for myself (and coincidentally helping others if they are also interested to make that transition), so i have everything planned ahead of time and i got the steps in order. It also helped that i had already done this before so i know what to do this time around.

1 Like

I’m not unique in doing this (converting QTS to Truenas for a QNAP NAS). Not the first and definitely not the last. Others have done so before and i’ve taken inspiration from that to have even tried this in the first place.



https://www.truenas.com/community/threads/installing-truenas-on-qnap-devices.91484/

https://www.truenas.com/community/threads/tales-of-moving-from-qnap-to-truenas-scale.100205/

https://www.truenas.com/community/threads/if-you-are-thinking-about-putting-truenas-on-your-qnap-it-is-just-wow-on-mine.107069/

https://forums.truenas.com/t/problem-installing-scale-on-qnap-display-goes-crazy-when-installer-starts/1617

Even in qnaps wiki they suggested an alternative OS which was debian or ubuntu. But you know what? For the newer qnap nas models we can do better :wink: Hence truenas. There have been many previous success stories proving it.

2 Likes

Looks like a box with a 4 port sff-8088 connector.

Ergo it’s probably just sata over external sas cabling.

If scale supports the qnap card, then I think it would work.

Otherwise an LSI hba with an external 4e connector should work.

If backing up to another truenas instance, replication is the way to go.

3 Likes

Investigate the sandboxes. I was able to port my docker-compose based system very easily.

3 Likes

i will investigate this and report back. good thing i have a 2nd backup just incase this tl box needs to be wiped.

previously i had wondered if i can use tl-d400s for truenas outside the qts ecosystem. but i could find no answer till now beside your post on this. so i will dig further.

https://www.reddit.com/r/truenas/comments/192o4xh/has_anyone_used_a_qnap_jbod_enclosure_like_a/

https://www.reddit.com/r/freenas/comments/m079uw/qnas_jbod_lsi_2008_will_this_work/

the plan is to be able to access this tl-d400s via truenas to setup a raid pool for the drives in that box. so i would have 2 raid z1 pools. one for the ts-877 and another for the tl box. the later will be the backup.

in qts there is an eject for the tl box, but what about truenas? how do you eject this sort of expansion box? to safely unmount so you can turn off power. and later plug it back in to remoun the raid pool successfully :thinking:

this is the sfp+ pcie and transceivers from 10gtek i ordered. Transceivers come in such a cute tin box. the card on box is the qnap 2.5gbe pcie addon card which i am replacing for the new sfp+ pcie 10g from 10gtek (if it works)

i installed the 2 transceivers into my sfp+ 10g switch in my homelabs network rack mount

basically i got the same server rack as this youtuber

1 Like

For LCD fix

  1. if your qnap model has a LCD, edit the truenas script with elvis fix (this was for a ts-453a, so it may need some possible editting)
    GitHub - elvisimprsntr/QnapFreeLCD: Scripts to display TrueNAS CORE information on QNAP LCD.

What does this do? Well here is an example

This is before (lcd can’t turn off and remains static 24/7). basically after installing truenas it breaks the LCD and makes it act like this. Some people suggested taping it over with dark tape, but i think we can do better :wink:

after applying fix, it shows this after finishing bootup, then it turns off. Perfection :face_with_monocle:

basically you had to go into truenas commandline to apply the fix

all credits to elvis for solving the lcd issue. he is a truenas resident here
https://www.truenas.com/community/members/elvisimprsntr.96049/

2 Likes

From that link:

have TrueNAS Core installed on a Dell Optiplex 5040 fitted with an LSI 9207-4i4e, and got the TL-400S enclosure set up today. Patrick wasn’t exaggerating when he said the SFF-8088 plugs were more robust. I had to push hard to get them to go in the sockets, and I’m not sure if they’ll ever come out.

So. Seems good.

1 Like

One of my experiments was to kick out the TL-D400S box and give it a new home connected to a TS-253D i had lying around.

The only purpose for this device is merely to access the TL-D400S via QTS (until i can figure out how to get the TL box to work with truenas. then i don’t have to do it this way. But till then…)

So that works.

i know what you’re thinking. bad drive going to hell. I will replace that when i have time. Point here is, TL-D400S works on a TS-253D no problem.

So what does this do?

Basically i can then kick off the TL box to a SEPARATE device, then my backup is truly a SEPARATE storage device. before i had to piggy back off the mothership (TS-877). And this prevented me from switching to truenas. Because had i done so, i would not have access to my backup (the TL-D400S) *because i had setup the raid using QTS. The only way to get raid5 on the 4 drives afaik.

But thkfully i had a spare QNAP nas with QTS which supported this TL box. So i will be accessing it over the switch 2.5gbe over lan for backing up and restoring data from now on. It might not be as good as connecting directly via SFF, but it’s good enough.

The other benefit, is that i will have access to hybrid backup sync which i was reluctant to part with because i am use to it and find it useful for backing up and restoring my NAS data. This way i won’t lose that feature even after moving to truenas for my main nas.

The only thing that didn’t work was the face plate for the QXP SFF pcie card. I had to remove that in order to get it to fit inside the slot. Because it had a metalic piece that was blocking inserting it into the slot. I could probably have filed that piece away to get it to fit, but it was a hassle.

There was a plastic piece on the QXP that would fall out when not attached to the metalic slot face plate. So i did a hack job and super glued it to the chip. I know shoddy work but w/e :rofl: I don’t have a 3d printing machine, or care to order a face plate if qnap had one (we all know the store is pricey for these parts…)

Inserting the SFF cable into the TS-253D QXP pcie addon card carefully, then after that don’t touch it. Because it doesn’t have a face plate to keep it stable in that slot, so you don’t want to mess with that. Not ideal but thought i’d report the issue i encountered.

The only other faceplate i had for this QXP was the longer slot version which clearly would not fit. I don’t have any other afaik.

Anyway tested accessing my backup via smb on windows desktop 11 pc, works fine.

All that is left is to find my graphics card, install truenas onto the TS-877.

My backup is all done already so i am ready :saluting_face:

2 Likes

You can run that lcd fix with an init script.

Although. If you can output stuff, surely it’d be cooler to have real stats.

See the Spencer and multi-report scripts.

2 Likes

correct. I think i have that setup on the TS-653A. When i boot it up i will check my truenas config and share the init script i have for it.

*update

as promised.

If you want to use scripts, in truenas system settings, it will look like this

also as you can see here, there is also even a script not to boot up the dom during nas boot up sequence, to avoid it showing up in the disk list (alternative to this is go to bios and don’t add the dom to the active boot up devices). but even if it does boot up, simply just ignore it. Don’t add it to pool or do anything with it, it’s fine.

If you do however overwrite the data on it or wipe it, and later you want to roll back to qts *doubtful but not beyond belief especially if later you are reselling the nas). You will have to go through a long series of nas recovery to do so. it’s just not worth the effort.
https://wiki.qnap.com/wiki/Firmware_Recovery

that’s why i rather not do anything with the dom.

1 Like

did a bit more work on the TS-253D running QTS.

Had bad drives, so replaced those for a working one.

I had a m.2 nvme ssd connected to the QXP pcie card, but for some reason it’s not detected. So i took it out, wiped the m.2 ssd on pc (i used a separate m.2 external enclosure to do that) via usb. Then reinstalled it, restarted. Still no dice.

I suspected maybe cause bios was configured previously that may have messed things up, but i couldn’t connect to the qnap bios for some reason. (or maybe it only support m.2 sata not nvme? )

The monitor connected to the QNAp worked fine, because i saw the screen mention a few things at one point in time, e.g. missing drives, need to install hdstation for hdmi, or qts is starting. So yes the monitor connected to the QNAP TS-253D worked.

Tried spaming F2, Delete, F7, F8 but didn’t work.

Also looked for the dom, cauz reddit said if you remove dom you might be able to get into bios.

So i dissasembled the whole TS-253D (it’s not too hard, but rather tedious. note down which groups of screws go where when undoing what you did later)

This is what that looked like after stripping it down

Couldn’t find the dom. If it’s there it’s probably soldered so can’t do anything about that. But i found the bios cmos battery. So i removed that for a few minutes hoping that will reset bios back to defaults without having to get into bios to do that.

Could also be that perhaps the cmos battery needs replacing. But i didn’t have a spare on hand, so i couldn’t check that.

So re-assembled everything, factory reset, and install qts into a new hard drive (well old but still works fine. i just need to be able to install qts and a few minor apps like hbs that is all)

m.2 SSD still not detected, no idea why (i used m.2 nvme, maybe it only support m.2 sata? no idea) . I did check that it’s inserted properly into the slot so i don’t think that is the reason. And it’s not the m.2 ssd at fault since i tested that working on desktop just fine.

So guess i have to forgo the m.2 ssd and just stick to the Hard drive to install qts and the apps, no problem.

note: earlier i mentioned i like hbs. that is true, but it isn’t without it’s issues.

Example, right now the latest HBS 3 Hybrid Backup Sync 24.0.0304 has a bug where sync gets stuck at 100% and doesn’t complete. Just check the qnap forum others also noticed this

So you may want to roll back to HBS 3 Hybrid Backup Sync 23.1.1116

Also for older QNAP models, they may not allow you to update to the latest HBS, so you will be stuck with an old version. Why is that bad? because some HBS are just broken. Example one of my qnap nas models the HBS is an old version and the RTRR is broken. There is a fix, but they refuse to add the patch simply because the NAS is an old model so support refuse to help with it.

The solution to the issue was to switch to RSYNC which still worked.

So HBS when it works, it does ok. When it doesn’t … :smiling_face_with_tear:

2 Likes

That thing is a very fragile design, connectivity-wise, but the external chassis is dumb. Replace the PCIe SATA controller with something actually reliable in the main box and it should work.

2 Likes

Well the way i see it, you can save yourself a huge headache by simply just getting a 4bay nas instead of something like this. saves a lot of hassle trying to get that to work with anything other than a QNAP.

Only if you were very commited to qts ecosystem, you might not have an issue with this. But i think more accessibility is the better option (you can connect it to non qnap stuff to access your data and manage the device). For a user having to connect it to another QNAP to access is not good if anything happens to your qnap nas. Will you get another qnap? (and even then it has to be in the compatibility list) then fine. But if not, then you are in trouble :cry:

Yes it has SFF to make speedy access (i logged 250 MB/s), but there are downsides it puts a leash on you forcing you into the qnap qts ecosystem making it harder to leave.

I have transitioned from 1gbe to 10g sfp+ so i don’t have to rely on such things for fast speeds.

tried to post this yesterday but got hit by posting limit

note: in regards to the TL-D400S, not everyone will have multiple QNAP nas. So i’m not a fan of the TL box being very dependent on a QNAP QTS in order to access the data. Yes you could setup raid with windows 11, but it’s fake raid and the performance is awful (Don’t do it).

The only other product which is self reliant is the TR series which has a hardware raid. However, in 2024, hardware raid sucks…

So if we can have a backup that can work on any pc (even if you had to go through the hassle of installing a QXP pcie with the SFF slot to do so), that would be for the better. It just goes to show just useful usb or type c is. Just plug and play, so quick and convenient ain’t it.

2 Likes

Bumped up your trust level a notch, should be better now. We’re still figuring out the fine tuning of these options.

That does not seem particularly relevant to TrueNAS. Surely the thing is a dumb disk box, exposing four SATA disks to a SATA controller (or SAS controller). The rest is up to ZFS and we don’t need to care about their stupid pseudo-solutions.

2 Likes

ty so much.

i wanted to edit existing posts to fix typos but i had to wait hours and a day just to do that. But then i’d be set on limit if i tried to post any update to the project.

as a previous moderator for different community, i can appreciate the hardships having to deal with botters/spammers so i see where you are coming from ^^; hard to find that balance.

But the fact you guys can discern where this kind of thing may or may not apply, you are already doing great even with this type speed bump in place :saluting_face:

yeah not exactly relevant. but for my situation it kinda is. because it’s my backup. so i am trying to get that setup working (in this round about manner) so i can convert the TS-877 to truenas, while still having access to that TL box to serve as a backup. That is the only reason why i even mentioned it in this thread since it’s relevant to my specific situation sadly :smiling_face_with_tear:

2 Likes

Fs.com suggested i use these parts to get sfp+ working for my ts-877 to my switch

They have a refund policy if it doesn’t work as claimed. So that is good. I just mention for others in case they are looking. No this is not a sponsored ad or anything like that. I’m just a regular user like you guys. I just mention them since others on reddit also recommended them so i think it should be safe (did notice their prices cost more than 10gtek :thinking: )

For myself i had already ordered 10gtek so a bit too late for me. but may reconsider if the dac cable arriving doesn’t work either though i don’t see why it wouldn’t. now i sus the sfp+ transceiver i received might not be the correct firmware (according to fs.com one should be for mellanox, and the other for your switch brand). So i’m checking if 10gtek can confirm which they sent me exactly and possibly replace them if it wasn’t correct.

yes i tried swapping the transceiver from switch to the qnap see if i had perhaps installed the wrong way around, still no dice.

Fyi when i did this for my desktop pc to my switch, it just worked without issue :wink: (same parts). One less worry.

As a new comer to sfp+ it can be good, and at the same time you can run into compatibility issues at times. More problematic if your transceivers aren’t reprogrammable, and even if they were you did not have the expensive tool to do that.

The dac cable seems to be the more reliable and cheap way especially if you are connecting for short distances. read these are very less likely to run into compatibility issues.

There is a lot to learn before you get into SFP+ i did my homework before i did, i suggest you do the same if you plan to try yourself. That said most people would rather stick to rj45 base-t since it’s plug and play no fuss :smirk:

Note: what they suggested for me, might not necessarily work for you. i suggest you contact them for a free consultation to get the right part recommended if you are planning to get from them. With sfp+ fiber transceivers you have to be careful in regards to compatibility. It’s a land mine x-x;

1 Like

Wait, you were blocked from editing? That’s unexpected, I’ll bring it up and see if we can relax that.

3 Likes