‎04-08-2024 04:27 AM
Hello all,
I have a problem with our cRIO 9033: it makes the adapted USB Stick (means USB Flash) sometimes read-only:
It is a cRIO 9033 and has an inserted USB stick / flash. The problem is that this USB stick (with FAT32) gets all few days / weeks / months unusable.
In the logs I can see then:
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
Only this helps: unmount and re-format the USB stick from within cRIO (which is mounted on /dev/sdc1 😞
umount -l /dev/sdc1
mkfs -t vfat -F 32 /dev/sdc1
If I execute this line before reformatting:
dosfsck -a /dev/sdc1
Then I see the results:
This all happens in our production line.
Perhaps I have the wrong USB Stick / USB Flash ???
We already changed the USB Flash in the past but this issue happened again.
Which one (USB Flash) would you suggest?
Thanks to all who could help.
‎04-08-2024 06:51 AM
Are you trying to use a USB stick to store data?
Why don't you use an SD card? There is a list of tested CompactRIO Industrial SD Card Accessories