delete lvm groups in kickstart

Pablo Iranzo Gómez Pablo.Iranzo at redhat.com
Wed Jan 16 14:35:09 UTC 2008


	That makes you rely on knowing already existing vg names or autodetect
them using another script ;)
	But definitely  can be interesting to have that command for anaconda :)
	Regards
	Pablo

El mié, 16-01-2008 a las 15:30 +0100, Farkas Levente escribió:
> imho it's still better:
> %pre
> lvm lvremove VolGroup00
> but it'd be a kickstart option...
> 
> Pablo Iranzo Gómez wrote:
> > 	I faced a similar problem, so what I do is to dd hardrive ;)
> > 
> > 	It empties it so I can recreate pv,vg and lv's on it ;)
> > 
> > 	Regards
> > 	Pablo
> > 
> > El mié, 16-01-2008 a las 14:28 +0100, Farkas Levente escribió:
> >> hi,
> >> in kickstart one can use clearpart to remove old partition, but there is
> >> no command to remove old lvm volgroup or logvols. and if there are
> >> volgroup or logvols already on the system where you want to install
> >> through kickstart the install process failed with a python stack trace
> >> since eg. VolGroup00 already exist and can't be created.
> >> currently there is no other way to delete only in %pre scripts but imho
> >> it'd be an essential feature.
> >> yours.
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Kickstart-list mailing list
> >> Kickstart-list at redhat.com
> >> https://www.redhat.com/mailman/listinfo/kickstart-list
> 
> 
-- 

Pablo Iranzo Gómez (Pablo.Iranzo at redhat.com)
RHCE/Global Profesional Services Consultant Spain
Phone: +34 645 01 01 49 (CET/CEST)
GnuPG KeyID: 0xFAD3CF0D

--
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B-82 65 79 41
Directores: Michael Cunningham, Charlie Peters y David Owens
Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, España
Dirección contacto: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, Planta 3ºD, 28016 Madrid, Spain

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje est? firmada	digitalmente
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20080116/ecca1e3f/attachment.sig>


More information about the Kickstart-list mailing list