Linux file system Read only

Source: Internet
Author: User
Tags file system

The following is the method of Baidu, fsck cautious use, in addition fuser can solve Umount encounter device busy situation

Mount;d f-h Vi/etc/fstab is a number of commands that are often used when you encounter read-only and file systems

But the situation I encountered the above method is invalid, is the hardware direct failure of a lot of command lost no response, file system only read but under the mount to see all is RW; After the system restart directly halt off;

Check the ILO log tips hard drive failure, Baidu 1950 server seems to have this problem, the SAS card is broken

At the back of the people how to repair our also past the warranty period directly off the shelf, but fortunately not the key business

1. Reboot the system to see if it can be repaired automatically.

2. Use fsck-y/dev/sda1 for automatic repair. (Use the "-y" option to perform this command to check and repair the hard drive)

Add parameters: Fsck-y-c-t ext3/dev/sda1 (when the repair is complete, all files are moved to the Lost+found directory and the filename is changed)

(-c Shows progress bar-t Specifies file system type-y default automatic yes fix)

3. If the fsck repair completes, the boot system is still read-only.

To 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 RO mount partition, and if you find Ro, mount it again.

Umount/dev/sda1

Mount/dev/sda1/boot

If found to have the hint "device is busy", find out what process made him busy

Fuser-m/boot will show the PID using this module

Fuser-mk/boot will kill the PID directly.

And then you can mount it again.

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 last one months, my department has been using the Dell PowerEdge 1950 server for 8 consecutive servers, causing a panic and failure to start.

Because of the same failure in succession, I estimate that similar problems may occur later in this model server, so the project using this model server needs to be aware of this issue.

In order not to have a greater impact on the business, this failure can be resolved by our own repair.

Failure performance: The server freezes, the front display board orange color display "e171f PCIE Fatal Err B0 D3 F0" words.

Reboot monitor "PCIE Fatal err:critical Event sensor, bus Fatal error (bus 0 Device 3 Function 0) is asserted" words, could not start.

Failure reason: Two liquid capacitors on the SAS 5i card are damaged. The appearance of the top of the capacitor can be seen muster.

Solution: Replace the capacitor, capacitance capacity is 1500uf, voltage 6.3v, temperature is 105 ℃.

Only need to remove the SAS 5i card, to the local can repair the computer place, spend 10 yuan to 20 yuan to let the computer maintenance workers to break down the bad capacitor, put on a new on the line.

Capacitance selection: The height of the capacitor is less than the original capacitance (too high, the cover will not be covered), capacitance capacity, voltage must be consistent, temperature is about equal to the original temperature.

It is best to choose Sanyo's solid-state capacitance, followed by Sanyo's liquid capacitance.

SAS 5i Card Removal method: SAS 5i position in front of the server before the display board, the server's left front section.

1, open the chassis cover,

2, find the location of the SAS 5i card,

3, tear down the right side of the connection,

4, first lift the left side of the blue plastic handle, and then pull right out.

5, with newspaper bag, put in cardboard box, take to computer repair point.

The installation of the SAS 5i card is easy and no longer elaborate.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.