How to check th etablespace read/write mode