[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: e2fsck: Bad magic number in super-block



Matija Nalis wrote:
On Tue, Oct 31, 2006 at 08:15:30PM -0500, M. Lewis wrote:
I posted this to the Fedora-list, but thought I might get some additional information here as well.

I have a HD that refuses to mount with a 'bad magic number in super-block'. I'm running FedoraCore 6 x86_64.

[root moe ~]# fdisk -l /dev/hdc

Disk /dev/hdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

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

are you ABSOLUTELY SURE that /dev/hdc2 really containt DIRECTLY the ext3
filesystem ?

By FDISK output, it looks like it is not ext3 partition, but a physical
volume controlled by LVM, so you should use LVM tools to find real data
(vgscan, vgdisplay, pvscan, lvscan, ...)

the ext3 partition you are looking for is probably on logical volume on that
LVM...


Thanks Matija. No, at this point the only thing I am sure of is I can't mount the drive with my data.

I'm not familiar with any of the LVM tools. Here's the output of the tools you suggested:

[root moe ~]# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "VolGroup00" using metadata type lvm2

[root moe ~]# vgdisplay
  --- Volume group ---
  VG Name               VolGroup00
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               74.41 GB
  PE Size               32.00 MB
  Total PE              2381
  Alloc PE / Size       2380 / 74.38 GB
  Free  PE / Size       1 / 32.00 MB
  VG UUID               vXWCaM-XkRG-l28x-tyH1-Rrf4-KjXF-AfASLY

[root 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 moe ~]# lvscan
  ACTIVE            '/dev/VolGroup00/LogVol00' [72.44 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol01' [1.94 GB] inherit

--

 Dreams are free, but you get soaked on the connect time.
  14:25:01 up 2 days, 13 min,  0 users,  load average: 0.09, 0.28, 0.25

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]