Centos startup error: inodes that were part of a specified upted orphan linked list found.

Source: Internet
Author: User

When centos is started, an error is prompted:

 1 /dev/mapper/VolGroup-lv_root contains a file system with errors,check forced. 2 /dev/mapper/VolGroup-lv_root: 3 Inodes that were part of a corrupted orphan linked list found. 4 /dev/mapper/VolGroup-lv_root:unexpected inconsistency:run fsck manually. 5          (i.e., without -a or -p options)  6 *** An error occurred during the file system check. 7 *** Dropping you to a shell; the system will reboot 8 *** when you leave the shell. 9 Give root password for maintenance10 (or type Control-D to continue):

Use the e2fsck command to fix the problem:

1 e2fsck /dev/mapper/VolGroup-lv_root 

All the way to yes. After the repair is completed, restart and restore to normal.

======================================

By the way, record the usage of The fsck and e2fsck commands:

(Extracted from http://blog.sina.com.cn/s/blog_5666ef160100bxj5.html)

1 fsck provides a unified user interface for checking various file systems. 2 e2fsck is a tool used for ext2/ext3 file system checks. 3 4 fsck 5 6 usage: fsck [-sacvrp] [-T fstype] [--] [fsck-options] filesys [...] 7. Check and repair the Linux File System. You can check one or more Linux file systems at the same time. 8 parameters: 9 10 filesys: Device Name (eg. /dev/sda1), mount point (eg. // or/usr) 11-T: specifies the type of the file system. If a definition already exists in/etc/fstab or the kernel itself is supported, this parameter 12-S is not required: run the fsck command one by one in sequence to check 13-A: Check all the partition columns in/etc/fstab 14-C: display the complete check Progress 15-D: print the debug result of e2fsck 16-P: when the-a condition exists, multiple fscks exist simultaneously. Run 17-R: If the-a condition exists, omit/do not check 18-V: Detailed display mode 19-Y: pre-set all questions during the check to answer [Yes] 20-A: If the check is wrong, the system automatically fixes 21-R: if the check is wrong, the user will answer whether to fix 22 23. Example: 24. Check whether the/dev/hda5 of the msdos file system is normal. If an exception exists, the system automatically fixes it: 25 fsck-T msdos-A/dev/hda526 27. Note: this command can be used with/etc/fstab for reference operations. 28 ======================= 29 e2fsck30 31 usage: e2fsck [-pacnydfvfv] [-B superblock] [-B blocksize] [-L |-l bad_blocks_file] [-C FD] device32 description: check whether the partition of the Linux ext2 file system works normally. 33 34 parameter: 35 36 device: hard disk partition to be checked, for example:/dev/sda1_- A: Check the partition, if any problem occurs, it will be automatically repaired. equivalent to the-P function 38-B: Set the location where the superblock is stored 39-B: set the size of the unit block 40-C: check whether this partition has a bad track 41-C file: Save the check result to file to view 42-D: Print e2fsck Debug result 43-F: force check 44-F: Clear the device buffer cache before the check starts to avoid errors 45-l bad_blocks_file: add the block data with bad track to bad_blocks_file 46-l bad_blocks_file: Save the block data with bad track to bad_blocks_file. If this file is not found, 47-N is automatically generated: enable the file system in the [Read-Only] mode for 48-P: Check the partition. If there is any problem, the system automatically fixes the problem 49-V: Detailed display mode 50-V: show current e2fsck version 51-Y: pre-set all questions during the check to answer [Yes] 52 53 example: 54 check/dev/hda5 is normal, if an exception exists, it is automatically repaired. If any question or answer is set, the answer is [Yes]: 55 e2fsck-a-y/dev/hda556. 57 Note: 58 59 most of the cases where e2fsck is used to check the hard disk partition are usually special. Therefore, it is best to first partition umount and then execute e2fsck for the check, if you want to check/, enter singal user mode and run it again.

 

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.