Sponsored Content
Operating Systems Linux Recovering corrupted LVM data: No readable superblocks Post 302902423 by dargason on Tuesday 20th of May 2014 01:06:16 PM
Old 05-20-2014
Hi Aia, thanks a bunch for your response.

/dev/sde2 is the LVM partition I am interested in. Running mke2fs on /dev/VolGroup00/LogVol01 explicitly gives me the same thing.

Code:
$ sudo mke2fs -n /dev/VolGroup00/LogVol01
[sudo] password for ds229: 
mke2fs 1.42.7 (21-Jan-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
38404096 inodes, 153600000 blocks
7680000 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
4688 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
    4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
    102400000

Both dumpe2fs commands are not able to read anything
Code:
$ sudo dumpe2fs /dev/dm-1 | grep -i superblock
dumpe2fs 1.42.7 (21-Jan-2013)
dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/dm-1
Couldn't find valid filesystem superblock.

$ sudo dumpe2fs /dev/mapper/VolGroup00-LogVol01 | grep -i superblock
dumpe2fs 1.42.7 (21-Jan-2013)
dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/mapper/VolGroup00-LogVol01
Couldn't find valid filesystem superblock.

And here is the output for lsblk and pvdisplay

Code:
$ sudo lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 596.2G  0 disk 
├─sda1   8:1    0 196.1M  0 part 
└─sda2   8:2    0   596G  0 part 
sdb      8:16   0 931.5G  0 disk 
├─sdb1   8:17   0   500M  0 part /boot
├─sdb2   8:18   0 742.2G  0 part /home
├─sdb3   8:19   0  58.6G  0 part /
├─sdb4   8:20   0     1K  0 part 
├─sdb5   8:21   0  48.8G  0 part /usr/swr
├─sdb6   8:22   0  19.5G  0 part /var
├─sdb7   8:23   0  11.7G  0 part [SWAP]
└─sdb8   8:24   0  29.3G  0 part 
sde      8:64   0 698.7G  0 disk 
├─sde1   8:65   0     1G  0 part /run/media/marsluo/e08527a9-c875-4cc4-b83c-1158e07640c6
├─sde2   8:66   0 661.9G  0 part 
├─sde3   8:67   0    16G  0 part 
├─sde4   8:68   0     1K  0 part 
└─sde5   8:69   0    10G  0 part /run/media/marsluo/9c758ac5-3a6d-4181-a401-9dce5175144c
sr0     11:0    1  1024M  0 rom  
sr1     11:1    1  1024M  0 rom  
$ sudo pvdisplay
  --- Physical volume ---
  PV Name               /dev/sde2
  VG Name               VolGroup00
  PV Size               661.87 GiB / not usable 27.00 MiB
  Allocatable           yes 
  PE Size               32.00 MiB
  Total PE              21179
  Free PE               554
  Allocated PE          20625
  PV UUID               sqJHbZ-Udp4-OtHq-GQ38-Rkff-TSHQ-unS59g

FYI, the drive is currently sitting in a FC19 machine and was partitioned/written in a different Fedora box (18 or 19, I forget).
 

9 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Filesystems: Hiding and recovering data

Here is a very interesting article on not only hiding data on filesystems (the article deals mainly with the ext2 filesystem, which should also work with etx3), but also recovering, including from slack space on raw blocks, and even deleted data! ... (0 Replies)
Discussion started by: LivinFree
0 Replies

2. UNIX for Dummies Questions & Answers

Recovering lost folders/files data

Hello, Is there a way to recover data from a SCO UNIXWARE 7.4 operating system without using a tape backup device? We believe there is some data in some directories that was there once; but not anymore, we don't have a backup on tape. So, is there any other solution to recover? Hope... (0 Replies)
Discussion started by: Yorgy
0 Replies

3. UNIX for Advanced & Expert Users

Data Recovery from file system overwritten with LVM.

Hey peeps, Here is somethin u might find interestin.... Is it possible to recover data from a partition which used to be an ext3 file sytem with some nice forgotten backups, which now is an lvm partion containg root partition of another OS. :) I couldn't create any mess better than this, can... (2 Replies)
Discussion started by: squid04
2 Replies

4. UNIX for Advanced & Expert Users

Corrupted journal in a Linux LVM How to recover

Not real Linux expert but here is the problem. Shutdown this machine and then it would not reboot. From everything I can tell it looks like the journal file in the logical volume is corrupted. I have tried everything I can think of to get the volume mounted. Anybody have any ideas on how... (19 Replies)
Discussion started by: ccj4467
19 Replies

5. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

6. UNIX for Dummies Questions & Answers

Flash drive recovering data.

I have a flash drive which contained very important docs. But somebidy accidently dleted those files. I want to recover these files anyhow. I have listened the Linux have best possible chances of recovering it. Can anybody tell me how to recover that? (1 Reply)
Discussion started by: nixhead
1 Replies

7. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

8. Red Hat

Configure LVM to gain access to the data on disks

Hello friends, We had to upgrade RHEL 4.x to 5.7 so we took complete backup. Since DIRECT UPGRADE not possible, we rebuilt 5.7 from scratch. We had lvm configuration on DATA disks in previous OS and now we need to configure such that we should be able to have same old LVM configuration (like... (1 Reply)
Discussion started by: prvnrk
1 Replies

9. Solaris

Recovering DATA from sparc classic

I have a Sun sparc classic that I am trying to recover data off. The main CPU part just clicks or beeps when powered up, but does not come on (nothing on screen, and LED in front not lighting up). There is also an external SCSI drive, and I have verified there is a drive inside the CPU. ... (8 Replies)
Discussion started by: mackconsult
8 Replies
PVCK(8) 						      System Manager's Manual							   PVCK(8)

NAME
pvck - check physical volume metadata SYNOPSIS
pvck [-d|--debug] [-h|--help] [-v|--verbose] [--labelsector] PhysicalVolume [PhysicalVolume...] DESCRIPTION
pvck checks physical volume LVM metadata for consistency. OPTIONS
See lvm for common options. --labelsector sector By default, 4 sectors of PhysicalVolume are scanned for an LVM label, starting at sector 0. This parameter allows you to specify a different starting sector for the scan and is useful for recovery situations. For example, suppose the partition table is corrupted or lost on /dev/sda, but you suspect there was an LVM partition at approximately 100 MB. This area of the disk may be scanned by using the --labelsector parameter with a value of 204800 (100 * 1024 * 1024 / 512 = 204800): pvck --labelsector 204800 /dev/sda Note that a script can be used with --labelsector to automate the process of finding LVM labels. SEE ALSO
lvm(8), pvcreate(8), pvscan(8) vgck(8) Sistina Software UK LVM TOOLS 2.02.44-cvs (02-17-09) PVCK(8)
All times are GMT -4. The time now is 08:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy