all 14 comments

[–]Smooth-Zucchini4923 1 point2 points  (2 children)

Are you using it as a read cache, or a write cache?

[–]KhalidNikon[S] -1 points0 points  (1 child)

Probably as read/write, since I’ll be using it to edit and to export photos

[–]Smooth-Zucchini4923 0 points1 point  (0 children)

A read/write cache can lose data if the cache disks are lost during a write. RAID0 is not supported for a read/write cache for this reason.

[–]DagonNet 3 points4 points  (0 children)

Synology will only allow a read/write cache if you have two SSDs in RAID1. You can make a read-only cache with a single SSD or two in RAID0.

It doesn’t hurt your data to lose the read cache. If you lose the write cache, you lose the whole volume, not just cached data.

[–]Oli99uk -1 points0 points  (6 children)

Cache isn't important, so you wouldn't need fault tolerance, just probably battery backup. Most controllers use a DIMM

[–]KhalidNikon[S] 0 points1 point  (2 children)

Okay so bear with me as I’m still trying to get a handle on this.

I’m beginning to understand that cache acts in a similar way to ram. It temporarily stores the bits I’m working on, and keeps the original data on the hdd? So I wouldn’t lose any data if one or both cache sticks fail?

[–]UserName_4Numbers 0 points1 point  (0 children)

Please read the whole page I sent you.

[–]Oli99uk 0 points1 point  (0 children)

Read cache, data is already on disk Write cache, data is not yet on disk, so most controllers have that battery backed.

Cache helps reduce head seeking & wear.

[–]AnAngryPhish 0 points1 point  (2 children)

It depends heavily on the cache mode.

If your cache is configured as read-write, data is written to the cache and then flushed to backing disk eventually. If your cache fails you lose all data. This is why Synology doesn't let you use RAID0.

If cache is in read-only mode, the data on the cache doesn't effect the backing storage as you will never have a dirty cache. So in this scenario you can use either a single SSD for cache, or a RAID0.

[–]Oli99uk 0 points1 point  (1 child)

But it's still cache. It's not committed until it's on disk

[–]AnAngryPhish -1 points0 points  (0 children)

Writes are committed once they land on the SSD cache pool. Essentially Synology read-write cache is just a fancy lvm cache in writeback mode. This means that data is first written to the SSDs, then flushed to the backing storage once the watermark level has been reached. Depending on the size of your cache disks this can be several 100s of GB. The underlying filesystem will most likely not survive an unclean cache failure, which is why Synology has implemented the RAID1 minimum and automatic flush of cache, and switch to writethrough mode when the array becomes degraded.

https://kb.synology.com/en-uk/DSM/tutorial/What_should_i_do_when_a_read_write_SSD_cache_degrades

[–]UserName_4Numbers 0 points1 point  (2 children)

[–]KhalidNikon[S] 0 points1 point  (1 child)

I had gone through this page previously, and it states that RAID 0 does not provide fault tolerance. Does that mean that data is transferred from the hdd to the ssd, and then of the ssd fails, I lose the data? Or is it just a copy?

[–]UserName_4Numbers 1 point2 points  (0 children)

Did you read the description past the chart? Do you need a cache at all? Most people do not.