madMAx43v3r / chia-plotter

Apache License 2.0
2.27k stars 664 forks source link

Fopen() failed please help #946

Open Bahatinx opened 3 years ago

Bahatinx commented 3 years ago

E1F1A3D3-E150-4C38-879E-D796CD3007AD

Bahatinx commented 3 years ago

Please help me

ssd — samsung 970 evo plus nvme m2 ssd 500 gb Harddisk—— wd easystore 12tb - 8 tb

altendky commented 3 years ago

Does F: have enough space available for a k32? Does the directory F:\madenci\ exist? Have you tried safely removing F: and reconnecting it?

Bahatinx commented 3 years ago

yes everything you say is correct

altendky commented 3 years ago

Does "This will be written to the text file" | Out-File -FilePath F:\madenci\some_file.txt create the file and can you open it? I noticed that the fopen() error is for a plot file other than the one being created in the log there. Are you running madmax creating multiple plots in series? If so I guess this is the previous plot failing.

Note that when answering it is best to provide the evidence instead of just stating that things are ok. Sometimes even if they are we will notice other details that will help us identify the issue.

Bahatinx commented 3 years ago

text file is empty

Bahatinx commented 3 years ago

i got the error again

Bahatinx commented 3 years ago

@altendky

altendky commented 3 years ago

That's odd if it created the text file but the file was empty. That was intended to check if you could actually write to the disk. From that little test it isn't obvious that you can correctly write to the disk. It might be full. You may not have the correct permissions set. Is this a local disk or a network mounted disk?

Bahatinx commented 3 years ago

local disk

Bahatinx commented 3 years ago

"This will be written to the text file" | Out-File -FilePath F:\madenci\some_file.txt -- do we write this as a command ? Do I create a new text document and name it some_file.txt?

Bahatinx commented 3 years ago

@altendky

altendky commented 3 years ago

Yes, that was a PowerShell command.

Bahatinx commented 3 years ago

Can you tell me the exact command to type

Bahatinx commented 3 years ago

@altendky

altendky commented 3 years ago

Exactly what I wrote above. I'll tweak it here so it is a different file.

"This will be written to the text file" | Out-File -FilePath F:\madenci\another_file_name.txt
Bahatinx commented 2 years ago

fd76d366-bb40-43ab-adf6-7d86c5e82c6d

disk gives this error after a while and This cancels the copying process.

how can i fix this error

Bahatinx commented 2 years ago

@altendky

altendky commented 2 years ago

If your disk is disconnecting then that seems like a generic hardware issue, not chia specific. I don't know how to debug this well. Could be a bad cable, or damaged disk controller, or...