Mailinglist Archive: opensuse-de (4664 mails)
| < Previous | Next > |
Re: LVM ? Logical Volume ist weg ?! Hillffee.
- From: Michael Schule <jmmailing@xxxxxxxxxx>
- Date: Tue, 24 Feb 2004 18:34:06 +0100
- Message-id: <200402241834.06830.jmmailing@xxxxxxxxxx>
Hi nochmal
> Du hast die volume-group "system" mit den darin enthaltenen logical
> volumes unter SuSE 8.2 auf Rechner "A" angelegt und das physical
> volumes ist auf einer 120GB-Platte auf der ersten Partition.
> Dann hast du diese 120GB-Platte als /dev/hdf in einen anderen Rechner
> "B",mit SuSE 9.0 drauf, eingebaut.
> Der Rechner B hatte vorher bereits eine volume-group names "system", die
> aus einem physical volume besteht, das sich auf /dev/hde3 befindet.
> Dadurch hast du nun einen Rechner B, der SuSE 9.0 bootet, die eine
> volume group -mit einem physical volume auf /dev/hde- erkennt und eine
> gleichnamige volume group -mit einem physical volume auf /dev/hdf1-
> nicht.
das ist vollkommen korrekt !
Wie gesagt anschließend hab ich dann die Platte /hdf1 einzeln mit Knoppix
gebootet , das lvm modul gestartet und pvscan durchgeführt
Und wie auch beim ersten durchgang schreibt der mir soetwas.
pvscan -- ACTIVE PV "/dev/hde3" of VG "system" [106.70 GB / 55.70 GB free]
pvscan -- inactive PV "/dev/hdf1" is in no VG [115.03 GB]
> Nun zum eigentlichen Problem:
> vgscan untersucht nun die eingebauten Platten darauf ob irgendwo
> volume-groups zu finden sind.
> Ich vermute vgscan ist nicht in der Lage bei einer vorhandenen volume
> group namens "system" eine weiter volume group mit dem selben Namen
> korrekt zu erkennen (in /etc/lvmtab und /etc/lvmtab.d/...)
> einzutragen).
hier ist noch mal vgscan und pvscan mit beiden eigebauten Platten
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- walking through all physical volumes found
pvscan -- ACTIVE PV "/dev/hde3" of VG "system" [106.70 GB / 55.70 GB free]
pvscan -- inactive PV "/dev/hdf1" is in no VG [115.03 GB]
pvscan -- total: 2 [221.73 GB] / in use: 1 [106.70 GB] / in no VG: 1 [115.03
GB]
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 -- scanning for all active volume group(s) first
vgscan -- found active volume group "system"
vgscan -- reading data of volume group "system" from physical volume(s)
vgscan -- inserting "system" into lvmtab
vgscan -- backing up volume group "system"
vgscan -- checking volume group name "system"
vgscan -- checking volume group consistency of "system"
vgscan -- checking existence of "/etc/lvmtab.d"
vgscan -- storing volume group data of "system" in "/etc/lvmtab.d/system.tmp"
vgscan -- storing physical volume data of "system" in "/etc/lvmtab.d/
system.tmp"
vgscan -- storing logical volume data of volume group "system" in "/etc/
lvmtab.d/system.tmp"
vgscan -- renaming "/etc/lvmtab.d/system.tmp" to "/etc/lvmtab.d/system"
vgscan -- removing special files and directory for volume group "system"
vgscan -- creating directory and group character special file for "system"
vgscan -- creating block device special files for system
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
group
Was ist das eigentlich für ein Warning hier am Ende ?
Gruss michael
--
linux rules
-------------------------------------------------------
--
linux rules
| < Previous | Next > |