Ok,

I think I have found the problem:

Nov 24 10:44:00 localhost.HPNotebook dracut-initqueue[861]: Scanning
devices dm-0  for LVM logical volumes vgfedora/fedora
Nov 24 10:44:00 localhost.HPNotebook dracut-initqueue[886]: inactive
'/dev/vgfedora/pool00' [929.75 GiB] inherit
Nov 24 10:44:00 localhost.HPNotebook dracut-initqueue[886]: inactive
'/dev/vgfedora/fedora' [700.00 GiB] inherit
Nov 24 10:44:00 localhost.HPNotebook dracut-initqueue[888]: modprobe:
FATAL: Module dm-thin-pool not found in directory
/lib/modules/5.8.18-200.fc32.x86_64
Nov 24 10:44:00 localhost.HPNotebook dracut-initqueue[888]:
/usr/sbin/modprobe failed: 1
Nov 24 10:44:00 localhost.HPNotebook dracut-initqueue[888]: Can't process
LV vgfedora/fedora: thin target support missing from kernel?

But I have no idea how to solve it.

I have marked the logical volumes as active via :

             lvchange -kn vgfedora/pool00
             lvchange -kn vgfedora/fedora

But no change.

How will I add the dm-thin-pool module ?

I cannot even boot.


On Tue, Nov 24, 2020 at 2:33 PM Sreyan Chakravarty <sreya...@gmail.com>
wrote:

> Hi,
>
> I have cloned my original root LVM, and then migrated to the newer thin
> LVMs using partclone.
>
> Both backup and restore went off without causing any problems.
>
> But when I am now trying to boot into my system, it asks for the
> encryption LUKS passphrase but after that I am getting:
>
>               dracut-initqueue[300]: Warning: dracut-initqueue timeout  -
> starting timeout scripts
>
> I have not changed anything. Even my logical volume name is the same as
> before.
>
> These are the backup and restore commands that I have used from the Fedora
> live environment:
>         (Creating the backup)
>          #   partclone.ext4 -c -s /dev/vgfedora/fedora | gzip -c --best >
> /run/media/liveuser/externalhdd/fedora.tar.gz
>          (Restoring the backup)
>         #  gzip -c -d /run/media/externalhdd/fedora.tar.gz |
> partclone.ext4 -r -o /dev/vgfedora/fedora
>
> These commands were run as root from Fedora live environment and prior to
> taking my backup I had set my logical volume to read-only via:
>
>                #  lvchange -pr vgfedora/fedora
>
> This is my current volume group and logical volumes:
>
> #  lvs
>
>  LV     VG       Attr       LSize   Pool   Origin Data%  Meta%  Move Log
> Cpy%Sync Convert
>   fedora vgfedora Vwi-a-tz-- 700.00g pool00        16.61
>
>   pool00 vgfedora twi-aotz-- 929.75g               12.50  16.61
>
>
> #  vgs
>
>   VG       #PV #LV #SN Attr   VSize   VFree
>   vgfedora   1   2   0 wz--n- 929.99g 8.00m
>
>
> This is my /etc/fstab:
>
> /dev/mapper/vgfedora-fedora /                       ext4
>  defaults,x-systemd.device-timeout=0 1 1
> UUID=4d112d8e-080d-44f2-8962-9c13f20a7885 /boot                   ext4
>  defaults        1 2
> UUID=041A-E511          /boot/efi               vfat
>  defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2
> /fedora.swap none swap defaults 0 2
>
> I have not changed the /etc/fstab after the migration since nothing has
> changed.
> /dev/mapper/vgfedora-fedora still exists. The only difference is that it
> is a thin LVM volume.
>
> This is my GRUB_CMDLINE:
>
> GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-2ec7f1ae-6f9b-4896-a7b2-be7809e9d2f4
> rd.lvm.lv=vgfedora/fedora
> resume=/dev/disk/by-uuid/03aef3ba-dca1-4cba-a3f5-36c5c0fe948e
> resume_offset=1449984"
>
> The UUID of the LUKS encryption is still the same, as I can confirm from
> here :
>
>                  #  ll /dev/disk/by-uuid/
>                  #  lrwxrwxrwx. 1 root root 10 Nov 24 03:38
> 2ec7f1ae-6f9b-4896-a7b2-be7809e9d2f4 -> ../../sda3
>
> I don't know what else I have to change, or what is going wrong. Grub is
> asking for the password for LUKS and is setting up the encrypted partition,
> but after that nothing happens.
>
> I guess it is not able to load the root logical volume.
>
> Do I have to re-generate my initramfs ? I didn't think that would be
> necessary since the LVM thin tools were already installed.
>
> Please let me know if any other info is required from my side.
>
> Need some help as I am unable to use my laptop.
> --
> Regards,
> Sreyan Chakravarty
>


-- 
Regards,
Sreyan Chakravarty
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to