After identifying and eliminating the cause (hardware error? unsuitable filesystem choice?) of the Input/output error, you may want to try the recovery procedure outlined in Could not get database status - #13 by wtempel.
After identifying and eliminating the cause (hardware error? unsuitable filesystem choice?) of the Input/output error, you may want to try the recovery procedure outlined in Could not get database status - #13 by wtempel.