Open markkundinger opened 3 years ago
not sure about No.1 as I used a library which gives the free disk space, not sure it works on SMB share. I will add support other plot size in the future.
Hey @maded2 really nice tool.
Regarding @markkundinger requests.
and for 3.a I experimented on a fork and implemented such a check. Rudimentary, hardcoded and messy as I'm not used to GOLang but so far it works very nicely for me - only tested on windows (https://github.com/Plopsi/plotng/blob/feature/tmp-space/internal/server.go#L135-L216) maybe @maded2 wants to implement it cleaner and configureable ;)
hi! First of all I think this tool is super cool and has made my plotting life a lot better than just using the stupid broken Chia GUI.
right now we have DiskSpaceCheck. Which checks space in the destination directory for approx 105GB free...
1) as a possible bug report, when I run plotng on a windows system and my destination drive is a mapped SMB share, I always get an error that the drive (0b free)is full despite having space.
2) I think it would be good if we could specify our own disk space requirement. Maybe we're plotting bigger work units, or maybe we just need to reserve space for other things.
3) I also think we should have an option to check the temp drive for space. Because: a) the temp drive can also run out of space which is bad b) if the temp drive and destination are the same, then we'd need more space c) to accomodate for other things going on in that drive. like other chia plotters or regular productivity usage.