e2fsck: Bad magic number in super-block

Gordon Charrick gordonmc at cox.net
Wed Nov 1 23:06:59 UTC 2006


M. Lewis wrote:
> Tarhon-Onu Victor wrote:
>> 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]
>>
> 
> Thanks Tarhon. Pvscan doesn't show /dev/hdc2 at all. Does pvscan only 
> work on mounted drives?
> 

No, pvscan lists all disks/partitions that are registered to be used for 
LVM. If it doesn't show up in pvscan, you never ran pvcreate on it or 
you deleted it from LVM with pvremove.




More information about the fedora-list mailing list