Corrupted journal in a Linux LVM How to recover


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Corrupted journal in a Linux LVM How to recover
# 15  
Old 01-28-2009
Neo,

Actually that is the device on this system.

That is the first partition in the volume.

I also got the same results with /dev/VolGroup00/LogVol00
# 16  
Old 01-28-2009
Make sure you do a disk-to-disk (dd) first and save a backup copy of the entire disk ..... Smilie
# 17  
Old 01-28-2009
First thing I did. Did the logical volume and the physical disks.
# 18  
Old 01-28-2009
Well, here is a long shot, but I don't think it will work on a logical volume, try:

Code:
mkfs.ext2 -n /dev/sda2


Quote:
-n causes mke2fs to not actually create a filesystem, but display what it would do if it were to create a filesystem. This can be used to determine the location of the backup superblocks for a particular filesystem, so long as the mke2fs parameters that were passed when the filesystem was originally created are used again. (With the -n option added, of course!)
Of course, if we are lucky, you might recover with:
Code:
e2fsck -b backup_superblock /dev/sda2

... anyway, I don't think this will work on a logical volume, unfortunately.....
# 19  
Old 01-28-2009
BTW, can you post your /etc/lvmtab file?
# 20  
Old 01-28-2009
Also, can you post the output of

Code:
lvdisplay -v /dev/VolGroup00/LogVol00

Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Linux

Recovering corrupted LVM data: No readable superblocks

Hi all. Not sure where to post this, so figured I'd start here. I have a LVM2 partition that has become unreadable. I've scoured dozens of threads about the topic and have hit a wall, so any advice is appreciated. Below is what I think shows what my major problem is: First, a simple mount... (3 Replies)
Discussion started by: dargason
3 Replies

2. UNIX for Advanced & Expert Users

How to recover the deleted file in Linux?

hi, i deleted one file from linux please let me know, if we can recover it ? if yes, pls let me know the steps to do.. (3 Replies)
Discussion started by: raghur77
3 Replies

3. Slackware

Linux on LVM

Dear all, I found, in Slackware, without using physical/raw partition Linux can be booted & OS will be in LVM but in general people use /boot from physical/raw partition to boot the RedHat linux System & root and other file systems would be in LVM. My doubt is how a system will be booted without... (5 Replies)
Discussion started by: Tlogine
5 Replies

4. Solaris

recover a corrupted solaris10 system /usr/lib

did something very dump under /usr/lib, eg: overwite a bunch of files from a similar system's /usr/lib, while the system is live.. I have no backup on this..it crashed...and came up with a bunch of device driver load errors and hung... This is Solaris10 update 7 .. I wonder if I could do a... (0 Replies)
Discussion started by: ppchu99
0 Replies

5. Linux

LVM for linux OS?

Hi, What do you means to create so OS Linux directories under LVM? So, I've installed my machine : df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 97943628 524316 92443984 1% / udev 4023852 168 4023684 1% /dev... (1 Reply)
Discussion started by: hiddenshadow
1 Replies
Login or Register to Ask a Question