Re: e2fsck: Bad magic number in super-block

On Tue, 31 Oct 2006, M. Lewis wrote:

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 13 104391 83 Linux
/dev/hdc2 14 9729 78043770 8e Linux LVM

Still no luck though.

Well, that's an LVM volume. You have to run first pvscan (or lvm pvscan) and see what physical volumes are created (let's hope you'll find /dev/hdc2 there) and what volume groups are available on that physical volume. After that you have to run lvscan (or lvm lvscan) and see what logical volumes are available (assuming that the current running kernel supports the LVM version of that volume).

Running pvscan rull generate the and output alike with the following:

pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/hdc2" of VG "Volume00" [33.59 GB / 0 free]
pvscan -- total: 1 [33.60 GB] / in use: 1 [33.60 GB] / in no VG: 0 [0]

So let's say the volume group you're looking for is the one from /dev/hdc2 and is named "Volume00". After that you'll have to run lvscan and see what logical volumes are created there:
The output of the "lvscan" command will be something like:
lvscan -- ACTIVE "/dev/Volume00/LogVol00" [1 GB]
lvscan -- ACTIVE "/dev/Volume00/LogVol05" [4 GB]
lvscan -- ACTIVE "/dev/Volume00/LogVol04" [512 MB]
lvscan -- ACTIVE "/dev/Volume00/LogVol06" [11.72 GB]

...and so on. Keep looking for the ones with "Volume00" (or the name of the volume created on your partition, /dev/hdc2).

After finding that lovical volume all you'll have to do is:

mount /dev/Volume00/whateverthelogicalvolumeiscalled /mount/point/ -t ext3

Let's hope you don't have any other LVM volume groups with the same name on your computer...

Victor Tarhon-Onu
Lead Systems Administrator
ActiveMedia Technology
This communication contains information that is confidential and may also be
privileged. It is for the exclusive use of the intended recipient(s). If you
are not the intended recipient(s) please note that any form of distribution,
copying or use of this communication or the information in it is strictly
prohibited and may be unlawful. If you have received this communication in
error kindly notify the sender immediately and delete it from your system.

fedora-list mailing list
To unsubscribe: