Re: Boot fails with lvm snapshot

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



Hi,

I check this morning, dm-snapshot.ko was yet included in initrd as show
by lsinitrd.

$ lsinitrd /boot/initramfs-3.10.0-1127.18.2.el7.x86_64.img | grep
dm-snapshot.ko
-rw-r--r--   1 root     root        20372 Jul 26 17:38
usr/lib/modules/3.10.0-1127.18.2.el7.x86_64/kernel/drivers/md/dm-snapshot.ko.xz

I've rebuilt the image this morning (dracut -fv) with the snapshot "on"
and I'll try a reboot next week (I work remotely these next days).

An important thing is that during the kernel update (and initrd build
for the new kernel), the snapshot was also available.

$lvs
  LV       VG      Attr       LSize   Pool Origin   Data%  Meta%  Move
Log Cpy%Sync Convert
  data1lv1 data1vg owi-aos--- 
75,00t                                                     
  snapdata data1vg swi-aos---  <2,93t      data1lv1
1,23                                  
  homevol  osvg    -wi-ao----  
4,88g                                                     
  optvol   osvg    -wi-ao----
<97,66g                                                     
  rootvol  osvg    -wi-ao----
<32,23g                                                     
  swapvol  osvg    -wi-ao----  
7,81g                                                     
  tmpvol   osvg    -wi-ao---- 
<9,77g                                                     
  varvol   osvg    -wi-ao----  <9,77g  

Patrick

Le 19/08/2020 à 18:18, Patrick Bégou a écrit :
> Hi Gordon,
>
> my dracut package is the latest available for Centos7 (this occur just
> after my "yum update" and reboot). It is dracut-033-568.el7.x86_64 in
> CentOS Linux release 7.8.2003 (Core)
> I'm going to rebuild my initrd as suggested with the snapshot setup.
>
> Thanks for the links.
>
> Patrick
>
> Le 19/08/2020 à 17:31, Gordon Messmer a écrit :
>> On 8/19/20 1:02 AM, Patrick Bégou wrote:
>>> However, if this snapshot exists, reboot of the server
>>> freeze at boot time and I must manually remove this snapshot. Why ?
>>
>> It's a bug.  Update dracut.
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1287940
>> https://bugzilla.redhat.com/show_bug.cgi?id=1546577
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS@xxxxxxxxxx
>> https://lists.centos.org/mailman/listinfo/centos
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux