Storage drive not mounted when plotting finished


When my plot finished, my storage HDD drive was not mounted and so the completed plot stayed on my SSD, with this error:

Could not copy "/mnt/ssd/plot-k32-2021-05-10-18-48-xxxx.plot.2.tmp" to "/mnt/hdd/plot-k32-2021-05-10-18-48-xxxx.plot.2.tmp".

So i mounted the HDD drive and manually, using cp moved it, however after watching another plot i see that after copying over, the plot is renamed and the temp file removed, like this:

Removed temp2 file "/mnt/ssd/plot-k32-2021-05-10-18-48-xxxx.plot.2.tmp"? 1
Renamed final file from "/mnt/hdd/plot-k32-2021-05-10-18-48-xxxx.plot.2.tmp" to "plot-k32-2021-05-10-18-48-xxxx.plot"

So my question is can i just manually remove the temp files from my SSD and just rename the plot on my HDD removing the ‘.2.tmp’?

If the tmp-file is completed, it should work.

Yes its completed. i just use the mv command right?

I’m learning Unix at the moment.

Navigate to /mnt/hdd
mv plot-k32-2021-05-10-18-48-xxxx.plot.2.tmp plot-k32-2021-05-10-18-48-xxxx.plot

or i guess from root
mv /mnt/hdd/plot-k32-2021-05-10-18-48-xxxx.plot.2.tmp /mnt/hdd/plot-k32-2021-05-10-18-48-xxxx.plot

One other thing, when the plot finishes and moves and renames the plot it tries to run a command:

(venv) username@chia:~/chia-blockchain$ cdls
Command 'cdls' not found, did you mean:

  command 'ccls' from snap ccls (0.20210330)
  command 'ccls' from deb ccls (0.20190823.6-1~ubuntu1.20.04.1)

See 'snap info <snapname>' for additional versions.

Ur command looks correct.
Cdls must be a bug or misconfiguration, as not even google knows it. Maybe its cd && ls.

1 Like

It didn’t do it (cdls) on the next plot. Maybe it queued up commands i had typed in my terminal session.