What are you doing with the script and are you passing through to the container /dev? But, I would agree with @trurl that this looks like a flash problem of it simply dropping offline. If this continues, either replace the flash or install the flash remount plugin. (Since the server is at a datacenter, I'd install the plugin regardless)