01-17-2023 06:09 AM
Hi all,
I have a problem:
A cRIO-9033 with a connected (inserted) USB stick - sometimes the connected USB stick gets unusable.
The problem is that this USB stick (with FAT32) gets sometimes unusable.
In the logs I can see:
kernel: FAT-fs (sdc1): error, fat_free_clusters: deleting FAT entry beyond EOF
And after this entry the file system is set to read-only.
Restart of the cRIO does not help !!!
After restart same issue: Filesystem is set to read-only
The USB stick is needed inside application for the storage of test result data.
I have this workaround. After this it works some time: unmount and re-format the USB stick from the cRIO (over putty) :
umount -l /dev/sdc1
mkfs -t vfat -F 32 /dev/sdc1
A NI technical support engineer told me:
I have reviewed the issue extensively and based on Linux, this error happens when there are I/O errors on the flash drive.
Remounting resets the error and returns you to a working scenario. However, I wish to try and repair the issue.
There should be a tool that does this, could you please run the following command when the issue appears:
dosfsck -a /dev/sdc1
After that the issue did not appear again, but I wanted to let you know about this issue.
The Service Request is closed because not appeared any more but I think it will appear again in some time.
Perhaps anybody had similar / same situation.
BR
Eugen Wiebe