CentOS 6.4 boot unexpected inconsistency run fsck manually problem repair

Source: Internet
Author: User

CentOS 6.4 boot prompt:

Unexpected inconsistency; RUN fsck MANUALLY

An error occurred during the filesystem check

Propping you to shell the system will reboot

When you leave the shell

Give root password for mantennance

Enter the password and enter the shell command environment,

Fsck/dev/sda2 check the partition. The prompt is:

Fsck. LVM2_member: not found

Fsck: Error 2 while executing fsck. LVM2_member for/dev/sda2

I use livecd to boot the system (livecd may not be required and can be run directly under the started shell) and run:

1. view the physical volume: pvs

Pv vg Fmt Attr PSize PFree
/Dev/sda2 VolGroup00 lvm2 a-279.22G 32.00 M

2. view the volume group: vgs

VG # PV # LV # SN Attr VSize VFree
VolGroup00 1 4 0 wz -- n-279.22G 32.00 M

3. view the logical volume: lvdisplay

--- Logical volume ---
LV Name/dev/VolGroup00/LogVol03
VG Name VolGroup00
Lvuuid YhG8Fu-ZGPk-qt8D-AxgC-DzOU-dg1F-z71feI
LV Write Access read/write
LV Status unenable
# Open 1
LV Size 245.97 GB
Current LE 7871
Segments 1
Allocation inherit
Read ahead sectors auto
-Currently sets to 256
Block device 253: 2

4. if not activated, activate the logical volume: vgchange-ay/dev/VolGroup00.

LV Status available

5. Use fsck/dev/VolGroup00/LogVol03, and an error will be prompted. Press y.

Restart after repair and solve the problem.

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.