Am Sonntag, den 27.09.2009, 05:16 +0200 schrieb aurfalien@gmail.com:
Ok, this is what I did in the exact same situation (solution below gotten from the xen list).
I use it religiously.
Lucky I'm on both forums.
First make sure your guest isn't running unless you want to trash its file systems.
losetup -f /var/lib/xen/images/foo.img losetup -a # Make a note of which device corresponds to /var/lib/images/foo.img, # 'll call it /dev/loopN but it's probably /dev/loop0 kpartx -va /dev/loopN
At that point you should be also able to rename the VG using its UID.
Chris
financial.com AG
Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553