Re: delete lvm groups in kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	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@xxxxxxxxxx
> >> https://www.redhat.com/mailman/listinfo/kickstart-list
> 
> 
-- 

Pablo Iranzo Gómez (Pablo.Iranzo@xxxxxxxxxx)
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

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux