Probleme mit LVM
Hallo,
heute morgen ist mir ein Fileserver durch akuten Spannungsentzug
ausgeschalten worden. Darauf lief ein LVM. Der Rechner ansich ist
soweit in Ordnung, nur das LVM scheint einen Treffer wegbekommen
zu haben. Was ich nicht ganz verstehe, ist der Punkt, dass die VG,
das PV und das LV offensichtlich alle vorhanden sind.
rechner1:/etc/lvm# vgscan
Reading all physical volumes. This may take a while...
Found volume group "VG00" using metadata type lvm2
rechner1:/etc/lvm# pvscan
PV /dev/hdd VG VG00 lvm2 [111.78 GB / 4.00 MB free]
Total: 1 [111.78 GB] / in use: 1 [111.78 GB] / in no VG: 0 [0 ]
rechner1:/etc/lvm# lvscan
ACTIVE '/dev/VG00/LV00' [111.77 GB] inherit
Das /dev/VG00/LV00 existiert, aber ich kann es nicht mounten:
rechner1:/etc/lvm# mount -t ext3 /dev/VG00/LV00 /home
mount: wrong fs type, bad option, bad superblock on /dev/VG00/LV00,
missing codepage or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
rechner1:/etc/lvm# fsck.ext3 /dev/VG00/LV00
e2fsck 1.37 (21-Mar-2005)
fsck.ext3: Invalid argument while trying to open /dev/VG00/LV00
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Ein fdisk bringt folgendes:
rechner1:/etc/lvm# fdisk -l /dev/hdd
Disk /dev/hdd: 120.0 GB, 120000000000 bytes
16 heads, 63 sectors/track, 232514 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
Kann ich das ganze jetzt so interpretieren, dass die Partitionstabelle
im Eimer ist und die Daten weg sind?
Wie könnte ich an die Daten evtl. wieder herankommen?
Gruss
Thomas
Reply to: