Re: delete lvm groups in kickstart

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

 



Gerrard Geldenhuis wrote:
> Hi
> I am assuming you don't want to use 
> clearpart --all?

i use clearpart, BUT only on the system disk, ie:
clearpart --initlabel --all --drives=sda
while there are other data disk in the system and lvm groups are system
wide not disk specific. there are some system where i would like to keep
data on the data disks (those do not cointans volgroups) so i can't
clearpart those disk. but if there is not data on them there may can be
volgroup on them. but if i'd be able to
lvremove VolGroup00
in kickstart then it'd be good for me.

> Regards
> 
>> -----Original Message-----
>> From: kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-
>> bounces@xxxxxxxxxx] On Behalf Of Farkas Levente
>> Sent: 16 January 2008 13:29
>> To: Discussion list about Kickstart
>> Subject: delete lvm groups in kickstart
>>
>> 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