Linux bad superblock on /dev/mapper/VolGroup-lv_root

Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Linux bad superblock on /dev/mapper/VolGroup-lv_root

Hi Friends . my linux try to start very slowly after give it this error:

Code:
mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup-lv_root,
missing codepage or helper program, or other error
in some cases useful info is found in syslog - try
dmesg : tail or so

Kernel panic - not syncing : Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32-358.6.2.el6.x86_64 #1
Call Trace :
? panic+0xa7/0x16f
? do exit+0x862/0x870
? fput+0x25/0x30
? do_group_exit+0x58+0xd0
? sys_exit_group+0x17/0x20
? system_call_fastpath+0x16/0/0x1b

panic occurred, switching back to text console ( and computer froze on this screen )

and after i use it centos 6.4 setup cd and try to open with rescue mode its giving another error:
Code:
you don't have any linux partitions. press return to get a shell.
the system will reboot automatically when uou exit from the shell

its just 1 HDD : WD 1TB and no partition for data . i just installed it for the operating system. its a squid and dhcp server.

pls help me guys im stucked and idont know to much about linux. what can i do ? thanx

Code:
fdisk -l

Disk /dev/sda : 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size logical / physical = 512 bytes / 1096 bytes
I/O Size minimum optimal : 4096 bytes / 4096 bytes
Disk label type : dos
Disk identifer : 0x0bcea944

Device Boot        Start        End                 Blocks       Id     System  
/dev/sda1 *        2048        1026047           512000      83   Linux
/dev/sda2      1026048   1953519615      976246784      8e   Linux LVM

Disk /dev/mapper/live-rw : 2147MB
Disk /dev/mapper/live-base : 2147MB

Moderator's Comments:
Mod Comment Please use CODE tags (as required by forum rules) when displaying sample input, output, and code segments.

Last edited by Don Cragun; 10-24-2017 at 10:39 PM.. Reason: Add CODE tags.
# 2  
Instead of fdisk -l can you use
Code:
parted -l

?
# 3  
Hi mod ty for answer i check it parted -l just like this :

---------- Post updated at 10:35 AM ---------- Previous update was at 10:29 AM ----------

Quote:
Originally Posted by MadeInGermany
Instead of fdisk -l can you use
Code:
parted -l

?
Code:
parted -l

Model : ATA WDC WD10EURX-73F
Disk /dev/sda: 1000GB
Sector size logical/physical : 512/4096
Partition table : msdos

Disk Flags:

Number      Start       End         Size        Type        File system      Flags
1              1049KB    524MB     524MB      primary    ext4               boot  
2              525MB     1000GB    1000GB    primary                         lvm

Partition Table : loop
Number      Start     End         Size        File system     Flags
1              0.00B     2147MB   2147MB   ext4


Last edited by blackjuan; 10-25-2017 at 04:34 AM..
# 4  
So it's the partion 2, in Linux accessable as /dev/sda2,
but under lvm control, so you should try to repair it from a resuce system with lvm.
Stop the boot process with a few key strokes, so you get a grub menu that offers a rescue system.

If there is none, you can try to edit the normal linux system, and add rd.break to the kernel parameters, then continue the boot. It then spawns a rescue shell.

In the rescue system or in the rescue shell you must try to access the disk
The lsblk command should list a tree.
You can try to mount a part of it, probably /dev/mapper/VolGroup-lv_root,
(create an empty directory for example with mkdir -p /mnt)
so the command is
Code:
mount /dev/mapper/VolGroup-lv_root /mnt

If the mount fails with "bad superblock", then run fsck on it.

Pardon if my knowledge is rather theoretical.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

9 More Discussions You Might Find Interesting

1. Solaris

File System Error: BAD SUPERBLOCK AT BLOCK 16: NUMBER OF DIRECTORIES OUT OF RANGE

Hi All, we are having a file system error in one of our servers. The server failed to boot in usual user mode. Instead boot with single user mode and requesting to run a FSCK manually to repair the corrupted. see the below output. Netra T2000, No Keyboard Copyright 2008 Sun Microsystems,... (5 Replies)
Discussion started by: Buddhike G
5 Replies

2. UNIX for Dummies Questions & Answers

What is /dev/mapper used for?

I see a folder named "mapper" in /dev. This folder "mapper" has some soft link to other folders. What is mapper folder used for? (2 Replies)
Discussion started by: rupeshkp728
2 Replies

3. UNIX for Advanced & Expert Users

Linux EXT3 superblock recovery

Is there a way to recover or rebuild the superblock of an ext3 filesystem with out loosing data? Thanks (5 Replies)
Discussion started by: lochraven
5 Replies

4. AIX

Can't mount showing 0506-342 The superblock on /dev/fslv00 is dirty

Dear All Last day in Aix 5.2 server by executing # df –g I found following: Filesystem GB blocks Free %Used Iused %Iused Mounted on . . /dev/fslv00 58.00 136.70 -135% 212103 1% /sprod After shutting down by following command # shutdown –h And when... (1 Reply)
Discussion started by: xa52000
1 Replies

5. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

6. UNIX for Advanced & Expert Users

Bad magic number on /dev/md0

Hello All, (RHEL4) Few weeks ago I had posted a message in this forum about the problem I had when I replaced my two scsi disks and tried rebuild raid1 array. I somehow managed to up the system with working raid1 array. But the main problem persisted.. i.e when I reboot the system, mounting... (0 Replies)
Discussion started by: ravinandan
0 Replies

7. UNIX for Dummies Questions & Answers

Warning: HTFS: bad dir inode 62730 on HTFS dev hd (1/42)

Hello all. I am receiving this message on the console of a SCO Openserver 5.0.7 server. The hardware is IBM, running mirrored SCSI drives with a hot-swap spare off of an IBM Serveraid controller. I suspect that some permutation of fsck can help me resolve whatever is causing the error, but I am... (0 Replies)
Discussion started by: DoublePanic
0 Replies

8. UNIX for Dummies Questions & Answers

I screwed up linux bad

Hey, I definately screwed up my libraries, but I am not sure how. I get this error: /bin/sh: relocation error: /usr/local/lib/libdl.so.2 symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference when I try to even login. I cannot even get... (2 Replies)
Discussion started by: farhan00
2 Replies

9. Linux

I screwed up linux really bad...

Hey, I definately screwed up my libraries, but I am not sure how. I get this error: /bin/sh: relocation error: /usr/local/lib/libdl.so.2 symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference when I try to even login. I cannot even get to a... (1 Reply)
Discussion started by: farhan00
1 Replies

Featured Tech Videos