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

Re: LVM2 - vgextend - Physical volume /dev/hda7 is of different format type (lvm2)



On 08.01.07 06:56:03, Matthias Meyer wrote:
> Habe vor einiger Zeit, wohl noch mit LVM1, eine VG aus 4 Partitionen
> angelegt:
> FileServer:~# pvscan
>   PV /dev/hdc1   VG LVM   lvm1 [92,75 GB / 0    free]
>   PV /dev/hdc2   VG LVM   lvm1 [92,75 GB / 0    free]
>   PV /dev/hdc3   VG LVM   lvm1 [46,25 GB / 0    free]
>   PV /dev/hdd1   VG LVM   lvm1 [186,00 GB / 0    free]
>   Total: 4 [417,75 GB] / in use: 4 [417,75 GB] / in no VG: 0 [0   ]

Ja ganz sicher sind diese als LVM1 angelegt worden.

> FileServer:~# vgextend LVM /dev/hda7
>   Physical volume /dev/hda7 is of different format type (lvm2)
>   Unable to add physical volume '/dev/hda7' to volume group 'LVM'.
> 
> Ich vermute meine vg ist vom Typ lvm1 und die neue pv vom Typ lvm2. Sind die
> nicht kompatibel?

Nein sind sie nicht.

> Kann ich die vg in eine lvm2 wandeln (ohne datenverlust?)?

Bin ich nicht sicher, das sagen dir die manpages zu den vg* tools oder
pv* tools genau. Was ich sicher weiss ist das du beim Anlegen eines PV
den Metadatentype (also lvm1 oder 2) angeben kannst, also notfalls
einfach die neue PV auch als lvm1 anlegen.

Andreas

-- 
Time to be aggressive.  Go after a tattooed Virgo.



Reply to: