Sometimes when you maintain a Linux server, you will face the error that the file system becomes (Read Only System), that is, the file system becomes read-only. There are two reasons for this problem. This is a problem with the synchronization mechanism when writing multiple machines. Another way is when the server is powered off during a single machine write.
When this problem occurs, the application system users will be very nervous. When they are lucky, they can read the data in a read-only manner. When the luck is not good, the system will not start.
Here is a solution:
(1) Modify /etc/fstab to comment out the damaged file system first. If the file cannot be read or written, mount -o Remount rw , /Change the file system to read-write mode.
(2) For the damaged file system, execute the fsck command, such as: fsck /dev/sda1.
Note:
(1) It is best to back up the data before execution to prevent data loss after the repair fails.
In different Linux distributions, there are different GUI programs that can display various system i
one, top command 1. Function The top command is used to display the program process in execution,
Has been doing the account management system of the Linux server in the lab. At this stage, after re
caused by Linux clone virtual machine The virtual machine Vmware cloned a Red Hat Enterpris
Linux system main directory role
Computer technology: 10 ways to generate random passwords using Linux system
How to use soft links to solve directory transfer problems under Linux
Three main package installation methods under redhat system
Example of saving iptables firewall rules in Ubuntu
Linuxweb directory file full script
Linux kernel boot to retain large memory method summary
Ssh, scp does not enter a password to operate
Linux method for synthesizing multiple file contents
How to use Windows 8 RP version, win 8 RP use method
Win7 system how to move the pagefile.sys page file to D disk
What should I do if the search box started with win7 system disappears
Windows XP uses the console to solve computer problems.
The meaning of the common key values of the registry that you are neglecting
Win8.1 input in IE can not use the five-stroke input method how to do
System tutorial Win7 broadband Internet speed is easy to speed up