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

Re: lvm beim Booten



* Stephan Seitz <stse@fsing.uni-sb.de> [010820 14:34]:
Hallo,
ich nutze devfs nicht und habe lvm in den Kernel reinkompiliert.
Leider klappt jetzt nicht mal mehr das manuelle ausführen der Befehle!
->
home:# vgscan -v
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- creating empty "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
group

home:# vgchange -a y
vgchange -- no volume groups found

vgdisplay sagt dasselbe wie vgchange -a y.
Also "man vgcfgrestore" gemacht, und nun weis ich nicht mehr weiter:
home:# vgcfgrestore -n vg01 -l
vgcfgrestore -- ERROR: different structure size stored in
"/etc/lvmconf/vg01.conf" than expected in file vg_cfgrestore.c [line
137]
vgcfgrestore -- ERROR "vg_cfgrestore(): read" restoring volume group
"vg01"

Habe trotzdem mal folgendes versucht:
home:# vgcfgrestore -f /etc/lvmconf/vg01.conf.1.old -n vg01 /dev/sdb1
vgcfgrestore -- ERROR: different structure size stored in
"/etc/lvmconf/vg01.conf.1.old" than expected in file vg_cfgrestore.c
[line 137]
vgcfgrestore -- ERROR "vg_cfgrestore(): read" restoring volume group
"vg01"

Wie kann ich das Problem beheben, _ohne_ meine Daten zu verlieren?
Bei dem vgcfgrestore muß ich am Ende einen "PhysicalVolumePath"
definieren (habe mal /dev/sdb angegeben). Warum das? Und welchen soll
ich wählen? In besagter vg sind 4 HD´s zusammengefaßt.

Weiß jemand weiter?
Danke.
Gruß
Uli

P.S.: 
home:# cat /proc/lvm/global 
LVM driver version 0.9.1_beta6 (12/03/2001)

Total:  0 VGs  0 PVs  0 LVs (0 LVs open)
Global: 146 bytes malloced   IOP version: 10   1:18:05 active

-- 
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5

--
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Subject
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
-----------------------------------------------------------

875 eingetragene Mitglieder in dieser Liste.


Reply to: