Hello forum.
I'm trying out FreeNAS again for the first time in a couple of years, having been running plain FreeBSD on my file server with everything configured by hand until now.
One thing I've been doing is keeping a local mirror of the centos.org repository on my file server so that I can quickly kickstart Linux VMs on my home LAN. To this end, I had a script that ran the following commands:
I'm trying to work out how to do this with FreeNAS, but the terminology used in the documentation has left me unsure of how.
The docs on Rsync Tasks refer to a rsync server pulling files and an rsync client pushing files. It seems to be the specifying of "push" or "pull" that determines whether FreeNAS runs the rsync client or starts an rsync server. This doesn't fit with what I was doing. I ran the 'rsync' client program to pull files from a remote rsync server.
Is it not possible to replicate my script's behaviour through the FreeNAS GUI, or am I misunderstanding something?
Thanks for any clarification.
JM
I'm trying out FreeNAS again for the first time in a couple of years, having been running plain FreeBSD on my file server with everything configured by hand until now.
One thing I've been doing is keeping a local mirror of the centos.org repository on my file server so that I can quickly kickstart Linux VMs on my home LAN. To this end, I had a script that ran the following commands:
Code:
rsync --recursive --links --perms --times --delete --partial --no-motd --verbose \ rsync://rsync.mirrorservice.org/mirror.centos.org/7.4.1708/os/x86_64/ \ /pool2/repo/7.4.1708/os/x86_64/ rsync --recursive --links --perms --times --delete --partial --no-motd --verbose \ rsync://rsync.mirrorservice.org/mirror.centos.org/7.4.1708/updates/x86_64/ \ /pool2/repo/7.4.1708/updates/x86_64/ rsync --recursive --links --perms --times --delete --partial --no-motd --verbose \ rsync://rsync.mirrorservice.org/mirror.centos.org/7.4.1708/extras/x86_64/ \ /pool2/repo/7.4.1708/extras/x86_64/
I'm trying to work out how to do this with FreeNAS, but the terminology used in the documentation has left me unsure of how.
The docs on Rsync Tasks refer to a rsync server pulling files and an rsync client pushing files. It seems to be the specifying of "push" or "pull" that determines whether FreeNAS runs the rsync client or starts an rsync server. This doesn't fit with what I was doing. I ran the 'rsync' client program to pull files from a remote rsync server.
Is it not possible to replicate my script's behaviour through the FreeNAS GUI, or am I misunderstanding something?
Thanks for any clarification.
JM
Last edited: