Re: delete lvm groups in kickstart

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

 



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


-- 
  Levente                               "Si vis pacem para bellum!"

_______________________________________________
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