Is there a way to use my main hard drive which is a NVMe pci3 SSD as a cache?
The use case is this:
When I sent large files from my desktop computer, to my Ubuntu server 21.04, I want my Ubuntu server to first dump the files I'm transferring to the NVMe drive and then to its intended destination to one of my mechanical 3.5 Hard drives.
Reason? To max out my 10 Gbit network connect I have between the two devices and to also (future-proof) max out 25 Gbit network connection when I upgrade.
Is this possible?
So basically how it goes is this:
I have sent a 10 GB video file from Computer A, and I want to transfer it to Server PC at location /somelocation/mechanicalHDD/videos and the way I envision it working in the background is that my server PC will first receive the files from my network connection directly to my main NVMe SSD drive (/home/cache) and then my server transfers from /home/cache to /somelocation/mechanicalHDD.
My main PC doesn't have to wait until my home server transfers it from /home/cache to /somelocation/mechanicalHDD. It only cares that I have successfully transferred it somewhere in my server for quick transfer speeds.