@jack6070
Well, it’s really not that difficult.
1: download file. Best in your cuda root directory.
wget https://github.com/lmacken/plow/blob/main/plow.py
then edit this file:
nano ploy.py (or vi ploy.py)
In line 24 it starts with the specification of your NVME-SSD
SOURCES = []
Example from my computer
SOURCES = [‘/mnt/NVME’]
Then it continues with the possible targets.
DESTS = []
Example from my computer
DESTS = [‘/mnt/usb-hdd’,‘/mnt/usb-hdd2’,‘/mnt/usb-hdd3’,‘/mnt/usb-hdd4’,]
THEORETICALLY that’s it.
But with me it works a little bit different, because the plotter is offline and only responsible for plotting. So I take my Windows NTFS disks from the Farmer and attach them to the plotter. Plotter then full and then the disks go back to the Windows Farmer.
If you have the same setup, then you still need to go under:
RSYNC_FLAGS delete the two entries “–preallocate”.
Target:
if BWLIMIT:
RSYNC_FLAGS = f"–remove-source-files --whole-file --bwlimit={BWLIMIT}"
else:
RSYNC_FLAGS = “–remove-source-files --whole-file”
Then plow can also write to FAT/NTFS.
Actually everything is super commented out. The documentation is in the file itself.
The whole thing is a python3 script. You start it with:
sudo python3 ploy.py
And THEN it becomes unfortunately very confusing.
lmacken has really put a lot of effort into the functionality.
User-friendliness was probably at the back of the list or doesn’t really exist.
Endless long lines that break at the back even at 1920px and thus become unreadable. The plot name could have been shortened.
e.g. plot-k32-c05-2023-07-2-09-55 abcde[…]fgh.plot
One juggles usually only with 2-4 files/hard disks.
Speaking of:
My plots are done in about 6min. I started with 4 HDD’s.
Then 3… and later I found out that 2 HDD’s are enough without filling up the NVME. But it can be different for you. Faster plotting requires more HDD’s.
You don’t need to change the script itself. HDD’s (or mountpoints) which are not available will not be addressed.
@lmacken:
In case you ever read in here:
Wish list:
- Shorten plot name output
- Show progress bar for copy => rsync_options see above.
- It would be nice to specify how many plots still fit on it:
move “plot-k32-c05-2023-07-2-09-55 abcde[…]fgh.plot” to /mnt/usb-hdd2 78/125 plots
- a paragraph between the lines. We can all scroll… and a TFT is not a “pressed sausage”
Thanks