Re: Reinstall and keep data LV

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

 



On Thu, Aug 19, 2021 at 10:52 PM David Barr <dafydd@xxxxxxxxxx> wrote:
>
> On 8/19/21 12:54, Markus Falb wrote:
> >
> > error: logical volume "root" given in logvol command does not exist
> >
> > What is wrong with my kickstart? What should I change that it works
> > with RHEL 8 too?
> >
> > Best Regards, Markus
>
>
> I'm going to guess that it can't find the previous root LV that you've asked it for with --useexisting.
> Do you have a way to test without that option? Will it build a bare root LV on a new VG?

I tested like you said.

I removed --useexisting from logvol root, but then it complains about
home etc.. So I removed --usexisting and --noformat from all logvol
definitions and it actually began installing, but failed with

error: logical volume "swap" already exists in volume group "rhel_rhellv01"

With --useexisting the LVs are not  found and it does not even begin
the installation.

Without --useexisting it begins installation but can't create the LVs
because they already exist. This does not surprise me. And when I look
on the console the LVs are not activated, but I can do vgchange -ay.
However, the old /boot is destroyed at that point and the old system
won't boot anymore and I have to install/repair again.

I'm not sure how to proceed. Maybe I try Fedora to see if it only
fails with RHEL 8 (as I said it does work with RHEL 7)

Best Regards, Markus

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.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