Linux file system read-only

  
The following is Baidu's method, fsck is used cautiously, and fuser can solve the situation that umount encounters device busy
mount;df -h ;vi /etc/fstab is in read-only and file system When I often encounter several commands, but the above method is invalid, the hardware is directly faulty, many commands are lost, the file system is read-only, but all the mounts are rw; the system is directly halted after restarting;
Viewing the ilo log prompts the hard disk failure, Baidu's 1950 server seems to have this problem often, the SAS card is broken. Finally, how do people repair it? We have also passed the warranty period and are directly off the shelf. Fortunately, it is not a key business. Br>1. Restart the system to see if it can be repaired automatically. 2. Use fsck -y /dev/sda1 for automatic repair. (Use the ”-y” option to execute the command to check and repair the hard disk.) Add the parameter: fsck -y -C -t ext3 /dev/sda1 (Generally, after the repair is completed, all files are moved to the lost+found directory. , the file name will be changed) (-C shows the progress bar -t specifies the file system type -y default auto yes repair) 3. If the fsck repair is completed, the boot system still reads itself. View the partition structure: [root@localhost ~]# more /etc/fstab [root@localhost ~]# more /proc/mounts [root@localhost ~]# mount /dev/sda2 on /type ext3 (rw) proc on /Proc type proc (rw) sysfs on /sys type sysfs (rw) View the mount of the ro mount. If you find a ro, remount umount /dev/sda1 mount /dev/sda1 /boot. If you find a prompt, “device is Busy”, find out what process makes his fuse fuser -m /boot will show that using this module's pid fuser -mk /boot will kill the pid directly and then remount. 4. Direct remount [root@localhost ~]# mount -o rw,remount /dev/sda1 Practice has proved the greatness of this blog post, thanks to the original author! Dell PowerEdge 1950 Server [E171F PCIE Fatal Err B0 D3 F0] Dell PowerEdge 1950 Server [E171F PCIE Fatal Err B0 D3 F0] In the past month, the same power failure occurred in 8 consecutive servers of the Dell PowerEdge 1950 server used by our department. Deadlock, unable to start. Due to the same failure in succession, I estimate that similar problems may occur in this model server in the future, so projects using this model server need to pay attention to this problem. In order not to have a greater impact on the business, this fault can be solved by our own maintenance. Fault performance: The server crashes, and the front display panel orange display [E171F PCIE Fatal Err B0 D3 F0]. Restart the display [PCIE Fatal Err: Critical Event sensor, bus fatal error (Bus 0 Device 3 Function 0) was asserted] and cannot be started. Cause: The two liquid capacitors on the SAS 5i card are damaged. Appearance can be seen on the top of the capacitor. Solution: Replace the capacitor, the capacity of the capacitor is 1500uf, the voltage is 6.3v, and the temperature resistance is 105°C. Just remove the SAS 5i card and go to the local area where you can repair the computer. It costs 10 yuan to 20 yuan for the computer maintenance worker to remove the bad capacitor and replace it with a new one. Capacitor selection: The height of the capacitor should be less than or equal to the original capacitor (if the height is too high, the cover of the chassis will not be covered), the capacity of the capacitor, the voltage must be the same, and the temperature resistance should be approximately equal to the original temperature. It is best to choose Sanyo's solid capacitors, followed by Sanyo's liquid capacitors. Disassembly method of SAS 5i card: The position of SAS 5i is just behind the front panel of the server and the left front section of the server. 1. Open the cover of the chassis. 2. Find the position of the SAS 5i card. 3. Remove the cable on the right. 4. Lift the blue plastic handle on the left side and then pull it out to the right. 5. Pack it in a newspaper, put it in a cardboard box, and take it to the computer for repair. The installation of the SAS 5i card is easy and will not be elaborated.
Copyright © Windows knowledge All Rights Reserved