Hallo,
nun habe ich aber wirklich Scheiße gebaut. Habe eine PV deaktiviert (dev/hda5)
und wollte dieser ein Ext3 Dateisystem verpasen, habe aber ausversehen das dem
_"/dev/hda6"_ angetan!!!!, wo eigentlich "Linux LVM"-Format ist.
Dann habe ich
die logische Partition "dev/hda5" in zwei logische Partitionen "dev/hda5"
und /dev/hda6" aufgeteilt, sodass dann dass früher schon bestehende "dev/hda6"
in "/dev/hda7" und "/dev/hda8" in "dev/hda9", und so weiter..., umbenannt
wurde. --> Die Reihenfolge der Partitionen ist gestört.
Das erste:
Ich habe /dev/hda5 wieder in eine logische Partition (dev/hda5+/dev/hda6)
zusammengebunden, sodass wieder die Reihenfolge in Ordnung ist.
Jetzt habe ich aber auf ein _PV_ (/dev/hda6) ein anderes Dateisystem
ausversehen geschrieben.
Was habe ich jetzt für Möglichkeiten, meine Volume Group wieder herzustellen?
Alle meine Daten sind dort. Gibt es irgendwelche Möglichkeiten?
pvscan zeigt jetzt:
---
Couldn't find device with uuid '3NpqLv-C6Ey-gixh-fSmy-1nv5-NJH2-6KTIBy'.
Couldn't find device with uuid 'cYVAeP-uwhK-SzB4-9LXA-eaSD-4g1X-xLwJ0i'.
Couldn't find device with uuid '3NpqLv-C6Ey-gixh-fSmy-1nv5-NJH2-6KTIBy'.
Couldn't find device with uuid 'cYVAeP-uwhK-SzB4-9LXA-eaSD-4g1X-xLwJ0i'.
PV unknown device VG vg00 lvm2 [21,38 GB / 0 free]
PV unknown device VG vg00 lvm2 [928,00 MB / 0 free]
PV /dev/hda9 VG vg00 lvm2 [65,12 GB / 0 free]
PV /dev/hdb2 VG vg00 lvm2 [33,50 GB / 3,41 GB free]
PV /dev/hda7 lvm2 [964,62 MB]
Total: 5 [121,85 GB] / in use: 4 [120,91 GB] / in no VG: 1 [964,62 MB]
---
vgdisplay:
---
root@Box:/home/dimas# vgdisplay
Couldn't find device with uuid '3NpqLv-C6Ey-gixh-fSmy-1nv5-NJH2-6KTIBy'.
Couldn't find all physical volumes for volume group vg00.
Couldn't find device with uuid '3NpqLv-C6Ey-gixh-fSmy-1nv5-NJH2-6KTIBy'.
Couldn't find all physical volumes for volume group vg00.
Volume group "vg00" doesn't exist
---
vgscan,lvscan zeigen auch fehler mit der UUID.
pvdisplay:
PVdisplay zeigt alle Angaben an und weist keine Fehler auf, ausser von /dev/hda6, die ich mit einem anderen Filesystem beschrieben habe.
-------------------------------------------------------
root@Box:/home/dimas# pvdisplay /dev/hda6
No physical volume label read from /dev/hda6
Failed to read physical volume "/dev/hda6"
------------------------------------------------------
--------------------------------------------------------------------------
root@Box:/home/dimas# pvdisplay /dev/hdb2
Couldn't find device with uuid '3NpqLv-C6Ey-gixh-fSmy-1nv5-NJH2-6KTIBy'.
Couldn't find all physical volumes for volume group vg00.
Couldn't find device with uuid '3NpqLv-C6Ey-gixh-fSmy-1nv5-NJH2-6KTIBy'.
Couldn't find all physical volumes for volume group vg00.
format_text: _vg_read failed to read VG vg00
Couldn't find device with uuid '3NpqLv-C6Ey-gixh-fSmy-1nv5-NJH2-6KTIBy'.
Couldn't find all physical volumes for volume group vg00.
Couldn't find device with uuid '3NpqLv-C6Ey-gixh-fSmy-1nv5-NJH2-6KTIBy'.
Couldn't find all physical volumes for volume group vg00.
format_text: _vg_read failed to read VG vg00
--- NEW Physical volume ---
PV Name /dev/hdb2
VG Name
PV Size 33,54 GB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID ojN2f0-128s-NlZk-mHT1-hvSe-VST5-EwOQpE
-------------------------------------------------------------------------
ansonsten sind die Angaben der Festplattengrößen richtig.
Nur die ganze VG funktioniert nicht mehr.
Ich bin sehr dankbar für hilfreiche Antworten!
gruß, Dimas