Wednesday, July 4, 2012

Linux Shutdown Uncleanly With VolGroup00/LogVol00 unexpected inconsistency

Your system appears to shut down uncleanly

Checking file system

/dev/VolGroup00/LogVol00: Reside inode is not valid

/dev/VolGroup00/LogVol00: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

(i.e., without -a or -p options)


*** Run 'setenforce 1' to reenable.
Give root password for maintenance
(or type Control-D to continue): Type root password


(Repair filesystem) df
File System 1K -block Use Available Use% Mount
/dev/VolGroup00/LogVol00
37864976 13675768 22265728 39% /
/dev/hda1 37864976 13675768 22265728 39% /boot

#(Repair filesystem) fsck -f -y /dev/VolGroup00/LogVol00

Resize inode not valid. Recreate? (yes)

/dev/VolGroup00 contain a file sytem with errors, check forced.

Pass 1: Checking inodes, blocks, and sizes
Duplicate blocks found... invoking duplicate block passed
Pass 1B: Rescan for duplicate/bad blocks
....

File /usr/src/linux-2.6.9/arch/s390/appldata/Makefile
Duplicateed blocks already reassigned or cloned

Pass 2: checking directory structure
Pass 3: checking directory connectivity
Pass 4: checking reference counts
Pass 5: checking group summary information
Free blocks count wrong for group #0 (19039,counted = 19040)
Fix? Yes

/dev/VolGroup00/LogVol00: ***** FILE SYSTEM WAS MODIFIED *****
/dev/VolGroup00/LogVol00: ***** REBOOT LINUX *****
/dev/VolGroup00/LogVol00 428503/4816896 files (2.3 % non-contiguous), 3570106/9617408

(Repair filesystem) fsck /dev/hda1
/boot clean, 39/26104 files 12402/104308 blocks


#(Repair filesystem) reboot

No comments:

Post a Comment