tydeno / Ploto

A Windows PowerShell based Chia Plotting Manager. Lets you automatically spawn and move plots. Sends you notifications on the go.
MIT License
32 stars 5 forks source link

[BUG] Plot mover isn't working #105

Open tekstaker opened 3 years ago

tekstaker commented 3 years ago

Describe the bug Plot mover isn't working for me. After a while, the outdrive just fills up, and the ploto script terminates.

To Reproduce I have a bunch of paths. Some exist, some are full.

eg:

...
    "EnableMover":  "true",
    "PathsToMovePlotsTo":  "H:\\chia_nft_plots,I:\\chia_nft_plots,J:\\chia_nft_plots,L:\\chia_nft_plots,M:\\chia_nft_plots,O:\\chia_nft_plots,P:\\chia_nft_plots",
    "DiskConfig":  [
...

Expected behavior

Ploto Version in use

Additional context @killadreams says that maybe we should use a single forward slash instead of the double backslashes in the PathsToMovePlotsTo parameter.

tekstaker commented 3 years ago

Here's a screenshot of the plotmover NOT finding valid plots in the outdrive: image

As you can see, there are two files in the outdrive awaiting transfer.

chefsas commented 3 years ago

@lanceosaurus can you confirm if Ploto-Mover is copying the files to the final destination you have specified in your config? I figured out that's what Ploto was doing with mine. They were being copied to the final destination, but Ploto would not delete them from the staging drive (source). I ended up having to setup a robocopy script that monitors the folders periodically for .PLOT files and moves them. That seems to be working for me right now.

tekstaker commented 3 years ago

No, it's not doing anything. The plots are not copied to the destination, they are just ignored.

On Mon, 12 Jul 2021 at 02:44, Scott Sheffield @.***> wrote:

@lanceosaurus https://github.com/lanceosaurus can you confirm if Ploto-Mover is copying the files to the final destination you have specified in your config? I figured out that's what Ploto was doing with mine. They were being copied to the final destination, but Ploto would not delete them from the staging drive (source). I ended up having to setup a robocopy script that monitors the folders periodically for .PLOT files and moves them. That seems to be working for me right now.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tydeno/Ploto/issues/105#issuecomment-877909758, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJILNL3LD7VRHJG4JHL7KDTXJCJJANCNFSM5AFON47Q .

chefsas commented 3 years ago

FYI -- here's the script I leave running in PowerShell -- it scans when 2 changes are detected (/mon:2) and moves the plots from E:\ to Z:\ (which is a network share on my farmer). I have multiple staging drives, so I just open multiple PowerShell windows and adjust the drive paths as necessary. This is messy because it isn't smart enough to move to the next final drive when Z:\ fills like Ploto would....

robocopy /mov /mon:2 E:\ Z:\ *.PLOT

tekstaker commented 3 years ago

Yes, I too have a manual script to move them.... but they are supposed to be automagically moved by Ploto!