-
Posts
19 -
Joined
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Report Comments posted by rkotara
-
-
Bump! Very interested in this as should all other users. I know I'm new here, but all the more reason as I immediately discovered this is a pain point for my SSD cache once I set it up.
[6.8.3] Unnecessary overwriting of JSON-files in docker.img every 5 seconds
in Stable Releases
Posted · Edited by rkotara
I've created a quick script to log my SSD write accumulation so I can watch it without having to grab it manually. This works great for my Samsung SSDs, which I prefer, may not work for other brands. Since people watching this issue might find it useful, I'm thought I'd posting it here. Just change the /dev/sd? to your devices (I have two SSDs in a pool, sde and sdg). This outputs to a csv files in my /mnt/user/down folder (change down to your favorite folder for this) called SSD.csv. I run it daily using the user scripts plugin. This makes it easy to just open with Excel and check it from time to time and add formulas to compute daily accumulation, etc. This is pretty basic, so I didnt include any header row in the script itself, but its this (LBAW=LBA written, GBW=Gigabyte Written):
Date,Time,sde LBAW,sde GBW,sdg LBAW,sdg GBW
#!/bin/bash dt=`date +"%D,%T"` sdeLBA=`smartctl -Ai /dev/sde | grep LBA | awk '{print $NF}'` sdeGB=$(($sdeLBA*512/1024**3)) sdgLBA=`smartctl -Ai /dev/sdg | grep LBA | awk '{print $NF}'` sdgGB=$(($sdgLBA*512/1024**3)) echo "$dt,$sdeLBA,$sdeGB,$sdgLBA,$sdgGB" >> /mnt/user/down/SSD.csv
Update:
After several days of mixed but typical usage (normal runtime writes and a few container updates), I found that writes are under 10GB per day to cache for my setup. This is after implementing several of the mods people have mentioned in this thread and with about 6 active containers only.