The Blog is Back!and I Made a Change!
Learn more featured post
Jasonnash
03
September, 2016

Monitor SSD Cache Unmounting on Synology

synology_logo

Just a quick FYI. It can take longer than you’d think to unmount SSD cache on a Synology volume and while that is going on your volumes will be offline. If you’re using this in your vSphere (or other) lab don’t unmount the SSD cache without moving or shutting down your workloads. This didn’t hurt me, but I thought others may not be aware. I’m writing this as I wait for 2x100GB SSDs in a DS1813+ to unmount and it’s taking a while..far long than any timeout would allow.

If you want to get a status just ssh in to your Synology as admin and type:

more /proc/flashcache/md3+md2/flashcache_progress

You’ll see the initial amount of dirty..stripes…pages…somethings as well as how many are left to be flushed to disk. Example:


admin@Ratchet:/$ more /proc/flashcache/md3+md2/flashcache_progress
initial_num_of_dirty=1501855 remaining_num_of_dirty=1293265
admin@Ratchet:/$ more /proc/flashcache/md3+md2/flashcache_progress
initial_num_of_dirty=1501855 remaining_num_of_dirty=1292588
admin@Ratchet:/$ more /proc/flashcache/md3+md2/flashcache_progress
initial_num_of_dirty=1501855 remaining_num_of_dirty=1292504
admin@Ratchet:/$ more /proc/flashcache/md3+md2/flashcache_progress
initial_num_of_dirty=1501855 remaining_num_of_dirty=1292392
admin@Ratchet:/$ more /proc/flashcache/md3+md2/flashcache_progress
initial_num_of_dirty=1501855 remaining_num_of_dirty=1292258
admin@Ratchet:/$ more /proc/flashcache/md3+md2/flashcache_progress
initial_num_of_dirty=1501855 remaining_num_of_dirty=1292042
admin@Ratchet:/$ more /proc/flashcache/md3+md2/flashcache_progress
initial_num_of_dirty=1501855 remaining_num_of_dirty=1291884
admin@Ratchet:/$

Once the process is down the system will reboot.

Leave a Reply

Your email address will not be published. Required fields are marked *