Changes for disk performance

My DVR server has a 500gb internal ssd and a 4tb external/usb3 disk.

I pointed the dvr directory to the usb3 disk.

It makes sense to keep the big TV directory on slower/bigger media. I think it also makes sense to put the Streaming directory on the SSD since it's faster, right?

Is there a better way to do that than to symlink directories?

Symlink is the best way.

1 Like

Thanks was wondering also how to do that.

for anyone in the future searching for how to optimize SSD vs external HD:

in my case, I have the usb drive mounted as /usb/1. i created a directory /usb/1/dvr/ for channels to use as the dvr directory in Basic Setup. /home/dvr1 is the home directory of the user that channels runs as and is on the ssd.

I did this:

mkdir /home/dvr1
sudo /etc/init.d/channels-dvr stop
cd /usb/1/dvr

for dir in Database Images Logs Streaming ; do
    sudo mv $dir /home/dvr1/
    sudo ln -s /home/dvr1/$dir .
done

sudo /etc/init.d/channels-dvr start

it's not clear to me how channels will react if your ssd fills but you have plenty of space on the usb. meh.