kein LVM mehr
Mischa Simon
MSLK at gmx.de
Fre Jan 30 09:46:02 GMT 2009
Am Donnerstag, den 29.01.2009, 20:39 +0100 schrieb Stefan J. Betz:
> Am 2009-01-27 11:16:00 +0100, Mischa Simon schrieb:
> > Sorry, war ein paar Tage nicht da...
> > Ich hab jetzt mal probiert mit tune2fs die UUID zu setzen, dass LVM die
> > Platte wieder richtig einordnen kann. Da bekomme ich aber "bad
> > superblock". Jetzt bin ich gerade auf der Suche nach der Möglichkeit ein
> > fsck auf die Platte zu machen...
>
> tune2fs solltest du _nicht_ auf ein Physical Volume anwenden.
ok, war nur so ne Idee ;-)
>
> Mit "sudo pvdisplay /dev/partition" kannst du dir die UUID anzeigen
> lassen. Diese sollte sich selbst durch ein Upgrade niemals ändern.
Das ist leider mein großes Problem. Wenn ich pvdisplay ausführe bekomme
ich:
lvm> pvdisplay /dev/sde1
/dev/sde1: Checksum error
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
"/dev/sde1" is a new physical volume of "233,76 GB"
--- NEW Physical volume ---
PV Name /dev/sde1
VG Name
PV Size 233,76 GB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID 87aN-@R▒-
π─┌-┬@2-SEF-┐⎺␋-3│
"HD
> "sudo vgdisplay -v volumegroup" zeigt die alle UUID's von den PV's an
> welche zu der VG gehören.
vgdisplay gibt:
root at demeter:~# vgdisplay -v SATA1
File descriptor 5 left open
Using volume group(s) on command line
Finding volume group "SATA1"
/dev/sde1: Checksum error
Wiping cache of LVM-capable devices
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find all physical volumes for volume group SATA1.
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find all physical volumes for volume group SATA1.
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find all physical volumes for volume group SATA1.
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find all physical volumes for volume group SATA1.
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find all physical volumes for volume group SATA1.
Couldn't find device with uuid
'yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1'.
Couldn't find all physical volumes for volume group SATA1.
Volume group "SATA1" not found
>
> Die UUID der Partition kann man nur durch neues Initialisieren ändern.
> Dabei sollten _normalerweise_ keine Daten verloren gehen, probiert habe
> ich es aber nicht! Also: Auf eigene Gefahr:
> sudo pvcreate --uuid DEINEUUIDWODUBRAUCHST /dev/device
root at demeter:~# pvcreate -uuid
yqp49q-RCmY-yvFH-YemW-KGXB-w44W-kzkKT1 /dev/sde1
File descriptor 5 left open
Can only set uuid on one volume at once
Run `pvcreate --help' for more information.
Irgendwie hab ich das gefühl, dass da eine Platte den Abflug gemacht hat
und ich das komplette LV vergessen kann...
>
> Mach das aber bitte von einem Rettungssystem aus, und sorge dafür das
> die LV/VG usw.. deaktiviert sind!
> mfg Betz Stefan
lg
Mischa