Redhat system Read-only problem caused by drop disk

Source: Internet
Author: User

After the data disk is broken, replace the hard drive, enter the system again, FSCK does not pass, the system is read-only,

# "/" is currently read-only state

# Mount-o remount, rw/#变成可写状态

# Vi/etc/fstab

#/DEV/SDB1/SCR1 #把后面的 1 2 to 0 0, if the file system does not need to scan at startup, set this field to 0, 1, 2, respectively, indicating the level of disk detection, 0 indicates that the boot does not detect the hard drive

Reboot the system and enter the normal state.

# Fdisk/dev/sdb [m n P 1 return car return W]

# MKFS.EXT4/DEV/SDB1

# mount-a

Modify the/SCR1 uuid in Fstab to/DEV/SDB1

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/

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.