- The system boots normally but after some time, the some partitions are remounted as Read-Only.
- You see some errors in the output of dmesg related to reading from the journal.
- A manual file system check doesn't solve the problem
Login as root directly on the (a remote connection won't do it since we'll enter single user mode).
Enter single user mode
# init 1Remount the partition as read-only
# remount -n -o remount,ro /dev/sda1(replace /dev/sda1 by the name of the device which file system you want to fix)
Check the partition for errors
# fsck -y /dev/sda1Remove the journal
# tune2fs -O ^has_journal /dev/sda1Remount the partition as read-write
# mount -n -o remount,rw /dev/sda1Recreate the journal
# tune2fs -j /dev/sda1Remount the partition as read-only
# remount -n -o remount,ro /dev/sda1Check the file system (and have the journal inode block info backed up
# fsck -f /dev/sda1Reboot the system
# reboot
This should solve the problem !
No comments:
Post a Comment