e2fsck: Bad magic number in super-block

M. Lewis cajun at cajuninc.com
Tue Oct 31 23:49:52 UTC 2006


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?

[root at moe ~]# pvscan
   PV /dev/hda2   VG VolGroup00   lvm2 [74.41 GB / 32.00 MB free]
   Total: 1 [74.41 GB] / in use: 1 [74.41 GB] / in no VG: 0 [0   ]

[root at moe ~]# lvscan
   ACTIVE            '/dev/VolGroup00/LogVol00' [72.44 GB] inherit
   ACTIVE            '/dev/VolGroup00/LogVol01' [1.94 GB] inherit

Thanks,
Mike
-- 

  My BBS is baroque now.  Please call Bach later with your Handel.
   18:45:01 up 1 day,  4:33,  0 users,  load average: 0.10, 0.22, 0.19

  Linux Registered User #241685  http://counter.li.org




More information about the fedora-list mailing list