Hi, if pre scripts are executed even before partinioning maybe one can use dd if=/dev/zero of=/dev/hdx bs=512 count=2 to wipe out any lvm or raid info from the harddisks Regards, Stefan Voss -----Original Message----- From: Stefan Weigel To: Andreas Rother Cc: suse-autoinstall@suse.com Sent: 6/12/2003 1:11 PM Subject: Re: [suse-autoinstall] Antwort: Re: [suse-autoinstall] Autoyast and LVM 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 __________________________________________ -- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com