September 15, 201411 yr I am thinking of getting an SSD to replace my 1.5TB WD green cache drive but I am not sure what size to get. I currently have my TV recordings save to my unRAID cache drive prior to being moved to the array so I have fair amount of data that gets written to the cache drive every day. My issue is that since they are TV recordings and the amount that I rerecord everyday changes is there a script that can be run before the mover runs to look to see how much GB's of data are on the cache drive and save/add it to a text file? This way I can make a more informed decision on what size drive I would get. I know that I can get a smaller SSD and have the mover run more often but this is not ideal for me. I am runing my unRAID on a ESXi server with the TV tuners running in another VM so I will see an increase is speeds because I am not limited gigabit.
September 16, 201411 yr you can add something custom to the mover. here's an example (that I have not tried). after then following line. cd /mnt/cache date > /tmp/mover.$$ du -hs /mnt/cache/* >> /tmp/mover.$$ todos < /tmp/mover.$$ >> /boot/logs/mover.txt rm /tmp/mover.$$ or put it in syslog (Which may not be kept as long) du -hs /mnt/cache/* 2>&1 | logger -tmover_du
September 16, 201411 yr Author you can add something custom to the mover. here's an example (that I have not tried). after then following line. cd /mnt/cache date > /tmp/mover.$$ du -hs /mnt/cache/* >> /tmp/mover.$$ todos < /tmp/mover.$$ >> /boot/logs/mover.txt rm /tmp/mover.$$ or put it in syslog (Which may not be kept as long) du -hs /mnt/cache/* 2>&1 | logger -tmover_du where can I find the mover? I am using v5.0.5 with dynamix.
September 16, 201411 yr /usr/local/sbin/mover Any changes you make will not survive a reboot. You can store the mod on flash somewhere and copy it in the go script.
Archived
This topic is now archived and is closed to further replies.