Read/Write Cache and moving drives to a new QNAP

This was quite the surprise to me, and I thought I would relate this story for anyone that has this issue. Without Paul’s help at QNAP support, I could never have gotten this working. Customer had a TVS-EC1280U 2017 QTS QNAP system. The chassis failed (we pulled everything out, and I still could not get an IP on any port - including a self assigned IP) - so I said “lets get a new QNAP”. We purchased a new TVS-h1677AX. I back revved the firmware from QuTS to QTS 5.2.10, and installed the 12 drives from the old QNAP. I fired back up, but the volume would not mount, and would not let me recover it in Storage & Snapshots. I called QNAP support, and Paul said “were you using READ/WRITE Cache on the old QNAP, because if you were, I won’t be able to get back your data”. WHAT ? !!! And the old mSATA drives can’t be put into a modern enclosure (to my knowledge). But Paul determined that the volume was set to a default READ only cache, and was able to get my volume back without losing any of the data.

I had no idea. So be careful with Read/Write cache on older QNAP systems (and have backups of your data - my client had no backups, so Paul saved the day).

Bob Zelin

Hello,

when you use M2-SATA-SSD, you can buy a QM2-2S-220A (Only when the new NAS has a PCIe slot)
QM2-2S-220A | Flexible and versatile, boosts performance and functionality | QNAP

Hi Becker2020 -

I believe that you are wrong. The old QNAP’s did not use M.2 SATA drives, and the QM2-2S-220A uses M.2 NVMe drives (so does the modern QM2-2P-384A, which I use all the time).

this is what a QNAP M SATA drive looks like -

https://www.bhphotovideo.com/c/product/1402314-REG/qnap_ssd_msata_256gb_a01_2_x_128_gb.html

That card uses M2 SATA drives, Becker2020 is correct

But QNAP would probably have to intervene in any case because I doubt the M2 SATA would be automatically recognized upon migration into a new enclosure (as cache drives most of all)

Hi Dolby -

but the old TVS-EC1280U-SAS-RP does NOT use M.2 NVMe !!! The shape of the M SATA drives is the 22110. It is very unclear to me (and I am probably wrong) that this shape/style would fit into a card that is designed to take M.2 drives. Perhaps I have the lack of experience in putting 22110 style M SATA drives onto a PCIe card.

bob

To be honest, I have never seen 22110 drives (The old SAS NAS description calls them mSATA without formfactor)

But the above mentioned card has 22110 listed as compatible (see the screenshot).

Just to be clear, M2 can be either NVMe or mSATA and the above mentioned card is a SATA variant (not NVMe)

I think @Bob is correct

The M2-SATA have other pins

I remember that m2 SATA adapters/slots had different “keys” (notches) for different “disks”.

But now that I explicitly image searched for it..I found this multi adapter card, they are indeed wider

I thought the 22110 was the wider card, but they are all 22mm wide (hence the number)

Plus side screws holes, vs single screw in the middle

I appreciate all the feedback - BUT - the whole point of my post, is that at this moment, I would NEVER use Read/Write Cache for any reason, because if you have a failure, and have to move your drives into a new enclosure - (unless it’s the same model) - you can really get screwed, and lose your data. And lets face it - almost no one is moving their drives into a new QNAP enclosure, unless their system is old, and had a catastrophic failure.

Bob

Yes Bob, that has been my mantra as well, but people hear cache and think it will do some amazing magic for them. Cache works only for limited scenarios and has a lot of downsides, the mentioned migration issue here or simple cache disk failure.

And there was a topic a few months ago were cached ZFS pool would slow down to a crawl after a rebuild. (disabling cache made it fast again)