Antwort: Re: [suse-autoinstall] Autoyast and LVM
Hi, we have the same problem here with SLES8. Our Workaround is to have an additional autoyast-config without LVM, so we wipe out any lvm information on the disks, before we install the server. Of course it would be nicer, if this bug would be solved ;-) Kind regards Andreas Rother UNIX-Systemadministration -- Andreas Rother - E-Plus Mobilfunk GmbH & Co. KG Division Operations - System & Application Management - Systems Operation & Services - Open Systems Phone : unbekannt / Fax : unbekannt / Mobile : unbekannt Anas Nashif <nashif@suse.de> 06.06.2003 18:35 An: Tobias_Mucke@mn.man.de Kopie: suse-autoinstall@suse.com Thema: Re: [suse-autoinstall] Autoyast and LVM Hi, What release are using? 8.1? SLES? 8.2? Anas Tobias_Mucke@mn.man.de wrote:
Hi everybody,
I'm using Autoyast and LVM together successfully during the first installation. But when I try a second installation on the same node, yast2 says that Volume Groups allready exist and doesn't format the lvols.
Can I force YaST to create pvs ignoring that they are already in a vg?
Thanks for help.
Mit freundlichen Grüßen
Tobias Mucke
-------------------------------------------------------------------------------------------------- -- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
Hi! Maybe this would work: From the documentation (http://www.suse.de/~nashif/autoinstall/8.1/html/c326.html#AEN690): Pre-Install Scripts Executed before YaST2 does any real change of the system (Before partitioning ~~~~~ and package installation) So, make such a script and do a: vgscan vgchange -a y lvremove /dev/myvg/mvlv lv remove /dev/myvg/mylv2 [..] vgchange -a n vgremove myvg If you have different systems with different vg's/lv's, then you could write a script which does these steps automaticly (get the lv/vg from the output from vgscan & lvscan). Best regards Stefan Am Donnerstag, 12. Juni 2003 08:47 schrieb Andreas Rother:
Hi,
we have the same problem here with SLES8. Our Workaround is to have an additional autoyast-config without LVM, so we wipe out any lvm information on the disks, before we install the server.
Of course it would be nicer, if this bug would be solved ;-)
Kind regards Andreas Rother UNIX-Systemadministration
-- __________________________________________ stefan weigel administration global linxs gmbh knowledge interaction romanstrasse 16 80639 munich - germany www.global-linxs.com tel.: +49(0)89. 189 336- 61 fax.: +49(0)89. 189 336- 99 email: sw@global-linxs.com __________________________________________
participants (2)
-
Andreas Rother
-
Stefan Weigel