check filesystem error