Replacing Upgrading

Questions about SNMP, Power, System, Logs, disk, & RAID.
Post Reply
Govnah
Starting out
Posts: 28
Joined: Sat Feb 11, 2017 8:57 pm

Replacing Upgrading

Post by Govnah »

I have a QNAP TVS-882 with 2 SSDs in a RAID where most of my apps and system is installed. They are setup in a RAID 1 and I would like to replace/expand those drives. I assume I just need to dynamically pull one drive out and let the system rebuild the RAID followed by the 2nd drive?

Also, when I set this up initially I was new to QNAP and installed an M.2 drive and I use that has a caching drive, which I assume is fine.


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

Re: Replacing Upgrading

Post by Don »

Follow the directions in the manual for replacing the drives.

I hope you are not using a single drive for read/write cache.
Use the forum search feature before posting.

Use RAID and 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.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
Govnah
Starting out
Posts: 28
Joined: Sat Feb 11, 2017 8:57 pm

Re: Replacing Upgrading

Post by Govnah »

Yup I will take a look at the manual. Yes, I am using 1 M.2 drive for caching, from what I am hearing I may need to add an additional M.2 and setup as RAID0 and the enable that RAID0 as a caching drive?

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

Re: Replacing Upgrading

Post by Don »

If you are doing R/W caching you need to set up RAID 1. Anything else and you risk losing data if a drive fails.
Use the forum search feature before posting.

Use RAID and 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.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
Govnah
Starting out
Posts: 28
Joined: Sat Feb 11, 2017 8:57 pm

Re: Replacing Upgrading

Post by Govnah »

Wait, I have one physical drive M.2 that is use as a caching drive for the RAID5 volume, 20TB. Are you telling me if I lose that single M.2 caching drive my RAID5 volume would fail as well?
I have thought the caching drives, well just caching drives and if they failed I could just replace as needed and the only down-side is I would not have caching enabled for which every volume there were attached to and in this case my RAID5 20TB volume.

I was going to be adding an additional M.2 and attach it to my other volume, RAID1 (system and apps) that consist of SSDs.
Now what I think I am hearing I need to add an additional M.2 create a RAID1 and assign it to one volume. What I was going to do was add the additional M.2 and use that as an additional caching drive for my other volume RAID1 (system and apps).

Question, given the M.2 drives have a high-bandwidth my thought they would provide the greatest benefit as caching drives, or should I move the system and apps to the M.2 and use the SSDs as the caching option.

Yes I am reading best practices currently..."Use mSATA and SSD drives for Read/Write caching available on QTS 4.2.0, using 2 or 4 SSD and create RAID 1 or 10 as the caching pool. See Fig. 1 & Fig. 2"
Looks like I answered my question, I needed to create a RAID1, if I lose that caching drive I'm toast.
If I remove caching from one of my volumes/RAID5 to reconfigure and add back will I lose my data on the RAID5 volume? Plan is to add an additional M.2 (2-Samsungs 500GB) configure as RAD1 and add back. From what I am reading I should be able to provide caching for both volumes (RAD1/System/Apps and RAID5/data)?

Is 500GB overkill for a caching volume I currently have a 250GB crucial and would either add an additional 250GB crucial (cheapest) or upgrade to 2-Samsunng 500GB Pro, if that wouldn't be a waste of money.


Thanks
User avatar
storageman
Ask me anything
Posts: 5506
Joined: Thu Sep 22, 2011 10:57 pm

Re: Replacing Upgrading

Post by storageman »

Govnah wrote:Wait, I have one physical drive M.2 that is use as a caching drive for the RAID5 volume, 20TB. Are you telling me if I lose that single M.2 caching drive my RAID5 volume would fail as well?
I have thought the caching drives, well just caching drives and if they failed I could just replace as needed and the only down-side is I would not have caching enabled for which every volume there were attached to and in this case my RAID5 20TB volume.

I was going to be adding an additional M.2 and attach it to my other volume, RAID1 (system and apps) that consist of SSDs.
Now what I think I am hearing I need to add an additional M.2 create a RAID1 and assign it to one volume. What I was going to do was add the additional M.2 and use that as an additional caching drive for my other volume RAID1 (system and apps).

Question, given the M.2 drives have a high-bandwidth my thought they would provide the greatest benefit as caching drives, or should I move the system and apps to the M.2 and use the SSDs as the caching option.

Yes I am reading best practices currently..."Use mSATA and SSD drives for Read/Write caching available on QTS 4.2.0, using 2 or 4 SSD and create RAID 1 or 10 as the caching pool. See Fig. 1 & Fig. 2"
Looks like I answered my question, I needed to create a RAID1, if I lose that caching drive I'm toast.
If I remove caching from one of my volumes/RAID5 to reconfigure and add back will I lose my data on the RAID5 volume? Plan is to add an additional M.2 (2-Samsungs 500GB) configure as RAD1 and add back. From what I am reading I should be able to provide caching for both volumes (RAD1/System/Apps and RAID5/data)?

Is 500GB overkill for a caching volume I currently have a 250GB crucial and would either add an additional 250GB crucial (cheapest) or upgrade to 2-Samsunng 500GB Pro, if that wouldn't be a waste of money.


Thanks
You should not add or remove caching while there is a potential for data IO to the volume.
RAID 1 is always advised for cache drives because if you lose write cache you lose what's temporarily in the cache hence data can get corrupted. Loss of read cache matters less as its recoverable.
The bigger the cache the better for reads because more data can stay in cache and be read ahead, bigger cache drives have less impact on writes because writes don't stay long.
Loss of cache can be very damaging for image type files such as ISCSI file or block LUNs or VMs but generally speaking volumes can persist with loss of write cache - though clearly it's something to avoid corrupting files!
Govnah
Starting out
Posts: 28
Joined: Sat Feb 11, 2017 8:57 pm

Re: Replacing Upgrading

Post by Govnah »

Strongman thanks for the reply. I read and validated on the NAS I have the option of removing the cache drive and adding SSDs. My plan is to make sure I have a good replicated backup and then remove the current M.2/cache drive and adding back 2 M.2s configure as RAID1 and assign to my volumes accordingly. I assume after reading this is correct approach and prevent any corruption while the cache is being removed as instructed.

From an OS/System/Apps perspective (2 SSDS RAID1) I can actually go into storage - manage and use the utility accordingly to replace each drive.

Again, thanks for the replies and if I missed anything please let me know.
User avatar
storageman
Ask me anything
Posts: 5506
Joined: Thu Sep 22, 2011 10:57 pm

Re: Replacing Upgrading

Post by storageman »

Sure, should be no problem adding back later. It's removing where's more risk.
If a cache drive fails you can replace and let re-sync just like a standard volume RAID group.
User avatar
Don
Guru
Posts: 12289
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: Replacing Upgrading

Post by Don »

@Govnah - you never specified if you were using read/write caching or read only caching. For R/W use RAID 1 or 10. For RO use whatever you want.
Use the forum search feature before posting.

Use RAID and 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.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
Govnah
Starting out
Posts: 28
Joined: Sat Feb 11, 2017 8:57 pm

Re: Replacing Upgrading

Post by Govnah »

I am using RW and will change to RAID1 once I add an additional drive.

Thanks
User avatar
Trexx
Ask me anything
Posts: 5388
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: Replacing Upgrading

Post by Trexx »

Just turn Ssd caching off and remove the drive from caching in storage manager and you will be fine until you get your 2nd m.2. You could add it back as a read-only cache drive in the interim if you like with no risk.


Sent from my iPhone using Tapatalk
Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
Post Reply

Return to “System & Disk Volume Management”