So, I do recall last year creating new card (512GB) and started using that.
The symptom is i'm trying to sync/backup over network from the ASIAIR to PC using robocopy and suddenty it will say during the transfer io error. (and subsequently fail to get all my 325GB of files)
To verify i have all that i can possibly restore (I've created a troubleshooting script in dos batch), I hope to use the same script to only look at files since the last nights session and just copy new files. (using a LASTCOPIED.TXT that has the dos date). - I'll attach that for references, I'v ebeen trying to exclude the corrupted file date (it seemd to occur on 0731 of 2024, maybe a firmware update caused it?) during capturing autorun/flats/darks,etc..
What I've done is deleted the corrupted files off the card so I won't try to copy them in future. I probably need to reformat card
So my Questions:
1) what does CLEAN function of ASIAIR do?
2) is there scan tool that or procedure for fixing TF card?
3) has anyone else experienced this recently or was it just limited to July 2023 (and it was fixed in prior update)?
And to share were my trouble shooting steps were, and comments and robocopysince.bat file:
echo on
rem I just put this batch file in my local PC's folder that i want to copy it to, in my case D:\GOLD4TB_RESTORE\ASI512GB
rem first check your net connection at \\ASIAIR and reboot asiair if you can't reach it after copies filed previously with io error
set LASTCOPIEDFILE=%~dp0\lastcopied.txt
rem First time, just use the system time as lastcopied, however this probably results in no files found, edit the file to have a date in past
if not exist "%LASTCOPIEDFILE%" echo %DATE% %TIME%>"%LASTCOPIEDFILE%"
for /f "tokens=*" %%a in (lastcopied.txt) do set LASTDATE=%%a
rem if day of week at beginning get just date portion
if not defined LASTDATE for %%a in (%LASTCOPIEDFILE%) do set LASTDATE=%%~ta
if not defined LASTDATE (
set LASTDATE=%DATE:~4,10%
)
echo %LASTDATE%
rem make date YYYYMMMDD for robocopy compares using MAXDATE
if "%LASTDATE:~3,1%"==" " set LASTDATE=%LASTDATE:~10,4%%LASTDATE:~4,2%%LASTDATE:~7,2%
set MAXDATE=%LASTDATE%
echo since MAXDATE: %MAXDATE%
set SOURCEDIR="\\asiair\tf images\"
set TARGETDIR=%~dp0
rem this sets work to copy to folder locally on pc
pushd "%SOURCEDIR%"
set ADDLARGS=/R:0 /W:1 /xf ^
*230409-195958_0008* ^
*30409-200018_0013* ^
*0409-200033_0017.fit* ^
*20230731* ^
*20230731-132342* ^
*0230731-132347* ^
*20230731-132351* ^
*20230731-132403* ^
*230731-132426* ^
*0230731-132414* ^
*0230731-132253* ^
*20230731-132257* ^
*20230731-132302* ^
*20230731-132306* ^
*20230731-132311* ^
*20230731-132315* ^
*20230731-132319* ^
*20230731-132324* ^
*20230731-132328* ^
*20230731-132333* ^
*20230731-132338* ^
*20230731-132342* ^
*20230731-132347* ^
*20230731-132351* ^
*20230731-132403* ^
*20230731-132414* ^
*20230731-132426* ^
*20230731-131351* ^
*20230731-045734* ^
*20230731-051235* ^
*20230731-052736* ^
*20230731-054237* ^
*3-07-30_21* ^
*08-18_20* ^
*08-15_20*
rem *0731* *23-07-30* *-08-15* *230409* *20240929-220710* *2023-08-18_203200.txt*
rem this only tries readwrite 0 and 1 time
set ADDLARGS=/R:0 /W:1
rem this is restricting the dates
set ADDLARGS=%ADDLARGS% /MAXAGE:%MAXDATE%
rem this /L line preview tells it to log only
robocopy . "%TARGETDIR%\ASIAIR" /xc /xn /XO /xx /r:0 /W:1 /E %ADDLARGS% /l /log:%LASTCOPIEDFILE%.%LASTDATE%.preview
rem this retries full copy
robocopy . "%TARGETDIR%\ASIAIR" /xc /xn /XO /xx /r:0 /W:1 /E %ADDLARGS% /log:%LASTCOPIEDFILE%.%LASTDATE%
popd
pause
Thanks for listening, hope this helps anyone who had that issue :-)