Reading-only editing can be a protective measure after a storage error or filesystem.
Steps.
- Read dmesg – Search for I/O error, ext4/xfs/vs.
- Identify Mount — Note: and options.
- Check storage – SMART/RAID depending on the environment.
- Plan repair — fsck must often be performed offline according to the filesystem.
Commands
mount
dmesg | tail -100
df -h
Key takeaways
- Priority is given to backups if storage appears to be defective.
- Do not force remount rw without understanding the, error.