Antwort: RE: [suse-autoinstall] Antwort: Re: [suse-autoinstall] Autoyast a nd LVM
Not really, because lvm stores it data in the vgda which is located on the pvs not in the mbr. To delete these you have to execute dd if=/dev/zero of=/dev/hd*, but this could take a long time depending on space of the harddisk. Mit freundlichen Grüßen Tobias Mucke -------------------------------------------------------------------------------------------------- MAN Nutzfahrzeuge AG Informationssysteme Organisation (I) Dachauer Straße 667 D-80995 München Tel.: +49 (0) 89 1580 5269 Mail-Adresse: Tobias_Mucke@mn.man.de Internet-Adresse: http://www.man-trucks.com -------------------------------------------------------------------------------------------------- Voss Stefan <stefan.voss@itel An: "'suse-autoinstall@suse.com '" <suse-autoinstall@suse.com> lium.com> Kopie: Thema: RE: [suse-autoinstall] Antwort: Re: [suse-autoinstall] Autoyast a nd LVM 12.06.2003 15:06 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 -- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com This message and any attachments are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person.
participants (1)
-
Tobias_Mucke@mn.man.de